← Home

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 ServerWhat It EnablesPackage
FilesystemRead and write local files, list directories@modelcontextprotocol/server-filesystem
GitHubSearch repos, read files, create issues, open PRs@modelcontextprotocol/server-github
PlaywrightBrowser automation, web scraping, screenshots@playwright/mcp
TavilyAI-optimized web search, real-time resultstavily-mcp
ExaNeural web search, research-grade retrievalexa-mcp-server
FirecrawlWebsite crawling, structured data extractionfirecrawl-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.

  1. Go to your Hermes instance dashboard on OpenClaw Launch.
  2. Open the Tools section in the configuration panel.
  3. Enable the tools you want — web search, file access, or shell execution.
  4. 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

FeatureHermes Built-in ToolsExternal MCP Servers
Setup complexityConfig file only (API key)Install + run MCP server process
ScopeFixed to Hermes's supported integrationsAny MCP-compatible server (custom or community)
MaintenanceManaged by Hermes upstreamYou manage the MCP server
Custom toolsNot availableYes — build your own MCP server

What's Next?

Deploy Hermes with MCP Tools

Get a Hermes Agent with web search, file access, and tool integrations in 10 seconds.

Deploy Hermes