dani-mcp-sse-server

dani-mcp-sse-server

3.3

FastAPI-MCP is a tool for automatically exposing FastAPI endpoints as MCP (Model Context Protocol) tools without configuration.

The dani-mcp-sse MCP server is designed to facilitate the use of FastAPI as a Model Context Protocol (MCP) server. It provides a streamlined approach to expose FastAPI endpoints as MCP tools, eliminating the need for complex configurations. The server setup is straightforward, requiring the installation of the fastapi-mcp package and the mcp-proxy tool. The project structure is simple, with a main server script that can be executed using uvicorn. This setup allows for easy integration and testing of FastAPI endpoints in an MCP environment. The server is configured to run with a specific command in the pyproject.toml file, and it can be started using a simple command line instruction. The use of mcp-proxy ensures that the FastAPI server can communicate effectively with MCP clients, making it a versatile solution for developers looking to leverage FastAPI in MCP contexts.

Features

  • Automatic exposure of FastAPI endpoints as MCP tools
  • No configuration required for setup
  • Simple project structure for easy integration
  • Support for mcp-proxy to facilitate client-server communication
  • Script-based server execution using uvicorn

Usage with Different Platforms

FastAPI MCP Server

bash
uv run dani-mcp-sse-server