MCP Server Boilerplate

This project demonstrates an MCP server implemented in JavaScript using Node.js. It defines two tools: add, which takes two numeric inputs and returns their sum, and getApiKey, which retrieves the…

Local serverstdio

What is the MCP Server Boilerplate MCP Server?

MCP Server Boilerplate is an MCP project maintained in the lucianoayres/mcp-server-boilerplate repository. The maintainer describes its purpose as “This project demonstrates an MCP server implemented in JavaScript using Node.js. It defines two tools: add, which takes two numeric inputs and returns their sum…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the MCP Server Boilerplate MCP Server

{
  "mcpServers": {
    "MCP Server Boilerplate": {
      "command": "node",
      "args": [
        "/home/john/mcp-server-node/mcp-server.js"
      ],
      "env": {
        "API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
API_KEYDeclared in the maintainer’s client configuration.Check documentation