MCP Demo Server
@KennyKang7012
About MCP Demo Server
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"MCP-Demo-Server": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
Frequently asked questions
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.
Basic information
More Other MCP servers
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Comments