node-mcp-server

iamtraction/node-mcp-server

3.3

If you are the rightful owner of node-mcp-server 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.

A TypeScript template repository for creating Model Context Protocol (MCP) servers with support for both stdio and SSE transports.

The MCP Server template is a robust foundation for developers looking to build Model Context Protocol servers using TypeScript. It supports both stdio and Server-Sent Events (SSE) transports, providing flexibility in how data is communicated. The template is designed with a well-organized structure, making it easy to extend and customize. It includes example prompts, resources, and tools to help developers get started quickly. The use of TypeScript ensures type safety and a better developer experience, while FastMCP is utilized for rapid development. This template is ideal for developers who want to leverage the power of MCP in their applications, offering a streamlined setup process and essential features to kickstart server development.

Features

  • Built with TypeScript for type safety and better developer experience
  • Supports both stdio and SSE transports
  • Includes example prompts, resources, and tools
  • Uses FastMCP for rapid development
  • Configurable server options for transport type and port

Usages

usage with stdio

{
    "mcpServers": {
        "example-server": {
            "command": "node",
            "args": [ "dist/server.js" ]
         }
    }
}

usage with sse

{
    "mcpServers": {
        "example-server": {
            "url": "https://example-server.com/sse"
         }
    }
}