MCP.so
ログイン

Python Demo MCP Server

@Johnnybar

Python Demo MCP Server について

概要はまだありません

基本情報

カテゴリ

その他

ランタイム

python

トランスポート

stdio

公開者

Johnnybar

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "dogs-mcp-server": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Python Demo MCP Server?

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.

How to use Python Demo MCP Server?

Set up a Python environment, install dependencies with uv pip install -r requirements.txt, then run python server.py (defaults to http://localhost:8080). For production on Sevalla, use a Dockerfile‑based build. To use in Cursor, add the server’s SSE URL to your mcp.json file.

Key features of Python Demo MCP Server

  • Implements MCP with Server-Sent Events (SSE)
  • Streaming content production and management
  • Runs locally via python server.py
  • Docker‑based deployment for Sevalla
  • Cursor integration via SSE URL

Use cases of Python Demo MCP Server

  • Learning how to build an MCP server with SSE
  • Prototyping streaming content applications
  • Demonstrating MCP integration in Cursor
  • Testing MCP features in a development environment

FAQ from Python Demo MCP Server

What is the default port the server runs on?

It starts on http://localhost:8080 by default.

How do I install dependencies?

Run uv pip install -r requirements.txt after creating a Python virtual environment.

How do I deploy it to production?

For Sevalla, select a Dockerfile‑based build environment.

How do I connect this server to Cursor?

Paste the following into your mcp.json file (replace the domain):
"demo-mcp": { "url": "https://<your-mcp-server-domain>/sse" }

What transport does the server use?

It uses Server-Sent Events (SSE) as the transport protocol.

コメント

「その他」の他のコンテンツ