
示例MCP-Server
人类MCP服务器的示例代码。
1
Github Watches
0
Github Forks
0
Github Stars
example-mcp-server
Example code for Anthropic MCP server.
https://modelcontextprotocol.io/quickstart/server
How to build
npm install
npm run build
Run on Claude for Desktop
To use this server with Claude Desktop, you need to configure it in your Claude Desktop configuration file. This file is located at:
~/Library/Application Support/Claude/claude_desktop_config.json
Example configuration:
{
"mcpServers": {
"time": {
"command": "/path/to/node",
"args": [
"/path/to/example-mcp-server/build/index.js"
]
}
}
}
This configuration registers an MCP server named "time" that runs the built JavaScript code from this repository using Node.js.
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Take an adjectivised noun, and create images making it progressively more adjective!
Reviews

user_Db2GTlDP
example-mcp-server by megmogmog1965 is an exceptional server application. It offers impressive functionality and robust performance. The setup process is straightforward, and the documentation on the GitHub page is very helpful. Ideal for managing and customizing Minecraft servers efficiently. Highly recommended for both beginners and advanced users!