This is a demonstration server implementing the Model Context Protocol (MCP) with Server-Sent Events (SSE). It provides a practical example of how to build a server that can handle streaming content production and management.
- Set up your Python environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install the required packages
uv pip install -r requirements.txt
python server.py
The server will start on
For deployment on Sevalla, make sure to select Dockerfile based build environment!
To use this server in Cursor, paste the following in your mcp.json
file:
"demo-mcp": {
"url": "https://<your-mcp-server-domain>/sse"
}
Make sure to replace <your-mcp-server-domain>
with the actual domain of your server.