
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A simple Python Model Context Protocol server example that implements basic MCP tools.
MCP Demo Server is cataloged as an MCP server attributed to kennykang7012. A simple Python Model Context Protocol server example that implements basic MCP tools. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP Demo Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It provides two tools: add for summing two integers and say_hello for generating a personalized greeting.
README.md · 1a1525baa410 · 采集于 2026-11-13 11:04:47 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
這是一個簡單的 Model Context Protocol (MCP) 伺服器示例專案。此專案展示了如何使用 Python 建立基本的 MCP 工具。
本專案實現了兩個簡單的 MCP 工具:
add: 一個簡單的加法函數,接受兩個整數並返回其總和say_hello: 一個問候函數,接受名字參數並返回問候語git clone [repository-url]
cd mcp-demo
python -m venv .venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate
pip install mcp[cli]
要啟動 MCP 伺服器,請執行:
uv run --with mcp[cli] mcp run server.py
mcp-demo/
├── server.py # MCP 伺服器主程式
├── .gitignore # Git 忽略檔案
└── README.md # 本文件
伺服器實現了兩個基本工具:
add(a: int, b: int) -> int
say_hello(name: str) -> str
專案包含 VS Code 配置文件 (.vscode/mcp.json),可直接在 VS Code 中執行和測試 MCP 伺服器
在開發模式下測試 MCP 伺服器:
mcp dev server.py
這個命令會:
要在 GitHub Copilot 中使用此 MCP 伺服器,請在 VS Code 中設定以下步驟:
在專案根目錄建立 .vscode 資料夾(如果還沒有的話)
在 .vscode 資料夾中建立 mcp.json 檔案,內容如下:
{
"servers": {
"Demo": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"${workspaceFolder}/server.py"
]
}
}
}
注意:
uv 套件管理工具${workspaceFolder} 會自動被替換為您的專案根目錄路徑MIT License
MCP-Demo-Server 已由以下機構索引和認證 MCP 評論。
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP Demo Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-demo-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.