mcp-demo
A small demonstration project that uses the mcp-server library.
Overview
The mcp-demo is a small demonstration project that showcases the functionalities of the mcp-server library.
To use mcp-demo, clone the repository from GitHub and follow the instructions in the README file to set up the mcp-server library.
- Demonstrates the capabilities of the mcp-server library. - Provides example configurations and usage scenarios. - Easy to set up and run for testing purposes.
- Learning how to implement the mcp-server library in your own projects.
- Testing the features of the mcp-server in a controlled environment.
- Providing a reference implementation for developers.
Add to your AI client
Use these steps to connect mcp-demo in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-demo-mcpstudio": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-demo-mcpstudio"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-demo-mcpstudio": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-demo-mcpstudio"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-demo-mcpstudio": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-demo-mcpstudio"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-demo-mcpstudio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-demo-mcpstudio"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-demo-mcpstudio": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-demo-mcpstudio"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-demo-mcpstudio": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-demo-mcpstudio"
]
}
}
}FAQ
What is the purpose of mcp-demo?
The purpose of mcp-demo is to provide a simple example of how to use the mcp-server library effectively.
Is mcp-demo free to use?
Yes! mcp-demo is open-source and free to use under the MIT license.
Where can I find the documentation for mcp-server?
Documentation for mcp-server can be found in the repository linked in the README file.