MCP Exploration
Click on "Deploy 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., "@MCP Explorationadd 5 and 3"
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.
MCP Exploration
A simple TypeScript MCP (Model Context Protocol) server using @modelcontextprotocol/sdk.
Overview
This project demonstrates how to create a basic MCP server with tools that can be accessed by MCP clients like Claude Desktop, VS Code with GitHub Copilot, or other MCP-compatible applications.
Related MCP server: Node.js MCP Server
Features
Calculator Tool: Performs basic arithmetic operations (add, subtract, multiply, divide)
Installation
pnpm installDevelopment
Run the server in development mode:
pnpm devBuild
Compile TypeScript to JavaScript:
pnpm buildRun
Start the compiled server:
pnpm startThe server will start on http://localhost:3000/mcp.
Connecting to the Server
Using VS Code
Add this to your MCP configuration in VS Code:
{
"mcpServers": {
"simple-mcp-server": {
"url": "http://localhost:3000/mcp",
"type": "http"
}
}
}Using MCPJam
Test your server with the MCPJam:
pnpx @mcpjam/inspector@latest --port 4000Then create a new server with your MCP url.
Available Tools
calculate
Performs basic arithmetic operations.
Parameters:
operation(enum): One of "add", "subtract", "multiply", "divide"a(number): First numberb(number): Second number
Example:
{
"operation": "add",
"a": 5,
"b": 3
}Architecture
This server uses:
Express.js for HTTP server functionality
@modelcontextprotocol/sdk for MCP protocol implementation
Zod for schema validation
Streamable HTTP Transport for stateless request handling
Learn More
This server cannot be deployed
Maintenance
Related MCP Connectors
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
A simple MCP server built with FastMCP and python
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA simple MCP server that provides basic calculator functionality for performing mathematical operations. Built with FastMCP and demonstrates fundamental MCP server implementation patterns.-
- FlicenseDqualityDmaintenanceA basic MCP server that provides arithmetic calculation tools and system information retrieval capabilities, including platform, CPU, and memory details.2-
- AlicenseNot gradedqualityDmaintenanceA simple MCP server that provides calculator tools for basic arithmetic operations with zero-division protection.62 npmISC
- FlicenseAqualityDmaintenanceA simple MCP server that provides basic calculator operations such as add, subtract, multiply, and divide.4-