MCP-JS-Server-Template
If you are the rightful owner of MCP-JS-Server-Template and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This is a simplified template for creating Model Context Protocol (MCP) servers in JavaScript for integration with Claude Desktop.
The MCP JS Server Template provides a basic structure for developing custom MCP servers with minimal boilerplate code. It is designed to facilitate the creation of MCP servers that can be integrated with Claude Desktop, a platform for managing and interacting with various AI models. The template includes standard MCP server initialization, basic tools, and follows the MCP protocol version 2024-11-05. It leverages the `@modelcontextprotocol/sdk` for server implementation and includes error handling and logging features. This template is ideal for developers looking to quickly set up an MCP server with essential functionalities and extend it with custom tools and handlers.
Features
- Implements standard MCP server initialization
- Provides two basic tools: `about` and `hello`
- Follows MCP protocol version 2024-11-05
- Uses `@modelcontextprotocol/sdk` for server implementation
- Includes error handling and logging
Tools
about
Returns information about the MCP server.
hello
Provides a greeting, with an optional name parameter.