fastmcp/tests
jake@prefect.io fb28f9cda9 Add fastmcp generate command for creating standalone tool scripts
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>
2025-11-05 17:33:39 -05:00
..
cli Add fastmcp generate command for creating standalone tool scripts 2025-11-05 17:33:39 -05:00
client Allow OAuth instance to use the same httpx factory as the Transport (#2324) 2025-11-04 12:14:28 -05:00
contrib feat: Add title, annotations and meta to mixin decorators 2025-10-10 14:23:02 +05:30
deprecated feat: introduce fastmcp.json configuration system (#1517) 2025-08-19 16:06:04 -04:00
experimental Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00
integration_tests Derive jwt_signing_key from Client Secret, default to Encrypted Disk Store (#2223) 2025-10-24 19:08:58 -04:00
prompts Enable more type checking rules (#1775) 2025-09-07 11:11:44 -04:00
resources Fix query-only resource templates not matching URIs without query strings (#2323) 2025-11-01 11:27:37 -04:00
server Fix OAuth metadata endpoint URLs when base_url differs from issuer_url (#2353) 2025-11-04 10:38:41 -05:00
tools Add meta support to ToolResult (#2283) 2025-11-02 16:46:52 -05:00
utilities Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00
__init__.py Update type handling for resources 2024-11-29 19:42:46 -05:00
conftest.py Fix Windows test timeouts from SQLite locking (#2368) 2025-11-04 10:58:49 -05:00
test_examples.py Cleanup content conversion 2025-09-06 17:32:33 -05:00
test_mcp_config.py Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00