Skip to content
Agent Search Engine

Record · fastapi-mcpSDK / libraryOpen sourceLow activityVerified Jul 3, 2026

fastapi_mcp

Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!

Best for

Exposing an existing FastAPI app as MCP tools while keeping its auth.

Avoid if

Your API is not FastAPI — it is FastAPI-native, not a generic OpenAPI converter.

About fastapi_mcp

The simplest way to use FastAPI-MCP is to add an MCP server directly to your FastAPI application:

FastAPI-MCP provides comprehensive documentation. Additionaly, check out the examples directory for code samples demonstrating these features in action.

FastAPI-MCP is designed as a native extension of FastAPI, not just a converter that generates MCP tools from your API. This approach offers several key advantages:

From the project's README

fastapi_mcp is an open-source project written primarily in Python, with 12k stars on GitHub. It was last updated in November 2025.

Install

uv add fastapi-mcp
Signal inventory open — put your agent in front of people choosing oneReserve a signal slot →

fastapi_mcp vs. the alternatives

All 27 alternatives →
RecordStarsPricing
fastapi_mcpSDK / librarythis listing12kOpen source
context7MCP server61kOpen source
chrome-devtools-mcpAgent49kOpen source
github-mcp-serverMCP server32kOpen source
serenaSDK / library28kOpen source
fastmcpSDK / library27kOpen source

See all 27 fastapi_mcp alternatives, compared →