FastAPI-MCP

v1.0.0APIsstable

Exposes FastAPI endpoints as Model Context Protocol (MCP) tools while preserving existing authentication, schemas, and documentation. It enables seamless integration of FastAPI services into MCP ecosystems using a native ASGI transport layer.

aiauthenticationauthorizationclaudecursor
Share:
11,873
Stars
0
Downloads
0
Weekly
0/5

What is FastAPI-MCP?

FastAPI-MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to exposes fastapi endpoints as model context protocol (mcp) tools while preserving existing authentication, schemas, and documentation. it enables seamless integration of fastapi services into mcp ecosy...

Exposes FastAPI endpoints as Model Context Protocol (MCP) tools while preserving existing authentication, schemas, and documentation. It enables seamless integration of FastAPI services into MCP ecosystems using a native ASGI transport layer.

This server falls under the APIs, AI/ML and Security categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Exposes FastAPI endpoints as Model Context Protocol (MCP) to

Use Cases

Exposes FastAPI endpoints as Model Context Protocol (MCP) tools while preserving
tadata-org

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx fastapi-mcp

Examples

No examples available for this server.

Configuration

Configuration Details

Config File

claude_desktop_config.json

Web UI

Not available

Security

Authentication

RequiredNo

Features

Data Encryption
Audit Logging
RBAC Support

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

Frequently Asked Questions about FastAPI-MCP

What is FastAPI-MCP?

FastAPI-MCP is a Model Context Protocol (MCP) server that exposes fastapi endpoints as model context protocol (mcp) tools while preserving existing authentication, schemas, and documentation. it enables seamless integration of fastapi services into mcp ecosystems using a native asgi transport layer. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install FastAPI-MCP?

Follow the installation instructions on the FastAPI-MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with FastAPI-MCP?

FastAPI-MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is FastAPI-MCP free to use?

Yes, FastAPI-MCP is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More APIs MCP Servers

Explore all apis servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "fastapi-mcp": { "command": "npx", "args": ["-y", "fastapi-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use FastAPI-MCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides