https://mcp.squasher.ai/mcp, and you sign in with your Squasher account.
This server works with project data. To search these docs from an agent, use the docs MCP server
instead. See Use Squasher from an AI agent.
Connect your client
To register the server with every supported agent CLI on your machine, run the installer. It shows each command and asks before it runs it.- Claude Code
- Cursor
- VS Code
- Codex CLI
- Other clients
claude, run /mcp, select squasher, and complete the sign-in in your browser.Sign in with OAuth
When the client connects, it opens Squasher in your browser.- Sign in to Squasher, if you are not signed in.
- On Allow client to use Squasher?, check the organization and your role.
- Under Access, choose what the client can do.
- Select Allow.
The client gets access to your current organization. Each request is limited by the access that
you chose and by your role, so the assistant cannot do more than you can. Owners and admins can
change project data; members can read, run investigations, and request remote access. To change
the access later, revoke the app (see below) and connect it again.
The access token lasts one hour, and the client refreshes it. The refresh token lasts 90 days.
After that, sign in again.
Squasher uses dynamic client registration and PKCE, so you do not create an OAuth app or a client
secret. Clients that support MCP OAuth connect the same way, for example ChatGPT, Codex, Cursor,
VS Code, OpenCode, pi, oh-my-pi, OpenClaw, and Hermes Agent.
A client can ask for named scopes, for example
errors:read, instead of the default mcp. Then
the consent page lists only those scopes, and you can clear any of them. The scope names are the
same as the API key scopes. If the organization requires SSO,
sign in through its verified SSO provider before you connect the client. Existing sessions and
tokens from another sign-in method need a new SSO sign-in.
Review and revoke connected apps
Account › Connected apps lists the MCP clients and Squasher CLI sign-ins that can act as you, in every organization. Each row shows the client, its access, when you connected it, and when it last renewed its token. Search by client or scope, and filter by type or access. Owners and admins also see Organization › Connected apps. It lists the connected apps of every member, and the member filter shows one person’s apps. Each revoke there is written to the organization audit log. Select Revoke on a row, or Revoke all (or Revoke shown when a filter is on). A revoked app stops working within a minute, and its saved session cannot renew. To use the app again, connect it again and choose its access.search lists only the operations that the connection can call. When a matching operation needs
more access, search says how many it left out, and execute refuses the call with
INSUFFICIENT_SCOPE. To get more access, connect the client again and choose more access.
Use an API key
Use an API key only for CI and headless clients that cannot open a browser. Send it on every request in theAuthorization: Bearer header or the x-squasher-key header.
.mcp.json
The key needs read scopes. The ingest key from the Setup page has only the
events:ingest
scope: it sends data but cannot read it. The dashboard cannot create a key with read scopes yet,
so use OAuth when your client supports it.Find and run operations
The server has two tools. It does not add one tool for each API endpoint, so the tool list stays small.
A typical call to
execute after search("errors.list"):
query. The path must not contain a query string, fragment, dot
segment, backslash, or encoded path separator.
execute accepts only operations that search can find. About 200 operations are available,
including issues, incidents, monitors, dashboards, logs insights, traces, Web Vitals, and on-call.
Key management, subscriber data, and remote-access administration are not available over MCP.
The server gives each execute run up to five minutes and 100 host API calls. The returned JSON is
limited to 100,000 UTF-8 bytes. If the result is larger, the response has truncated: true, the
original output_bytes, a safe preview, and a hint to filter, aggregate, or page inside the
sandbox. These limits belong to the server and cannot be raised by code in the request.
Writes and deletes
Every write runs throughexecute, so your client shows it as JavaScript. Read the snippet before
you approve it. The server refuses operations that it marks as dangerous or destructive, and returns
confirmation_required. These include deletes, key and secret rotation, Railway restarts and
redeploys, and resource rollbacks. Do them in the dashboard or with the
REST API.
Security operations
Agents can investigate security findings and prepare a response over MCP. Changes to secrets and to security policy stay with people.
A proposal from an agent follows the response-action policy.
An irreversible action always waits for a person. A reversible action runs at once only when an
owner or admin turned on auto-run for the project. Turning a rule pack off or on is a dangerous
operation, so the server returns
confirmation_required until you confirm it.
Send feedback to Squasher
Thefeedback.submit operation sends a bug report, an idea, or a docs problem about Squasher to the
Squasher team. It does not go to your project. It is a write, so a read-only session cannot run it.
Handle errors
A failed tool call returns one JSON shape. Branch onerror.code, not on the message.
The server accepts up to 600 requests a minute from one IP address and for one credential.
Fix connection problems
The HTTP event stream can stay open while you use the tools. Keep the connection open for server notifications.- The client shows no tools. Restart the client after you add the server.
- Sign-in fails or the token expired. Clear the authentication for squasher in your client and sign in again.
Invalid API key format. Squasher keys start withsq_. Check the header value.- A project is missing. The session uses the organization that was open in the dashboard when you signed in. Switch organizations in the dashboard, then sign in again from the client.
Next steps
Install agent skills
Teach your assistant the Squasher MCP and query rules.
Use Squasher from an AI agent
Compare the MCP server, the API, and the docs endpoints.
Find the right query
Ask the query guide which surface answers a question.
Browse the API
See the operations that
execute can call.