Echo MCP Server
テスト用 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"
}
}Related MCP server: @profullstack/mcp-server
発達
テスト
リポジトリをクローンし、 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 --fixUVを使った建築
uv を使用してパッケージをビルドします。
uv build新バージョンのリリース
パッケージの新しいバージョンを PyPI にリリースするには、新しい Git タグを作成してプッシュします。
メイン ブランチをチェックアウトして現在のバージョンを取得します。
git checkout main git pull origin main git describe --tags新しい Git タグを作成してプッシュします。
git tag v0.2.0 git push origin v0.2.0
GitHub Actionsワークフローは、新しいタグがプッシュされると、パッケージを自動的にビルドしてPyPIに公開します。Pythonパッケージのバージョン番号は、Gitタグから直接取得されます。
ライセンス
このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルをご覧ください。
Available Tools
1 toolecho_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
Scored across 1 tool
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.
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.
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.
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
Related MCP Connectors
MCP compatibility and transport verification server.
MCP compatibility and transport verification server.
MCP compatibility and transport verification server.
MCP compatibility and transport verification server.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA stateless Model Context Protocol server that implements a simple echo functionality with resource, tool, and prompt components, enabling LLMs to echo back messages through standardized MCP interactions.1ISC
- AlicenseNot gradedqualityBmaintenanceA generic, modular server for implementing the Model Context Protocol (MCP).65 npm45ISC
- AlicenseNot gradedqualityDmaintenanceAn 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
- FlicenseNot gradedqualityCmaintenanceMCP server providing greeting and echo tools for testing and demonstration.-