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
- 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
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.
Metadata
Release files for iflow-mcp_sevalla-templates-python-demo-mcp-server 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0.tar.gz | 4.1 kB | Without provenance | Details for iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0-py3-none-any.whl |
Total release size: 12.6 kB
Release files / iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0.tar.gz
| Download URL | iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c261d7de29855379d88c089f9ac66d4e0c03ceeda76c68e9a61c3b7b8f979aa5
|
|
BLAKE2b-256 checksum How to use checksums |
67994d6f400b20360e999dc18f618325d93474239a7ee33e854a914798d4bf56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0-py3-none-any.whl
| Download URL | iflow_mcp_sevalla_templates_python_demo_mcp_server-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5217d7ad182e19ed23f50a09873a281c0c1c30c4900124dd49264f36f7efef38
|
|
BLAKE2b-256 checksum How to use checksums |
41acaf148b580cd901b0d412ddfc1943006463e41653c1517230dbc08a16600f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for iflow-mcp_sevalla-templates-python-demo-mcp-server 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.