Skip to content

Contributing FastMCP Toolset #2406

@strawgate

Description

@strawgate

Description

Right now Pydantic AI is implementing its own MCP client which means we're on the hook for #1844, etc.

I am working on implementing a FastMCP Toolset which uses the MCP Proxy support in FastMCP for mounting MCP Servers and making their tools available / callable. This means that as capabilities become available in FastMCP (Middleware, OAuth, OpenAPI, Tool Transformation) they are usable in Pydantic AI for "free".

FastMCP supports building an MCP Config using type-safe models as well as taking the standard "mcp.json" format that is common among IDEs and other frameworks.

I'll make a draft PR for this at some point as I'm building this anyway but would love to contribute it

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions