
sevalla-templates/python-demo-mcp-server
Deployment & DevOps이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
This is a demonstration server implementing the Model Context Protocol (MCP) with Server-Sent Events (SSE).
개요
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. The server will start on http://localhost:8080 by default. 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: Make sure to replace with the actual domain of your server.
README
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:///sse"
}
Make sure to replace `` with the actual domain of your server.
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →