simple-mcp-server-template

simple-mcp-server-template

3.5

This project provides a template for creating a simple Model Context Protocol (MCP) server, with instructions on initializing and building the server.

Top Comments

Simple MCP Server Template

This is a template for a simple MCP server.

Initialize

pnpm install

Build

pnpm run build

MCP Configuration

{
  "mcpServers": {
    "diceRoller": {
      "command": "node",
      "args": [
        "/absolute/path/to/your/simple-mcp-server-template/build/index.js"
      ]
    }
  }
}

If you want to make sse server, you can use SSEServerTransport and some ts server framework.