MCP Echo Server

by Hinaser

140 downloads
Not rated
GitHub

About

A simple Model Context Protocol (MCP) server that echoes input back as-is. It is intended for testing, debugging, or demonstration of MCP tool calls.

Details

Author
Hinaser
Downloads
140
Categories
Other

- Single tool: echo(message: str) -> str
- Returns the input message unchanged
- Installed via pip or uv
- Runs standalone or inside Claude Desktop
- Minimal and lightweight MCP server

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Echo Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install with pip install -e . or uv pip install -e ., then run directly with python src/echo_server.py. For Claude Desktop, add the server to the mcpServers configuration with the command python and the path to echo_server.py.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp echo server": {
            "mcp-sample-hinaser": {
                "command": "uv",
                "args": [
                    "pip",
                    "install",
                    "-e",
                    "."
                ]
            }
        }
    }
}

McpServers

{
    "mcp-sample-hinaser": {
        "command": "uv",
        "args": [
            "pip",
            "install",
            "-e",
            "."
        ]
    }
}

MCP Echo Server

A simple Model Context Protocol (MCP) server that echoes input back as-is.

Installation

Using pip:

pip install -e .

Using uv:

uv pip install -e .

Usage

Running directly

python src/echo_server.py

Using with Claude Desktop

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "echo-server": {
      "command": "python",
      "args": ["/path/to/mcp-sample/src/echo_server.py"]
    }
  }
}

Available Tools

- echo(message: str) -> str: Returns the input message unchanged

Project Structure

mcp-sample/
├── src/
│   └── echo_server.py    # Main server implementation
├── examples/              # Example servers (optional)
├── pyproject.toml        # Package configuration
└── README.md             # This file
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.