Skip to main content
Glama

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" } }

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.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Un servidor simple que implementa el Protocolo de Contexto de Modelo (MCP) que refleja mensajes, diseñado para probar clientes MCP.

  1. Uso
    1. Desarrollo
      1. Pruebas
      2. Formato y pelusa
      3. Edificio con rayos UV
      4. Lanzamiento de una nueva versión
    2. Licencia

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
        Last updated -
        3
        676
        61
        JavaScript
        Apache 2.0
      • -
        security
        A
        license
        -
        quality
        A demonstration server that implements the Model Context Protocol (MCP) SDK, providing tools and endpoints for server-sent events and message handling.
        Last updated -
        15
        10
        TypeScript
        MIT License
      • -
        security
        A
        license
        -
        quality
        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.
        Last updated -
        Python
        MIT License
      • -
        security
        F
        license
        -
        quality
        A minimal example server implementing the Model Context Protocol, providing addition and multiplication tools for learning and experimentation with MCP clients.
        Last updated -
        Python

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/piebro/echo-mcp-server-for-testing'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server