FastAPI-MCP

Expose FastAPI endpoints as MCP tools with built-in authentication

A library that automatically exposes FastAPI application endpoints as Model Context Protocol (MCP) tools. Leverages existing FastAPI authentication with minimal configuration while preserving OpenAPI schemas and descriptions for use with Claude, ChatGPT, and Cursor.

Author: tadata-org

Stars: 11,792

GitHub

Install: pip install fastapi-mcp

Key Features

Use Cases