mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-20 04:24:17 +02:00
Generates Python scripts from MCP server tools for progressive discovery by agents. Usage: # No auth fastmcp generate https://api.example.com/mcp # OAuth fastmcp generate https://api.example.com/mcp --auth oauth # Environment variable fastmcp generate https://api.example.com/mcp --auth '$MY_TOKEN' # Embedded token fastmcp generate https://api.example.com/mcp --auth "sk-token-123" Each tool becomes a standalone script with inline dependencies (PEP 723). Server instructions are included in AGENTS.md when provided. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_cli.py | ||
| test_config.py | ||
| test_cursor.py | ||
| test_generate.py | ||
| test_install.py | ||
| test_mcp_server_config_integration.py | ||
| test_mcp_server_config_schema.py | ||
| test_project_prepare.py | ||
| test_run.py | ||
| test_run_config.py | ||
| test_server_args.py | ||
| test_shared.py | ||
| test_with_argv.py | ||