Skip to main content
Glama
Echo MCP Server

Echo MCP Server

by piebro

servidor echo-mcp-para-pruebas

Un servidor MCP (Protocolo de Contexto de Modelo) de eco simple con una echo_tool sencilla para probar clientes MCP. También es ideal como plantilla para nuevos servidores MCP.

Uso

Instale uv y agregue el servidor a una configuración MCP usando uvx :

{
    "name": "echo-mcp-server-for-testing",
    "command": "uvx",
    "args": [
        "echo-mcp-server-for-testing"
    ],
    "env": {
        "SECRET_KEY": "123456789"
    }
}

o clonar el repositorio y usar uv con un directorio:

{
    "name": "echo-mcp-server-for-testing",
    "command": "uv",
    "args": [
        "--directory",
        "path/to/root/dir/",
        "run",
        "main.py"
    ],
    "env": {
        "SECRET_KEY": "123456789"
    }
}

Related MCP server: @profullstack/mcp-server

Desarrollo

Pruebas

Clone el repositorio y use mcp-client-for-testing para probar las herramientas del servidor.

uvx mcp-client-for-testing \
    --config '
    [
        {
            "name": "echo-mcp-server-for-testing",
            "command": "uv",
            "args": [
                "--directory", 
                "path/to/root/dir/", 
                "run", 
                "main.py"
            ],
            "env": {
                "SECRET_KEY": "123456789"
            }
        }
    ]
    ' \
    --tool_call '{"name": "echo_tool", "arguments": {"message": "Hello, world!"}}'

Formato y pelusa

El código está formateado y alineado con ruff:

uv run ruff format
uv run ruff check --fix

Edificio con rayos UV

Construya el paquete usando uv:

uv build

Lanzamiento de una nueva versión

Para publicar una nueva versión del paquete en PyPI, cree y envíe una nueva etiqueta Git:

  1. Revisa la rama principal y obtén la versión actual:

    git checkout main
    git pull origin main
    git describe --tags
  2. Crea y envía una nueva etiqueta Git:

    git tag v0.2.0
    git push origin v0.2.0

El flujo de trabajo de GitHub Actions compilará y publicará automáticamente el paquete en PyPI al añadir una nueva etiqueta. El número de versión del paquete de Python se derivará directamente de la etiqueta de Git.

Licencia

Este proyecto está licenciado bajo la Licencia MIT. Consulte el archivo de LICENCIA para más detalles.

Available Tools

1 tool
echo_toolC

Echo a message as a tool

Inputs: message (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap between tools. The single tool 'echo_tool' has a clear and distinct purpose that cannot be mistaken for any other tool in this set.

    Naming Consistency5/5

    The naming is perfectly consistent as there is only one tool following the verb_noun pattern 'echo_tool'. No other naming conventions exist to create inconsistency.

    Tool Count2/5

    A single tool is too few for most practical server purposes, making the set feel thin and limited. While it might be appropriate for a minimal demo or test server, it lacks the depth expected for typical MCP server functionality.

    Completeness3/5

    For a simple echo functionality, the single tool covers the basic operation. However, there are no related operations (e.g., variations like echo_reverse or echo_log) that might be expected in a more complete echo service, leaving minor gaps.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An implementation of the Model Context Protocol (MCP) server that enables multiple clients to connect simultaneously and handles basic context management and messaging with an extendable architecture.
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      MCP server providing greeting and echo tools for testing and demonstration.
      -