What is the purpose of this server?
It provides a reference implementation for combining FastAPI web routing with MCP’s SSE transport, allowing developers to create FastAPI apps that expose both regular web endpoints and MCP tool capabilities.
@panz2018
Basic information
A working example to create a FastAPI server with SSE-based MCP support
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"fastapi-mcp-sse": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/panz2018/fastapi_mcp_sse.git",
"start"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
FastAPI MCP SSE is a Server-Sent Events (SSE) implementation built on the FastAPI framework that integrates the Model Context Protocol (MCP). It demonstrates how to embed MCP SSE endpoints (/sse and /messages/) into a full-featured FastAPI web application while keeping standard web routes like /, /about, and /status separate. This project is designed for developers who want to add MCP capabilities – allowing AI models to access external tools and data – into their FastAPI applications.
You can run the server directly without cloning the repository using uvx --from git+https://github.com/panz2018/fastapi_mcp_sse.git start. For full installation, create a virtual environment with uv venv, activate it, install dependencies with uv pip install -r pyproject.toml, then start the server via python src/server.py or uv run start. The server runs on http://localhost:8000 and provides MCP SSE endpoints at /sse and /messages/ alongside standard web routes. Debugging is done using the MCP Inspector with the command mcp dev ./src/weather.py.
It provides a reference implementation for combining FastAPI web routing with MCP’s SSE transport, allowing developers to create FastAPI apps that expose both regular web endpoints and MCP tool capabilities.
Install the UV Package Manager (a Python package installer in Rust). Python and the dependencies listed in `pyproject.toml` are also required.
Use the MCP Inspector: run `mcp dev ./src/weather.py`, open the inspector at `http://localhost:5173`, set the Transport Type to `SSE` and URL to `http://localhost:8000/sse`, then connect to list and run tools like `get_alerts` or `get_forcast`.

Routebase keeps your API's design, docs, contract tests, mocks and monitoring in one living OpenAPI spec so they can't drift apart. Agents work on that same source of truth, under your team's permissions.
Gives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control. Part of LocalCan, the ngrok alternative for Mac, Windows and Linux. Free plan.

Know when your AI agents, cron jobs and CI pipelines fail, stall or go quiet. Your agent sets up monitors from a plain description, tells you what is broken and why, reads run history and traces, and writes notes on inci

Official Porkbun MCP server, maintained by Porkbun. Check domain availability and pricing, register, renew and transfer domains, and manage DNS records, nameservers, URL forwarding, glue records, DNSSEC and domain contac
Set up and manage the Eddyter AI rich text editor by talking to your AI agent — for Claude, Cursor, Codex and other MCP tools. A Model Context Protocol server that lets AI tools add Eddyter to a React, Next.js, Vite or R
Comments