Skip to main content

How to run a website audit in Grok

Add the squirrelscan MCP server to the grok CLI with one command, sign in in the browser, and ask Grok to audit your site against 350+ checks.

Add the hosted MCP server to the grok CLI

bash
grok mcp add --transport http squirrelscan https://mcp.squirrelscan.com/mcp
Or run it locally, free while signed out
350+
audit rules
22
categories
Local
runs on your machine, free while signed out

xAI's grok CLI supports remote MCP servers over HTTP. squirrelscan's hosted server is one, so Grok can run an audit and read back the findings as native tools.

On first use the CLI opens a browser for OAuth, so you approve access there and no token is pasted into the chat. Grok on grok.com also has custom connectors: add one with the MCP URL below, then sign in. We have not verified that route, and it is reported to need a paid plan, so the steps here are the generic ones.

Run it locally

The squirrel CLI on your machine, free while signed out.

  1. Install the squirrelscan CLI (optional)

    Local audits run on your machine, so Grok can shell out to them without any MCP setup. Signed out, they are free and need no account.

    bash
    curl -fsSL https://install.squirrelscan.com | bash
    Install the CLI

Run it hosted

The cloud: rendering, scheduling, the issue tracker and shareable reports.

  1. Add the hosted MCP server to the grok CLI

    Register https://mcp.squirrelscan.com/mcp as an HTTP server. The first time Grok uses it, a browser window opens for OAuth.

    bash
    grok mcp add --transport http squirrelscan https://mcp.squirrelscan.com/mcp
    Grok setup docs
  2. Or add a custom connector on grok.com

    In Grok's connector settings, add a custom connector with the MCP URL https://mcp.squirrelscan.com/mcp, then sign in when prompted. Custom connectors are reported to be limited to paid plans.

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

Frequently asked questions

How do I run a website audit in Grok?
In the grok CLI, run grok mcp add --transport http squirrelscan https://mcp.squirrelscan.com/mcp, sign in when the browser opens, then ask Grok to audit a URL. The server runs 350+ checks and returns issues grouped by rule with fix text.Grok setup docs
Does the grok.com web app work with squirrelscan?
Grok on grok.com has custom connectors, where you add the MCP URL and sign in. We have not verified that route, and it is reported to need a paid plan, so the grok CLI is the documented path.
Is auditing through Grok free?
Local CLI audits are free and need no account when they run signed out or with --offline. Signed in, every audit spends pay-as-you-go credits (50 per audit plus 2 per audited page), a local CLI run or a hosted MCP server audit alike, and run_audit returns a cost estimate to confirm before anything is charged.How credits work
Can Grok audit localhost or a private staging site?
Not through the hosted server, which crawls from squirrelscan's cloud and needs a publicly reachable URL. The local CLI audits anything your machine can reach.

Keep going

Follow the docs quickstart, or see what a finished audit looks like.

Run your first audit from Grok

Onboard your agent in one prompt, or install the CLI and run it yourself.

Or install it yourself

No account needed for the CLI. Cloud audits include free monthly credits.