mcp-server

neemchand/mcp-server

3.2

If you are the rightful owner of 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 simple Model Context Protocol (MCP) server implementation in TypeScript.

Tools
  1. echo

    Echoes back the input text.

  2. add

    Adds two numbers together.

Basic MCP Server

A simple Model Context Protocol (MCP) server implementation in TypeScript.

Installation

npm install

Build

npm run build

Usage

Development

npm run dev

Production

npm start

As a binary

npx basic-mcp-server

Tools Available

echo

Echoes back the input text.

Parameters:

  • text (string, required): Text to echo back

add

Adds two numbers together.

Parameters:

  • a (number, required): First number
  • b (number, required): Second number

MCP Client Configuration

To use this server with an MCP client, configure it to run:

node dist/index.js

Development

  • npm run dev - Run in development mode with hot reload
  • npm run build - Build TypeScript to JavaScript
  • npm run clean - Clean build directory