MCP.so
ログイン

Echo MCP Server

@aadversteeg

Echo MCP Server について

A Model Context Protocol (MCP) server implementing a echo service using .NETCORE

基本情報

カテゴリ

その他

ライセンス

MIT license

ランタイム

c#

トランスポート

stdio

公開者

aadversteeg

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "echo-mcp-server-aadversteeg": {
      "command": "docker",
      "args": [
        "build",
        "-f",
        "src/Core.Infrastructure.McpServer/Dockerfile",
        "-t",
        "echo-mcp-server:latest",
        "src/"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Echo MCP Server?

Echo MCP Server is a lightweight .NET Core server that implements the Model Context Protocol (MCP). It provides a single tool that echoes any message back to the client, making it a simple example of how to build a custom MCP server. It can be deployed locally or as a Docker container.

How to use Echo MCP Server?

Build from source with dotnet build src/echo.sln (requires .NET 9.0) or run a pre-built Docker image. Configure the server via appsettings.json or environment variables, then connect any MCP‑compatible client (e.g., Claude Desktop) and call the echo tool with a required message parameter.

Key features of Echo MCP Server

  • Echo any message back to the client
  • Customizable message format through MessageFormat configuration
  • Built on the Model Context Protocol standard
  • Deployable directly or as a Docker container

Use cases of Echo MCP Server

  • Testing and debugging MCP client integrations
  • Demonstrating a minimal MCP server implementation
  • Providing a simple echo service for prototyping

FAQ from Echo MCP Server

What prerequisites are needed to run Echo MCP Server?

For local deployment you need .NET 9.0. For container deployment you need Docker.

How can I customize the echoed message format?

Set the MessageFormat in appsettings.json (e.g., "Server says: {message}") or pass it as an environment variable MessageFormat. If not set, the default format is "Echo: {message}".

How do I configure Echo MCP Server with Claude Desktop?

Add an entry to the mcpServers section of your Claude Desktop configuration. For local use, specify command: "dotnet" with args pointing to the DLL. For Docker, set command: "docker" with args including run, --rm, -i, and -e for environment variables.

What is the default message format?

The default format is "Echo: {message}". It can be overridden via the MessageFormat setting.

Can I run Echo MCP Server using Docker?

Yes. Build the Docker image with docker build -f src/Core.Infrastructure.McpServer/Dockerfile -t echo-mcp-server:latest src/ and run it with docker run -d --name echo-mcp echo-mcp-server:latest. You can also customize the message format via environment variables or mount a custom appsettings.json.

コメント

「その他」の他のコンテンツ