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
        9
        36
        JavaScript
        Apache 2.0
      • A
        security
        F
        license
        A
        quality
        A Model Context Protocol (MCP) server that provides a simple sleep/wait tool, useful for adding delays between operations such as waiting between API calls or testing eventually consistent systems.
        Last updated -
        1
        6
        7
        JavaScript
      • -
        security
        -
        license
        -
        quality
        A specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.
        Last updated -
        1
        TypeScript
      • A
        security
        F
        license
        A
        quality
        A Model Context Protocol (MCP) server that interacts with system APIs, allowing users to check connections, search employees, register breakfast, and update chemical information by shifts.
        Last updated -
        21
        37
        JavaScript

      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