Home/LLM Frameworks/fastapi_mcp
fastapi_mcp logo

fastapi_mcp

tadata-org/fastapi_mcp

Expose FastAPI endpoints as MCP tools with authentication

GraphCanon updated today · GitHub synced today

12k stars964 forksLast push 9mo Python MIT

Decision brief

fastapi_mcp enables FastAPI applications to integrate with MCP and includes authentication support.

Good fit when

  • When you need to expose FastAPI application endpoints following the Model Context Protocol (MCP) guidelines.
  • If your project requires FastAPI integrated with MCP for easier model context handling, especially with authentication needs.

Avoid when

  • If your project strictly uses non-Python languages or frameworks that are not compatible with FastAPI and do not require integration with the Model Context Protocol (MCP).
  • When you seek broader support outside MCP protocol, as this tool confines its utility specifically to applications needing MCP compatibility.

Observed Jul 16, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Slowing (274d since push)
As of today
Provenance
Not a fork · Organization account
As of today
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install fastapi_mcp
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

This repository allows users to expose their FastAPI application's endpoints following the Model Context Protocol (MCP) guidelines and includes features for authentication.

Capability facts

Languages
python

Source: github.language+pyproject.toml · Aug 26, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Aug 26, 2026)

We recommend using [uv](https://docs.astral.sh/uv/), a fast Python package installer:
Source link

Tags

README

Installation

We recommend using uv, a fast Python package installer:

uv add fastapi-mcp

Alternatively, you can install with pip:

pip install fastapi-mcp

Requirements

  • Python 3.10+ (Recommended 3.12)
  • uv

License

MIT License. Copyright (c) 2025 Tadata Inc.

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.