my-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@my-mcp-serverWhat is 15 + 27?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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)
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 installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/srvrsoorg/my-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server