claude-for-hermes
Integrates with the Hermes chat platform, enabling Hermes to supervise Claude Code workers within an ongoing conversation context.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-for-hermesAsk Claude to review the auth module read-only and flag security risks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Claude for Agents
Use the authenticated Claude Code CLI as a persistent, permission-controlled worker from any stdio MCP-compatible agent.
Claude for Agents is a local Node.js MCP server. A supervisor such as Hermes or Codex can delegate focused implementation or review work, receive structured telemetry, and continue the exact Claude session later.
Architecture
You → MCP-compatible supervisor → Claude for Agents → Claude Code worker
← result / session ID ←The bridge uses Claude Code print mode (claude -p) for autonomous worker calls while the host agent remains the supervisor.
Related MCP server: hermes-claude-bridge
Tools
Tool | Purpose |
| Start a Claude Code task with project, model, policy, turn-budget, and background options. |
| Resume the exact stored Claude session, optionally with a model override. |
| List background jobs or inspect one job's state and result. |
| Stop a running background worker and its subprocess tree. |
| Run a constrained, read-only review. |
Safety model
Work is restricted to an approved project root, defaulting to
~/Projects.reviewis immutable across continuation and uses an inspection-only tool allowlist.codeuses an explicit editing/testing allowlist; the bridge never uses--dangerously-skip-permissions.Worker prompts travel over stdin rather than command-line arguments.
Sessions and job history persist in an owner-only (
0600) state file.Jobs active during a bridge restart become
interrupted; they are never falsely resumed.Cancellation targets the full subprocess group with bounded
SIGTERM→SIGKILLescalation.The official Claude Code CLI must already be installed and authenticated locally.
Install with an agent skill
The repository includes a portable Agent Skill that can install, configure, verify, operate, and troubleshoot the bridge:
npx skills add 7D-codes/claude-for-agents --skill claude-for-agentsThe skill supports Hermes and Codex directly and provides the stdio configuration contract for other MCP hosts. The skill is procedural guidance; the bridge runtime remains source-hosted in this GitHub repository and is not published as an npm package.
Install from source
Requirements:
Node.js 20+
Git
Official Claude Code CLI, authenticated with
claude auth loginAn MCP host that supports local stdio servers
git clone https://github.com/7D-codes/claude-for-agents.git ~/Projects/claude-for-agents
cd ~/Projects/claude-for-agents
npm ci
npm test
npm run smokeHermes
cd ~/Projects/claude-for-agents
hermes mcp add claude_for_agents \
--command "$(command -v node)" \
--connect-timeout 20 \
--args "$PWD/server.js"
hermes mcp test claude_for_agentsStart a new Hermes session after registration so the five tools are loaded.
Codex CLI
cd ~/Projects/claude-for-agents
codex mcp add claude_for_agents -- "$(command -v node)" "$PWD/server.js"
codex mcp get claude_for_agentsRestart Codex after registration. Ask it to list the tools exposed by claude_for_agents, then begin with a read-only claude_review or a narrowly scoped claude_delegate call.
Other MCP hosts
Register this stdio server using absolute paths:
{
"command": "/absolute/path/to/node",
"args": ["/absolute/path/to/claude-for-agents/server.js"]
}Do not place the command and arguments into one shell string unless the host explicitly requires that format.
Configuration
Variable | Default | Purpose |
|
| Claude Code executable. |
|
| Approved root containing worker projects. |
|
| Persistent sessions and job history. |
The legacy CLAUDE_FOR_HERMES_PROJECT_ROOT and CLAUDE_FOR_HERMES_STATE names remain accepted. If the new default state file does not exist but ~/.claude-for-hermes/state.json does, the bridge reuses the legacy file automatically.
Environment variables must be configured on the MCP subprocess through the host, not merely exported in an unrelated shell.
Example requests
Ask Claude to implement the API validation work in
~/Projects/my-app, run the relevant tests, and report the changed files.
Ask Claude to inspect the authentication module using the review policy and identify security risks without editing files.
Continue Claude session
<session-id>: address the review findings and rerun the focused tests.
Development
npm test
npm run smoke
node --check server.js
node --check src/core.js
node --check src/config.js
node --check src/runner.js
node --check src/state.js
node --check src/workspace.jsThe suite covers exact-session continuation, immutable review restrictions, persistent jobs, process-group cancellation, stdin transport, structured output, workspace containment, configuration migration, review settings, and authentication failures.
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceAn MCP server that allows Claude Desktop and other MCP clients to delegate tasks to a local Hermes Agent for automation and persistent operations.Last updated55Apache 2.0
- Alicense-qualityAmaintenanceMCP server that enables Hermes Agent to delegate development tasks to Claude Code CLI, reusing the Claude Code subscription without additional API costs.Last updated1MIT
- AlicenseAqualityCmaintenanceMCP server that lets any agent or MCP host delegate tasks to Claude Code running headless, with tools for review, validation, analysis, and autonomous work.Last updated42652MIT
- AlicenseAqualityBmaintenanceAn MCP server for running Claude Code and the Codex CLI as a pair: Claude drives, and hands self-contained tasks to Codex as background jobs.Last updated8MIT
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/7D-codes/claude-for-hermes'
If you have feedback or need assistance with the MCP directory API, please join our Discord server