echo-mcp

mweichert/echo-mcp

3.1

If you are the rightful owner of echo-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

Echo MCP Server is a model context protocol server designed to facilitate communication and data exchange between clients and servers using the Model Context Protocol (MCP).

echo-mcp

A simple FastMCP server that provides an echo tool which repeats input with the prefix "I hear you: ". Configured as a remote MCP server with HTTP transport and no authentication required.

Features

  • Single echo tool that outputs "I hear you: [input]"
  • Built with FastMCP
  • Remote MCP server with SSE (Server-Sent Events) transport
  • No authentication required
  • Ready for cloud deployment

Installation

  1. Clone this repository:
git clone https://github.com/mweichert/echo-mcp.git
cd echo-mcp
  1. Install dependencies:
pip install -r requirements.txt

Usage

Running the Server

To start the remote MCP server:

python server.py

The server will start on http://0.0.0.0:8000 and serve MCP requests via HTTP/SSE transport.

Tool Documentation

The server provides one tool:

  • echo: Takes a string input and returns it prefixed with "I hear you: "
    • Input: input (string) - The text to echo
    • Output: String in the format "I hear you: [input]"

Testing

Run the test suite to verify functionality:

python test_echo.py

Example

When called with input "Hello, World!", the echo tool returns:

I hear you: Hello, World!

Deployment

Docker Deployment

The server can be deployed using Docker:

# Build the Docker image
docker build -t echo-mcp .

# Run the container
docker run -p 8000:8000 echo-mcp

Render Deployment

This server is configured as a remote MCP server with HTTP transport for easy deployment:

  1. Using Docker: The included Dockerfile and render.yaml deploy as a web service on Render.

  2. Configuration: The server runs on port 8000 with SSE transport, making it accessible to MCP clients over HTTP.

  3. No Authentication: The server requires no authentication as requested.

  4. Deployment Steps:

    • Connect your GitHub repo to Render
    • Use the included render.yaml configuration
    • Deploy as a web service (not background worker)

Local Development

For local development and testing:

python server.py

The server will be available at http://localhost:8000 for MCP client connections.

Requirements

  • Python 3.8+
  • FastMCP 0.4.0+