FastAPI MCP SSE Server

A working example to create a FastAPI server with SSE-based MCP support
  • python

52

GitHub Stars

python

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs

You can use this MCP server to access weather data and actions in real time through Server-Sent Events, while also interacting with standard web endpoints. It combines a FastAPI web application with MCP integration, so you can stream updates and invoke tools like weather-related functions from an MCP client.

How to use

Connect an MCP client to the SSE endpoint to stream real-time events and post messages to the server. Use the standard web endpoints for human-facing pages and status checks, and use the MCP-enabled routes to discover tools and run actions.

Available tools

get_alerts

Fetch weather alerts from the MCP-enabled weather service, returning current alerts for configured regions.

get_forcast

Fetch weather forecast data from the MCP-enabled weather service for a specified location and time horizon.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational