example-mcp-server
3.2
Example code for Anthropic MCP server.
The example-mcp-server is a demonstration of how to set up and run a Model Context Protocol (MCP) server using Node.js. It provides a basic framework for developers to understand the integration of MCP technology with various platforms, such as Claude for Desktop. The server is designed to be easily configurable and extendable, allowing users to adapt it to their specific needs. By following the provided instructions, users can quickly build and deploy the server, enabling seamless communication between different components of their applications.
Features
- Easy setup and configuration using Node.js.
- Integration with Claude for Desktop through configuration files.
- Demonstrates basic MCP server functionality.
- Provides a framework for further development and customization.
- Supports running JavaScript code as an MCP server.
Usage with Different Platforms
Claude for Desktop
{
"mcpServers": {
"time": {
"command": "/path/to/node",
"args": [
"/path/to/example-mcp-server/build/index.js"
]
}
}
}