Skip to main content
Glama
anupamprataps

Simple MCP Server

Simple MCP Server

A basic Model Context Protocol (MCP) server for testing MCP functionality.

Features

This server provides three simple tools:

  1. echo - Echoes back any text you provide

  2. greet - Generates a greeting message with your name

  3. calculate - Performs basic arithmetic operations (add, subtract, multiply, divide)

Related MCP server: MCP Playground Server

Setup

  1. Install dependencies:

    npm install
  2. Run the server:

    npm start

Testing with Claude Desktop

To test this MCP server with Claude Desktop, add the following to your Claude Desktop configuration:

macOS Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "simple-mcp-server": {
      "command": "node",
      "args": ["server.js"],
      "cwd": "/path/to/your/my_mcp"
    }
  }
}

Windows Configuration

Add to %APPDATA%/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "simple-mcp-server": {
      "command": "node",
      "args": ["server.js"],
      "cwd": "C:\\path\\to\\your\\my_mcp"
    }
  }
}

Usage Examples

Once connected, you can test the tools:

  • Echo: "Use the echo tool to repeat 'Hello World'"

  • Greet: "Use the greet tool with the name 'Alice'"

  • Calculate: "Use the calculate tool to add 5 and 3"

Troubleshooting

  • Make sure Node.js is installed

  • Ensure the path in your Claude Desktop config is correct

  • Restart Claude Desktop after updating the configuration

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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/anupamprataps/simple_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server