This is a simplified template for creating Model Context Protocol (MCP) servers in JavaScript for integration with Claude Desktop. It provides a basic structure for developing custom MCP servers with minimal boilerplate code.
about
and hello
@modelcontextprotocol/sdk
for server implementation@modelcontextprotocol/sdk
npm packagenpm install @modelcontextprotocol/sdk
Add to your Claude Desktop configuration file:
Location:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Configuration Example:
{
"mcpServers": {
"template-server": {
"command": "node",
"args": [
"/full/path/to/simplified-template-mcp-server.js"
],
"env": {
"NODE_OPTIONS": "--no-deprecation"
}
}
}
}
about
Returns information about the MCP server.
hello
Provides a greeting, with an optional name parameter.
Example Usage in Claude:
hello with name="Claude"
To create your own MCP server:
TOOLS
arrayserver.fallbackRequestHandler
Contributions are welcome! Please submit pull requests or open issues.
MIT License
Seamless access to top MCP servers powering the future of AI integration.