URL: /developers/agents/muse

---
title: "squirrelscan for Muse Code"
sidebarTitle: "Muse"
description: "Set up squirrelscan in Meta's Muse Code: an mcp_servers entry with the streamable_http transport in settings.json, then muse mcp login."
icon: "bot"
---

{/* Sources: https://dev.meta.ai/docs/muse-code/configuration (settings file at
    ~/.config/muse/settings.json, "schema_version": 1 required) and
    https://dev.meta.ai/docs/muse-code/extending (mcp_servers, `muse mcp login <server>`),
    both checked 2026-11-26.
    The extending page shows a JSON entry only for a stdio server; for streamable_http it says
    the server takes `url` and `headers`. No streamable_http JSON snippet is given here on purpose.
    The consumer Muse app: no custom connector route is documented. Nothing was run end to end. */}

Muse Code is Meta's coding agent. It reads MCP servers from its settings file, so squirrelscan's tools are available 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. Signed out, they need no account and cost nothing; signed-in audits spend credits. Verify with `squirrel --version`.

## 2. Add the MCP server

User settings live in `~/.config/muse/settings.json`, and the file must contain `"schema_version": 1`. Under `mcp_servers`, add a `squirrelscan` entry with the `streamable_http` transport and the URL:

```text
https://mcp.squirrelscan.com/mcp
```

Muse's [extending guide](https://dev.meta.ai/docs/muse-code/extending) shows the entry layout for MCP servers. A `streamable_http` server takes a `url` (and optional `headers`) in place of the stdio fields, and sets `"transport": "streamable_http"`.

## 3. Sign in with OAuth

```bash
muse mcp login squirrelscan
```

A remote server that asks for OAuth 2.1 is signed in through the browser or headless, and Muse Code stores and renews the tokens. Do not paste a token into a chat.

<Note>The sign-in step has not been verified by a human yet.</Note>

The consumer Muse app has no documented custom connector route yet.

## 4. Install the skills

```bash
squirrel skills install
```

That installs `audit-website` (the fix loop) and `squirrelscan` (operating the CLI). 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#muse-code">
    Config for every other client.
  </Card>
</CardGroup>
