Skip to content

Context7 Platform -- Up-to-date docs for AI agents

Add Hermes Agent guide to MCP clients docs (#2462)

Fahreddin Özcanabf293eddc1a
diff --git a/docs/resources/all-clients.mdx b/docs/resources/all-clients.mdx
index f25ba85e..b4951860 100644
--- a/docs/resources/all-clients.mdx
+++ b/docs/resources/all-clients.mdx
@@ -617,6 +617,52 @@ Or, for a local server:
</Accordion>
+<Accordion title="Hermes">
+
+Use the Hermes CLI or edit `~/.hermes/config.yaml` directly. See the [Hermes CLI docs](https://github.com/nousresearch/hermes-agent/blob/main/website/docs/reference/cli-commands.md) for more info.
+
+#### Remote Server Connection (API Key)
+
+Add this to your Hermes config file (`~/.hermes/config.yaml`).
+
+```yaml
+mcp_servers:
+ context7:
+ url: "https://mcp.context7.com/mcp"
+ headers:
+ CONTEXT7_API_KEY: "YOUR_API_KEY"
+```
+
+#### Remote Server Connection (OAuth)
+
+```yaml
+mcp_servers:
+ context7:
+ url: "https://mcp.context7.com/mcp/oauth"
+ auth: oauth
+```
+
+#### Using CLI (OAuth)
+
+```sh
+hermes mcp add context7 --url https://mcp.context7.com/mcp/oauth --auth oauth
+```
+
+#### Local Server Connection
+
+```yaml
+mcp_servers:
+ context7:
+ command: "npx"
+ args: ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
+```
+
+<Note>
+Start with the API key method if you want the most direct setup. Hermes also supports OAuth for remote MCP servers via `auth: oauth`. On headless setups, Hermes may print an authorization URL to stdout or logs for you to open manually. If `hermes mcp add ... --auth oauth` drops into the interactive agent without saving the server entry, add the `mcp_servers.context7` config manually, then run `hermes mcp test context7` to trigger the auth flow and verify the connection.
+</Note>
+
+</Accordion>
+
<Accordion title="Using Bun or Deno">
Use these alternatives to run the local Context7 MCP server with other runtimes.