Skip to main content

A demonstration MCP server implementing Server-Sent Events (SSE)

Project description

Python Demo MCP Server

Introduction

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.

Getting Started

  1. Set up your Python environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install the required packages
uv pip install -r requirements.txt

Run the server

Development Environment

python server.py

The server will start on http://localhost:8080 by default.

Production Environment

For deployment on Sevalla, make sure to select Dockerfile based build environment!

Usage in Cursor

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c261d7de29855379d88c089f9ac66d4e0c03ceeda76c68e9a61c3b7b8f979aa5
MD5 095a2a4f0ad8ac69b0f5a35d684c9dbf
BLAKE2b-256 67994d6f400b20360e999dc18f618325d93474239a7ee33e854a914798d4bf56

See more details on using hashes here.

File details

Details for the file iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5217d7ad182e19ed23f50a09873a281c0c1c30c4900124dd49264f36f7efef38
MD5 b4af4419f409babef0dc2e0268af355f
BLAKE2b-256 41acaf148b580cd901b0d412ddfc1943006463e41653c1517230dbc08a16600f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page