MCP ExplorerExplorer

Echo Mcp

@Garothon a year ago
11 MIT
FreeCommunity
AI Systems
MCP debug tool that repeats back anything given to it

Overview

What is Echo Mcp

echo-mcp is a simple Model Context Protocol (MCP) server that echoes back any message sent to it, making it an ideal tool for testing MCP functionality.

Use cases

Use cases for echo-mcp include testing message handling in MCP applications, verifying the behavior of special characters and emojis, and ensuring that the server can handle various input types correctly.

How to use

To use echo-mcp, clone the repository from GitHub, install the necessary dependencies using npm, and configure the server in your MCP settings file within VSCode.

Key features

Key features include basic echo functionality, support for empty messages, special characters, emojis, and long messages, as well as a built-in test suite to ensure functionality.

Where to use

echo-mcp can be used in development environments where testing of MCP functionality is required, particularly in applications that utilize the Model Context Protocol.

Content

Echo MCP Server

Echo Logo

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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers