Skip to main content
Glama
barmanakash

mcp-server-for-addition-tool

by barmanakash

๐Ÿงฎ My MCP Server

Node.js TypeScript MCP SDK License

A simple Model Context Protocol (MCP) server built with Node.js, TypeScript, and the MCP TypeScript SDK.


NOTE


Designed for seamless integration with LLMs to provide real-time tool execution via standard I/O.


โœจ Features

  • ๐Ÿš€ Stdio Transport: Reliable local inter-process communication via stdio.

  • โšก add_numbers Tool: Exposes addition calculations directly to context-aware models.

  • ๐Ÿ›ก๏ธ Type-Safe Validation: Full input schema validation powered by Zod.

  • ๐Ÿงช Inspector Tested: Fully tested and verified using the official MCP Inspector.


Related MCP server: yifanli-mcp-add-demo

๐Ÿ› ๏ธ Tech Stack

Technology

Role

Node.js

Server Runtime Environment

TypeScript

Type-Safe Application Logic

MCP SDK

Model Context Protocol Implementation

Zod

Schema & Argument Validation


๐Ÿ“‚ Project Structure

my-mcp-server/
โ”œโ”€โ”€ ๐Ÿ“ src/
โ”‚   โ””โ”€โ”€ ๐Ÿ“„ index.ts
โ”œโ”€โ”€ ๐Ÿ“„ .gitignore
โ”œโ”€โ”€ ๐Ÿ“„ package.json
โ”œโ”€โ”€ ๐Ÿ“„ package-lock.json
โ”œโ”€โ”€ ๐Ÿ“„ tsconfig.json
โ””โ”€โ”€ ๐Ÿ“„ README.md

Related MCP Connectors

Related MCP Servers

  • A
    license
    D
    quality
    D
    maintenance
    A minimal Model Context Protocol server that provides a simple add(a, b) tool for computing the sum of two numbers.
    1
    4 npm
    MIT
  • F
    license
    B
    quality
    Not graded
    maintenance
    A minimal Model Context Protocol server that provides a simple tool for adding two integers. It serves as a demonstration of the official Python MCP SDK and is designed for local execution via stdio.
    1
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    A minimal MCP server with four tools (add, greet, text_stats, divide) demonstrating typed parameters, structured outputs, and error handling over stdio transport.
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    A model-agnostic MCP server exposing example tools (add1, multiply2, greet) for learning purposes, working with any LLM through stdio transport.
    -