hermes-agent/website/docs/reference
Teknium 6716e66e89
feat: add MCP server mode — hermes mcp serve (#3795)
hermes mcp serve starts a stdio MCP server that lets any MCP client
(Claude Code, Cursor, Codex, etc.) interact with Hermes conversations.

Matches OpenClaw's 9-tool channel bridge surface:

Tools exposed:
- conversations_list: list active sessions across all platforms
- conversation_get: details on one conversation
- messages_read: read message history
- attachments_fetch: extract non-text content from messages
- events_poll: poll for new events since a cursor
- events_wait: long-poll / block until next event (near-real-time)
- messages_send: send to any platform via send_message_tool
- channels_list: browse available messaging targets
- permissions_list_open: list pending approval requests
- permissions_respond: allow/deny approvals

Architecture:
- EventBridge: background thread polls SessionDB for new messages,
  maintains in-memory event queue with waiter support
- Reads sessions.json + SessionDB directly (no gateway dep for reads)
- Reuses send_message_tool for sending (same platform adapters)
- FastMCP server with stdio transport
- Zero new dependencies (uses existing mcp>=1.2.0 optional dep)

Files:
- mcp_serve.py: MCP server + EventBridge (~600 lines)
- hermes_cli/main.py: added serve sub-parser to hermes mcp
- hermes_cli/mcp_config.py: route serve action to run_mcp_server
- tests/test_mcp_serve.py: 53 tests
- docs: updated MCP page + CLI commands reference
2026-03-29 15:47:19 -07:00
..
_category_.json feat: add documentation website (Docusaurus) 2026-03-05 05:24:55 -08:00
cli-commands.md feat: add MCP server mode — hermes mcp serve (#3795) 2026-03-29 15:47:19 -07:00
environment-variables.md docs: document credential file passthrough and env var forwarding for remote backends (#3677) 2026-03-29 00:16:34 -07:00
faq.md feat: add profiles — run multiple isolated Hermes instances (#3681) 2026-03-29 10:41:20 -07:00
mcp-config-reference.md docs(mcp): add comprehensive Hermes MCP docs 2026-03-14 06:36:01 -07:00
optional-skills-catalog.md docs: add missing skills, CLI commands, and messaging env vars 2026-03-24 08:12:37 -07:00
profile-commands.md docs: fix profile alias naming and improve quick start 2026-03-29 10:51:51 -07:00
skills-catalog.md docs: update skills catalog — add red-teaming and optional skills (#3745) 2026-03-29 09:34:35 -07:00
slash-commands.md feat: config-gated /verbose command for messaging gateway (#3262) 2026-03-26 14:41:04 -07:00
tools-reference.md docs: fix stale and incorrect documentation across 18 files 2026-03-24 07:53:07 -07:00
toolsets-reference.md docs: comprehensive docs audit — fix 12 stale/missing items across 10 pages (#3618) 2026-03-28 15:26:35 -07:00