- Home
- MCP servers
- Starlette MCP SSE
Starlette MCP SSE
- python
8
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.
You set up a Starlette-based server that integrates the Model Context Protocol (MCP) using Server-Sent Events (SSE). This lets you expose dynamic data and tool-enabled functions to clients in real time, while keeping web routes and MCP endpoints neatly separated within a single application.
How to use
Run the Starlette application with MCP SSE enabled to expose an SSE endpoint and a messaging path for MCP interactions. You can query the MCP-enabled server from an MCP client or the MCP Inspector to list available tools and execute them, receiving real-time responses via SSE.
How to install
Prerequisites you need before installing: Python and a JavaScript runtime if you plan to use tooling that relies on them. You will install dependencies, then start the integrated server that provides both standard web endpoints and MCP SSE functionality.
Additional sections
Configuration and startup details are embedded in the following steps. You will access a standard web interface at the base URL while MCP features are available at dedicated endpoints. The SSE endpoint is the primary MCP transport, and you can post messages to the /messages/ path to interact with MCP-capable tools.
Available tools
get_alerts
Fetch weather alerts from the MCP-enabled tool set.
get_forcast
Retrieve weather forecast information from the MCP-enabled tool set.