Connect your coding agent
This page is the short version. If you want the full picture — every tool, the consent screen in detail, and how long scans behave — read the MCP server reference.
1. Add the server
Add this URL as a remote MCP server in your agent:
{connect.serverUrl}
Claude Code
The browser sign-in is the default path — no API key in your config file.
claude mcp add --transport http zeroquarry https://mcp.zeroquarry.com/ChatGPT and Codex
Add the URL as a connector or an MCP server entry; the browser sign-in handles authentication.
OpenCode
Add the URL as a remote MCP server and let the browser sign-in handle authentication.
Cursor
Add the URL to `.cursor/mcp.json`. Cursor has no browser sign-in, so it needs an API key with the `mcp` and `read` scopes.
{
"mcpServers": {
"zeroquarry": {
"url": "https://mcp.zeroquarry.com/",
"headers": { "Authorization": "Bearer zq_..." }
}
}
}Any other MCP client
Add the server URL as a remote MCP server. Leave the `Authorization` header out if the client supports the browser sign-in; otherwise mint an API key with the `mcp` and `read` scopes and pass it as a bearer token.
Leave the Authorization header out if your client supports the browser
sign-in — it gets a refreshable token that way. Otherwise mint an API key with
the mcp and read scopes, and add scans:write if the agent should also be
able to launch scans. The
companion CLI registers the server with the
clients it can detect.
2. Approve the connection
The first sign-in opens a consent screen. It is worth reading, because it is where the connection is identified.
The first sign-in opens a consent screen. It names the client twice on purpose: the client's own name is self-asserted, while a hostname backed by a metadata document is verified because the server fetched that document from the host itself. An anonymously registered client shows a home page marked as self-declared.
The screen shows the requested scope and offers two choices, Approve or Deny. Denying is not a dead end — the refusal is recorded and the client can ask again.
Approval grants a token scoped to what the screen listed, and it is per user and per client: approving in one client does not approve another. The consent follows your account, so deactivating the user or changing their role narrows what the client can do on its next request.
3. Reconnect, then invoke get_started
Reconnect, then invoke `get_started`.
The `get_started` tool returns a plan tailored to this account: the tier limits that apply, how to launch and follow the first scan, and where the depth lives in the skills pack. The server advertises it only until the account has run its first scan — so seeing it in `tools/list` is itself the sign of a new account. Do not use `list_projects` to tell: the first sign-in creates the account together with a default project, so a brand-new account already returns one project. If you want a cheap connectivity check before anything else, call `list_projects` with no arguments — one project back on a brand-new account is expected.Skills
The server serves a skills pack: `skills/list` and `skills/get` for clients that declare the `io.modelcontextprotocol/skills` extension, and the `list_skills` / `load_skill` tools for clients that do not.
A skill is an Agent Skills document that teaches the agent how to drive ZeroQuarry — how to run a security review, how to check for outdated dependencies, how to do a remote or binary scan.
The skills pack reference covers all three ways a client gets the pack.
Where to go next
MCP server reference — The full tool surface, the consent screen, and the long-scan contract.
MCP tools — Every tool with its arguments and its result shape.
Skills pack — The pack, the three ways a client gets it, and how the skills relate to the tools.
First scan — What a scan does and how to read the result.
Source code scans — Connecting a repository and what the source mode covers.
Optional setup
llms.txt is the machine-readable version of this page, at the site root:
llms.txt.