Demo MCP server
Overview
Demo MCP Server is a demonstration of a Minecraft server that utilizes the MCPHost to manage connections and data retrieval from a database.
To use the Demo MCP Server, you need to build the Docker image and run the server with the MCPHost installed. You can start the server by exporting your API key and running the mcphost command with the appropriate configuration file.
- Easy setup with Docker - Integration with MCPHost for managing Minecraft connections - Ability to retrieve data from a database
- Hosting a Minecraft server for multiplayer gaming.
- Managing player connections and data efficiently.
- Demonstrating server capabilities for development purposes.
Add to your AI client
Use these steps to connect Demo MCP server 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": {
"demo-mcp-server-with-go-up1": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-demo-mcp-server-with-go-up1"
]
}
}
}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": {
"demo-mcp-server-with-go-up1": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-demo-mcp-server-with-go-up1"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"demo-mcp-server-with-go-up1": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-demo-mcp-server-with-go-up1"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"demo-mcp-server-with-go-up1": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-demo-mcp-server-with-go-up1"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"demo-mcp-server-with-go-up1": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-demo-mcp-server-with-go-up1"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"demo-mcp-server-with-go-up1": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-demo-mcp-server-with-go-up1"
]
}
}
}FAQ
What is MCPHost?
MCPHost is a tool that helps manage Minecraft server connections and data retrieval.
Do I need to install anything to run the server?
Yes, you need to install the MCPHost and have Docker installed to build the image.
Can I use my own API key?
Yes, you can use your own API key for the LLM provider.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1283,"uuid":"caed54f6-78e0-428e-8fc7-c202f9f2ec88","name":"demo-mcp-server-with-go","title":"Demo MCP server","description":null,"avatar_url":"https://avatars.githubusercontent.com/u/25113?v=4","created_at":"2025-02-20T14:29:41.097Z","updated_at":"2025-02-23T07:21:17.715Z","status":"created","author_name":"up1","author_avatar_url":"https://avatars.githubusercontent.com/u/25113?v=4","tags":"demo,mcp,server,go","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/up1/demo-mcp-server-with-go","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]