MCP Server
A Model Context Protocol (MCP) server implementation that provides basic tools and utilities.
Features
This MCP server provides the following tools:
- echo: Echo back the input text
- uppercase: Convert text to uppercase
- calculate: Perform basic mathematical calculations (add, subtract, multiply, divide)
Installation
- Install dependencies:
- Build the server:
Usage
Development
Run the server in development mode:
Production
Build and run the server:
Configuration
To use this MCP server with Claude Desktop or other MCP clients, add the following to your MCP configuration:
{
"mcpServers": {
"mcp-server": {
"command": "node",
"args": ["/path/to/your/mcp-server/dist/index.js"]
}
}
}
Examples
{
"name": "echo",
"arguments": {
"message": "Hello, World!"
}
}
{
"name": "uppercase",
"arguments": {
"text": "hello world"
}
}
{
"name": "calculate",
"arguments": {
"operation": "add",
"a": 5,
"b": 3
}
}
License
MIT