Skip to main content
Glama

Echo MCP Server

by piebro

テスト用 echo-mcp サーバー

MCPクライアントのテストに便利なecho_toolを備えた、シンプルなecho MCP(Model Context Protocol)サーバーです。新しいMCPサーバーのテンプレートとしても最適です。

使用法

uvをインストールし、 uvxを使用してサーバーを MCP 構成に追加します。

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

またはリポジトリをクローンし、ディレクトリでuvを使用します。

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

発達

テスト

リポジトリをクローンし、 mcp-client-for-testingを使用してサーバーのツールをテストします。

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

フォーマットとリンティング

コードは ruff でフォーマットされ、 lint されます。

uv run ruff format uv run ruff check --fix

UVを使った建築

uv を使用してパッケージをビルドします。

uv build

新バージョンのリリース

パッケージの新しいバージョンを PyPI にリリースするには、新しい Git タグを作成してプッシュします。

  1. メイン ブランチをチェックアウトして現在のバージョンを取得します。
    git checkout main git pull origin main git describe --tags
  2. 新しい Git タグを作成してプッシュします。
    git tag v0.2.0 git push origin v0.2.0

GitHub Actionsワークフローは、新しいタグがプッシュされると、パッケージを自動的にビルドしてPyPIに公開します。Pythonパッケージのバージョン番号は、Gitタグから直接取得されます。

ライセンス

このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルをご覧ください。

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.

モデル コンテキスト プロトコル (MCP) を実装し、メッセージをエコーバックするシンプルなサーバー。MCP クライアントのテスト用に設計されています。

  1. 使用法
    1. 発達
      1. テスト
      2. フォーマットとリンティング
      3. UVを使った建築
      4. 新バージョンのリリース
    2. ライセンス

      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