FastAPI-MCPServer

tadata-org
GitHub
API IntegrationFastAPIMCP

Loading subscription status...

💡 Description

A zero-configuration tool that automatically converts FastAPI endpoints into Model Context Protocol (MCP) tools, enabling AI systems to interact with your API through natural language.

📝 JSON Entries

{
  "mcpServers": [
    {
      "FastAPI-MCP": {
        "env": {},
        "args": [],
        "command": "mcp.mount"
      }
    }
  ]
}

🛠️ Tools

uvpip

Features

  • Built-in authentication using existing FastAPI dependencies
  • Native FastAPI - not just an OpenAPI -> MCP converter
  • Zero/minimal configuration - just specify the FastAPI app
  • Preserves schema of request and response models
  • Keeps documentation of all endpoints as in Swagger
  • Flexible deployment - mount MCP server in the same app or deploy separately
  • Uses FastAPI's ASGI interface for efficient communication