GE

garoth/echo-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

13 stars 7 forks 品質 49 トレンド 20

MCP debug tool that repeats back anything given to it

概要

A simple Model Context Protocol (MCP) server that echoes back whatever message it is sent. Perfect for testing MCP functionality - Simple echo functionality that returns any message sent to it - Handles empty messages, special characters, emojis, and long messages - Includes test suite - echo: Takes a message parameter and echoes it back exactly as received 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): The tests verify the echo functionality works correctly with various types of input:

README

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

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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