How to Connect Hermes Agent to MCP with Arcade.dev Arcade.dev's MCP gateway enables Nous Research's Hermes Agent to access thousands of agent-optimized tools through a single endpoint, solving configuration sprawl and credential management. The gateway supports native OAuth for authentication and vaults downstream credentials away from the agent process. Developers can connect Hermes to the gateway using a single MCP server configuration with OAuth, avoiding static tokens and reducing token waste from raw API wrappers. For developers running Nous Research's Hermes Agent, connecting to a remote Model Context Protocol MCP server is straightforward. But as you add more services, you run into real problems: configuration sprawl, credential management, and raw API wrappers that cause the language model to hallucinate parameters and burn tokens. Arcade.dev's MCP gateway gives your Hermes Agent access to thousands of agent-optimized tools through a single endpoint, with downstream credentials vaulted away from the agent process and native OAuth for gateway authentication. Scope note: One person, one Hermes profile, one gateway process. A shared multi-user service needs per-user MCP connections and token storage, plus an appropriate isolation boundary containers or OS-level separation, since Hermes profiles are not sandboxes https://hermes-agent.nousresearch.com/docs/user-guide/profiles profiles-vs-workspaces-vs-sandboxing . Arcade User Sources https://docs.arcade.dev/en/guides/user-sources can provide external identity for production agents, but do not add per-user MCP isolation to Hermes by themselves. That architecture is a separate problem. uv pip install -e ". mcp " . auth: oauth in ~/.hermes/config.yaml . Do not put a static ARCADE API KEY in the config; Hermes's native OAuth flow establishes a user-bound session in Arcade. tools.authorize API tools.include / tools.exclude for least privilege.Before connecting to Arcade, make sure your base Hermes Agent installation supports the Model Context Protocol. The standard installer includes MCP support by default. If you're working from source or managing a custom environment, install the MCP extras from the repository root: uv pip install -e ". mcp " Once installed, Hermes routes connections through the mcp servers block in config.yaml . For a basic test against a standard HTTP MCP server, define the connection and inject a static Bearer token: mcp servers: remote test api: url: "https://mcp.internal.example.com" headers: Authorization: "Bearer ${REMOTE TEST API KEY}" This pattern is fine for a single developer hitting an internal test server they control. For remote servers that support OAuth, prefer Hermes's native OAuth flow instead of static tokens. The recommended way to connect Hermes to OAuth-protected remote MCP servers, including Arcade, is through its native OAuth 2.1 support. Set auth: oauth in the configuration block. When configured, Hermes handles dynamic client registration, prints an authorization URL to the terminal, opens your browser, and waits for the callback on a local loopback port. mcp servers: my server: url: "https://example.com/mcp" auth: oauth After saving an OAuth configuration, run hermes mcp login