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
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. The description only states 'Echo a message as a tool' which reveals nothing about what the tool actually does behaviorally - whether it's a read operation, a transformation, a test utility, or something else. It doesn't mention any side effects, permissions needed, rate limits, or what 'echo' means in practical terms.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise at just 5 words, which is appropriate for a simple tool. There's no wasted language or unnecessary elaboration. However, this conciseness comes at the cost of meaningful content - it's brief but under-specified rather than efficiently informative.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 1 parameter, no annotations, no output schema, and 0% schema description coverage, the description is inadequate. It doesn't explain what the tool does, how to use it, what the parameter means, or what to expect as output. The description fails to provide the minimal context needed for an agent to understand and use this tool effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has 1 parameter with 0% description coverage, meaning the schema provides no semantic information about the 'message' parameter. The description doesn't mention parameters at all, offering no compensation for the schema's lack of documentation. The description should explain what kind of message is expected or what the parameter represents, but it remains completely silent on this.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Echo a message as a tool' is a tautology that essentially restates the tool name 'echo_tool' without adding meaningful specificity. It uses the verb 'echo' which matches the name, but doesn't explain what 'echo' means in this context or what resource is being acted upon. No sibling tools exist to differentiate from, but the description remains vague about the actual function.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool, what scenarios it's designed for, or any prerequisites. With no sibling tools, there's no need to differentiate from alternatives, but the description doesn't indicate any context for usage. It's a minimal statement that offers no practical guidance to an agent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
- First observed
echo_tool
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
A Model Context Protocol (MCP) server for Selise Blocks Cloud integration
Minimal streamable HTTP MCP server used for owned-account registry connectivity tests.
MCP server to assist with JxBrowser development.
A simple MCP server built with FastMCP and python
Related MCP Servers
- FlicenseNot 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.1-
- AlicenseNot gradedqualityBmaintenanceA generic, modular server for implementing the Model Context Protocol (MCP).64 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.-