MCP Demo Server
@KennyKang7012
关于 MCP Demo Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"MCP-Demo-Server": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Demo Server?
MCP Demo Server is a simple Python example project that demonstrates how to build basic Model Context Protocol (MCP) tools. It provides two tools: add for adding two integers and say_hello for generating a personalized greeting.
How to use MCP Demo Server?
Clone the repository, create a virtual environment, install the mcp[cli] package, then run uv run --with mcp[cli] mcp run server.py to start the server. You can also test it in development mode with mcp dev server.py. For GitHub Copilot integration, configure a .vscode/mcp.json file with the uv command.
Key features of MCP Demo Server
- Implements a simple addition tool (
add) - Implements a greeting tool (
say_hello) - Written in Python using the MCP library
- Ready-to-use with VS Code and GitHub Copilot
Use cases of MCP Demo Server
- Learning how to build MCP tools in Python
- Testing MCP server integration with VS Code or GitHub Copilot
- Extending the demo with additional custom tools
FAQ from MCP Demo Server
What Python version does MCP Demo Server require?
Python 3.x is required.
What dependencies does MCP Demo Server need?
It requires the mcp[cli] package and the uv package manager.
How do I start the server?
Run uv run --with mcp[cli] mcp run server.py from the project directory.
Can I test the server in development mode?
Yes, run mcp dev server.py to enable automatic reloading and detailed debugging.
How do I configure MCP Demo Server for GitHub Copilot?
Create a .vscode/mcp.json file in the project root with the uv command and mcp run server.py as shown in the README.
其他 分类下的更多 MCP 服务器
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
ghidraMCP
LaurieWiredMCP Server for Ghidra
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
评论