my-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
My MCP Server
This project implements a Model Context Protocol (MCP) server using Node.js and TypeScript.
Features
MCP server with basic tool capabilities
Implements a
calculatetool for basic mathematical operations: add, subtract, multiply, divideHandles requests via standard input/output (stdio)
Related MCP server: MCP Calculator Demo
Usage
Install dependencies:
npm installBuild the project:
npm run buildStart the server:
npm start
Tool: calculate
Description: Perform basic mathematical calculations Parameters:
operation: string (add,subtract,multiply,divide)a: numberb: number
Example Prompt
Calculate 15 + 27 using the calculate tool.Example Request:
{
"name": "calculate",
"arguments": {
"operation": "add",
"a": 15,
"b": 27
}
}Example Response:
{
"content": [
{
"type": "text",
"text": "The result of 15 add 27 is 42."
}
]
}How to Check This MCP Server in VS Code
Open the project folder in VS Code.
Open a new terminal in VS Code (`Ctrl+`` or from the menu).
Make sure dependencies are installed and the server is running:
npm install npm run build npm startYou can test the MCP server by sending a request using the terminal. For example:
echo '{"name": "calculate", "arguments": {"operation": "add", "a": 15, "b": 27}}' | npx ts-node src/server.tsYou should see a response similar to:
{ "content": [ { "type": "text", "text": "The result of 15 add 27 is 42." } ] }For more advanced testing, use an MCP client extension or integrate with other MCP-compatible tools in VS Code.
Project Structure
src/server.ts: Main MCP server implementationpackage.json: Project metadata and scriptstsconfig.json: TypeScript configuration
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for progressive tool usage at any scale (see https://klavis.ai)
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceA minimal Python-based MCP server that provides standard arithmetic tools including addition, subtraction, multiplication, and division. It allows language models to perform basic mathematical calculations through a standardized interface.-
- FlicenseNot gradedqualityDmaintenanceA sample MCP server that provides basic arithmetic tools like addition, subtraction, multiplication, and division. It serves as a demonstration for implementing the Model Context Protocol and connecting custom tools to clients like Claude Desktop.-
- AlicenseNot gradedqualityDmaintenanceA stateless MCP server that exposes arithmetic operations (add, subtract, multiply, divide) as tools over HTTP, enabling AI assistants to perform basic calculations conversationally.ISC
- AlicenseAqualityDmaintenanceA simple MCP server that provides basic calculator operations such as add, subtract, multiply, and divide.4MIT