URL: /developers/agents/hermes

---
title: "Website audits in Hermes Agent"
sidebarTitle: "Hermes Agent"
description: "Run a website audit in Hermes Agent: add squirrelscan under mcp_servers in config.yaml, log in with OAuth, then ask it to audit your site."
icon: "message-square-code"
---

{/* Tested 2026-11-26 in a Linux sandbox with Hermes Agent v0.23.4 (2026.9.24), installed with the
    vendor install script. Verified: the mcp_servers block below is read by `hermes mcp` and
    `hermes mcp test squirrelscan` reports "Transport: HTTP, Auth: OAuth 2.0". Not verified: OAuth
    discovery. `hermes mcp login squirrelscan --flow browser` in the headless sandbox ended with
    "no OAuth token was obtained" and printed no authorize URL; the cause was not isolated.
    `--flow device` fails with "Server does not advertise device authorization": squirrelscan's
    authorization server has no device authorization endpoint, so the device flow is not usable.
    No login was completed. */}

To run a website audit in Hermes Agent, add squirrelscan under `mcp_servers` in `config.yaml` and ask it to audit your site. For a step-by-step walkthrough, see the [Hermes Agent guide](https://squirrelscan.com/for/hermes).

Hermes Agent is Nous Research's open source agent. It speaks MCP over HTTP with OAuth, so squirrelscan's tools appear as `mcp_*` tools in a session.

## 1. Install the CLI

The skills and local audits run through the `squirrel` binary.

<Tabs>
  <Tab title="macOS / Linux">
    ```bash
    curl -fsSL https://install.squirrelscan.com | bash
    ```
  </Tab>
  <Tab title="Windows">
    ```powershell
    iwr -useb https://install.squirrelscan.com/install.ps1 | iex
    ```
  </Tab>
</Tabs>

Local audits run entirely on your machine. Logged out, they need no account and cost nothing; logged-in audits spend credits. Verify with `squirrel --version`.

## 2. Add the MCP server

Add this block to `~/.hermes/config.yaml`:

```yaml
mcp_servers:
  squirrelscan:
    url: "https://mcp.squirrelscan.com/mcp"
    auth: oauth
```

## 3. Log in with OAuth

Run the login on a machine with a browser:

```bash
hermes mcp login squirrelscan
```

Hermes registers a client, opens the browser, and stores the token itself. Check the connection:

```bash
hermes mcp test squirrelscan
```

<Warning>Do not use `--flow device` with squirrelscan. The server does not offer the device code flow, and Hermes stops with "Server does not advertise device authorization".</Warning>

**Headless machines.** Run `hermes mcp login squirrelscan` over SSH with the loopback callback forwarded to your laptop, as the [Hermes guide to OAuth over SSH](https://hermes-agent.nousresearch.com/docs/guides/oauth-over-ssh) describes. For unattended hosts, use an API key header instead of OAuth.

<Note>The final login step has not been verified by a human yet.</Note>

## 4. Install the skills

```bash
squirrel skills install
```

That installs `audit-website` (the fix loop) and `squirrelscan` (operating the CLI). Hermes also reads skills from `~/.hermes/skills`. See [`squirrel skills`](/cli/skills).

## 5. Run an audit

Ask for the audit, then hand it the fixes:

```text
Audit https://nutshop.squirrelscan.com with squirrelscan and list the top issues by severity.
```

```text
Fix every core/title-missing and images/alt-missing issue, then re-audit to confirm the score went up.
```

<Note>The hosted MCP server crawls from squirrelscan's cloud, so it needs a publicly reachable URL. Use the CLI or [`squirrel mcp`](/cli/mcp) for `localhost` and private staging websites.</Note>

## Next steps

<CardGroup cols={2}>
  <Card title="Hosted MCP server" icon="plug" href="/developers/mcp">
    The full tool list, auth, and credits.
  </Card>
  <Card title="MCP client setup" icon="toy-brick" href="/developers/mcp-clients#hermes-agent">
    Config for every other client.
  </Card>
</CardGroup>
