Guide
Hermes Agent + MCP: Connect Model Context Protocol Servers
The Model Context Protocol (MCP) lets Hermes Agent interact with external tools, services, and data sources through a standardized interface. Connect filesystem access, GitHub, browser automation, web search, and custom tools to any Hermes deployment.
What Is the Model Context Protocol?
The Model Context Protocol (MCP) is an open standard created by Anthropic that defines how AI agents connect to external tools and data sources. Think of it as a universal plugin interface: an MCP server exposes a set of callable tools, and an MCP-compatible agent — like Hermes — discovers and uses those tools during conversations.
Before MCP, every tool integration required custom code specific to each agent. MCP changes this by providing a single protocol that any tool can implement and any compliant agent can consume. This means the same MCP server for GitHub works with Hermes, OpenClaw, Claude Desktop, and any other MCP-compatible agent.
How Hermes Agent Uses MCP
Hermes Agent supports MCP through its tool system. When an MCP server is connected, Hermes exposes its tools to the underlying AI model. The model can call these tools during a conversation — for example, searching the web when you ask about a recent event, or reading a file when you ask it to review code.
Hermes's upstream capabilities include Tavily, Exa, Parallel, and Firecrawl search integrations, as well as shell execution — all implemented through the tool-calling layer that MCP builds on. See the upstream README for the current list of built-in tool integrations.
Popular MCP Servers for Hermes Agent
Here are commonly used MCP servers that extend Hermes with real-world capabilities:
| MCP Server | What It Enables | Package |
|---|---|---|
| Filesystem | Read and write local files, list directories | @modelcontextprotocol/server-filesystem |
| GitHub | Search repos, read files, create issues, open PRs | @modelcontextprotocol/server-github |
| Playwright | Browser automation, web scraping, screenshots | @playwright/mcp |
| Tavily | AI-optimized web search, real-time results | tavily-mcp |
| Exa | Neural web search, research-grade retrieval | exa-mcp-server |
| Firecrawl | Website crawling, structured data extraction | firecrawl-mcp |
Adding MCP Servers on OpenClaw Launch
On OpenClaw Launch managed Hermes deployments, tool integrations are configured through the dashboard. The most common integrations (web search via Tavily/Exa, shell execution) are available as toggles in the agent configuration UI.
- Go to your Hermes instance dashboard on OpenClaw Launch.
- Open the Tools section in the configuration panel.
- Enable the tools you want — web search, file access, or shell execution.
- Save the configuration. Hermes hot-reloads tool settings — no restart required for most changes.
Adding MCP Servers to Self-Hosted Hermes
For self-hosted Hermes Agent, MCP servers are configured in the Hermes config.yaml at /opt/data/config.yaml. The exact configuration format depends on your Hermes version — consult the upstream README for the current MCP server configuration section.
In general, MCP servers are added by specifying the server package and any required arguments or API keys in the tools section of the config. Example for a Tavily web search integration:
# In /opt/data/config.yaml — tools section
# Example: enabling Tavily web search
# (refer to upstream README for exact field names in your version)
tools:
web_search:
enabled: true
provider: tavily
api_key: tvly-...After editing config.yaml, restart the Hermes container to apply the changes (Hermes requires a restart to pick up tool configuration changes).
Built-in Hermes Tool Capabilities
Hermes Agent ships with several tool integrations built-in, without requiring separate MCP server processes:
- Web search — Tavily, Exa, Firecrawl, and Parallel are supported as search providers. Requires the respective API key.
- Shell execution — Hermes can execute shell commands in a sandboxed environment. Requires explicit enablement and an approval policy setting.
- Image generation — FAL.ai integration for text-to-image. Requires a FAL API key.
- Code execution — Execute Python and other code inline. Subject to the approval policy.
MCP vs Hermes Built-in Tools
| Feature | Hermes Built-in Tools | External MCP Servers |
|---|---|---|
| Setup complexity | Config file only (API key) | Install + run MCP server process |
| Scope | Fixed to Hermes's supported integrations | Any MCP-compatible server (custom or community) |
| Maintenance | Managed by Hermes upstream | You manage the MCP server |
| Custom tools | Not available | Yes — build your own MCP server |
What's Next?
- Hermes Agent Skills — Overview of all skill categories available for Hermes
- Hermes Agent + Anthropic — Use Claude with Hermes for strong MCP tool-calling
- Hermes Agent + DeepSeek — Cost-efficient model for tool-heavy agent workflows
- Hermes Agent on a VPS — Self-host Hermes with full MCP server control