m

mohe_mcp_server

yuzongheng/mohe_mcp_server
Hosted
0 Stars 24 次浏览 更新于 2026-08-23

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "mohe_mcp_server": {
      "args": [
        "mohe_mcp_server@latest"
      ],
      "command": "uvx"
    }
  }
}

可用工具 (2 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

echo 1 个参数 需填 1 项

将输入的内容原样返回

必填参数:input_str

echo_image 1 个参数 需填 1 项

返回图片内容

必填参数:command

服务介绍

MCP 服务:

MCP echo服务器,用于测试

mcp 服务器配置


{

  "mcpServers": {

    "mohe_mcp_server": {

        "command": "uvx",

        "args": [

          "mohe_mcp_server"

        ]

      }

  }

}

📦 安装与部署

  1. 克隆项目:
    bash
    git clone https://github.com/Zongheng-Yu/mcp_test_server
    cd mcp-calculator

  2. 启动服务:
    bash
    uvx mohe_mcp_server

服务将在 http://0.0.0.0:8000 启动,支持通过 HTTP 接入。

🔧 使用方式

作为本地服务运行

bash
uvx mohe_mcp_server

🔄 支持的操作

  • echo(input_str)
  • echo_image(command)

测试

使用 @modelcontextprotocol/inspector 工具连接服务进行调试和验证 。

📄 许可证

MIT

相关 MCP 服务