Garoth

Echo MCP Server

Community Garoth
Updated

Repeats back whatever it is prompted for testing

Echo MCP Server

A simple Model Context Protocol (MCP) server that echoes back whatever message it is sent. Perfect for testing MCP functionality

Features

  • Simple echo functionality that returns any message sent to it
  • Handles empty messages, special characters, emojis, and long messages
  • Includes test suite

Available Tools

  • echo: Takes a message parameter and echoes it back exactly as received

Installation

git clone https://github.com/Garoth/echo-mcp.git
cd echo-mcp
npm install

Configuration

Add the echo server to your Cline MCP settings file inside VSCode's settings (ex. ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json):

{
  "mcpServers": {
    "echo-server": {
      "command": "node",
      "args": ["/path/to/echo-server/build/index.js"],
      "disabled": false,
      "autoApprove": [
        "echo"
      ]
    }
  }
}

Usage Examples

Basic Echo

Input: "Hello, world!"
Output: "Hello, world!"

Special Characters

Input: "Special chars: !@#$%^&*()_+{}[]|\\:;\"'<>,.?/"
Output: "Special chars: !@#$%^&*()_+{}[]|\\:;\"'<>,.?/"

Emojis

Input: "Message with emojis: ๐Ÿ˜€ ๐Ÿš€ ๐ŸŒˆ ๐ŸŽ‰"
Output: "Message with emojis: ๐Ÿ˜€ ๐Ÿš€ ๐ŸŒˆ ๐ŸŽ‰"

Development

Running Tests

The tests verify the echo functionality works correctly with various types of input:

npm test

Building

npm run build

License

MIT

MCP Server ยท Populars

MCP Server ยท New

    chatmcp

    mcpso

    directory for Awesome MCP Servers

    Community chatmcp
    TBXark

    MCP Proxy Server

    An MCP proxy server that aggregates and serves multiple MCP resource servers through a single HTTP server.

    Community TBXark
    ttommyth

    interactive-mcp

    Ask users questions from your LLM! interactive-mcp: Local, cross-platform MCP server for interactive prompts, chat & notifications.

    Community ttommyth
    lpigeon

    ros-mcp-server

    The ROS MCP Server is designed to support robots in performing complex tasks and adapting effectively to various environments by providing a set of functions that transform natural language commands, entered by a user through an LLM, into ROS commands for robot control.

    Community lpigeon
    emicklei

    melrose-mcp

    interactive programming of melodies, producing MIDI

    Community emicklei