
mlennie/hermes-mcp 是从 https://github.com/mlennie/hermes-mcp. 导入的 MCP 服务器候选。
概览
mlennie/hermes-mcp 是从 https://github.com/mlennie/hermes-mcp. 导入的 MCP 服务器候选。
概述(AI 翻译)
一个MCP服务器,允许Claude Desktop、Claude.ai(网页+移动)、OpenAI Codex desktop、Cursor以及任何其他MCP客户端(通过OAuth 2.1或静态承载令牌)将任务委派给运行在你自己硬件上的本地Hermes代理。(参见当前矩阵的客户端兼容性。)
使用Claude(或其他支持的MCP客户端)作为你的日常聊天。当你请求Hermes的初衷——安排cron任务、浏览器自动化、邮件、文档创建、持久技能、WhatsApp/Slack消息——你的客户通过这条桥接器拨打Hermes。
快速开始
这些步骤假设你已经安装并运行了 Hermes Agent,并且在 Linux/WSL 机器上运行,网关监听在 127.0.0.1:8642。
然后通过你选择的MCP客户端连接——请参见下方的客户端兼容性,获取每个客户端的配置片段(Claude Desktop、Codex CLI、Cursor)。
确认端到端可行后,按照指定的隧道和系统区划,将其永久化。
试着问:“用Hermes安排一个每天的cron任务,早上8点会给我发邮件给我的收件箱摘要。”*
配置
所有设置均通过环境变量完成。参见“.env.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
hermes-mcp
An MCP server that lets Claude Desktop, Claude.ai (web + mobile), OpenAI Codex desktop, Cursor, and any other MCP client (via OAuth 2.1 or static bearer token) delegate tasks to a local Hermes Agent running on your own hardware. (See Client compatibility for the current matrix.)
Use Claude (or another supported MCP client) as your daily chat. When you ask for something Hermes is built for — scheduling cron jobs, browser automation, email, document creation, persistent skills, WhatsApp/Slack messaging — your client calls Hermes through this bridge.
┌──────────────────────────────────────────────────────┐
│ MCP client │
│ (Claude Desktop / Claude.ai / Codex CLI / Cursor /…) │
└────────────────────────┬─────────────────────────────┘
│ HTTPS + OAuth 2.1
▼
┌──────────────────────┐
│ cloudflared tunnel │ (public HTTPS edge)
└──────────┬───────────┘
│
▼ localhost:8765
┌──────────────────────┐
│ hermes-mcp │ (FastMCP, Streamable HTTP)
│ - OAuth 2.1 + PKCE │
│ - HTTP -> gateway │
└──────────┬───────────┘
│ HTTP /v1/chat/completions
▼ localhost:8642
┌──────────────────────┐
│ hermes-gateway │ (the running Hermes brain;
│ │ same agent loop Telegram uses)
└──────────────────────┘
Quickstart
These steps assume you already have Hermes Agent installed and working on a Linux/WSL machine, with the gateway listening on 127.0.0.1:8642.
# 1. Install
pipx install hermes-mcp
# 2. Mint OAuth client credentials
hermes-mcp mint-client # prints OAUTH_CLIENT_ID + OAUTH_CLIENT_SECRET
# 3. Start a quick tunnel (testing only — URL changes on restart)
cloudflared tunnel --url http://127.0.0.1:8765
# prints: https://random-words-here.trycloudflare.com
# 4. Export env vars (using the URL from step 3)
export OAUTH_CLIENT_ID=
export OAUTH_CLIENT_SECRET=
export OAUTH_ISSUER_URL=https://random-words-here.trycloudflare.com
export MCP_ALLOWED_HOSTS=random-words-here.trycloudflare.com
export HERMES_API_KEY=
# 5. Verify everything is wired up
hermes-mcp doctor
# 6. Run
hermes-mcp serve
Then connect from your MCP client of choice — see Client compatibility below for per-client config snippets (Claude Desktop, Codex CLI, Cursor).
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"hermes": {
"url": "https://hermes.claude-hermes-mcp.com/mcp",
"headers": {
"Authorization": "Bearer <your-MCP_BEARER_TOKEN>"
}
}
}
}