Docs / MCP

MCP setup

Add Beryl by URL to any client that speaks MCP, with nothing to install. Any client works, listed here or not.

Add Beryl by URL

https://api.beryl.so/mcp

Beryl hosts its MCP server, so a client that adds servers by URL connects with nothing installed. The first call opens Beryl's sign-in in your browser; approve it and the client keeps you signed in.

Claude Code
claude mcp add --transport http -s user beryl https://api.beryl.so/mcp
Claude
Settings, Connectors, Add custom connector, then paste the URL. Keep the defaults it detects (Authentication: Sign in now; OAuth client: Register automatically; no request headers). On a Team or Enterprise plan, an org owner may need to add the connector.
ChatGPT
Plugins, the plus button, Add custom MCP server. Paste the URL under Connection and pick OAuth. A workspace plan may need an admin to allow custom servers.
Other clients
Add a remote (Streamable HTTP) MCP server with the URL.
CI
Skip the sign-in: send Authorization: Bearer <token> with a personal access token or a project CI token.

The hosted server has every beryl command as a tool, minus the ones that only work on your machine (signing out, uploading builds and keystores, writing files). It cannot read your files: your agent reads them and passes the content inline. While a run is still going, runs_watch returns after about 40 seconds and your agent calls it again. It is always current, so there is nothing to update.

One-command setup

npx @beryl-so/cli@latest init

Run in a repo, this signs the CLI in, points your agent at the hosted URL above as its beryl MCP server in place of an old local beryl mcp entry, and installs the beryl-test skill. No MCP server runs locally. It asks which agent to wire, or pass the flag for yours:

npx @beryl-so/cli@latest init --claude

Your agent asks you to sign in to Beryl the first time it connects. In Claude Code, sign in with its own /mcp command: pick beryl and approve in the browser.

Manual setup

For a client init does not wire yet, add a remote server with these values:

Name
beryl
Transport
Streamable HTTP
URL
https://api.beryl.so/mcp

Most clients use this shape:

{
  "mcpServers": {
    "beryl": {
      "type": "http",
      "url": "https://api.beryl.so/mcp"
    }
  }
}

Some clients call that top-level key servers or mcp, or name the type remote. Check your client's docs for the wrapper. A client that can't sign in through OAuth sends a personal access token instead (beryl.so, Settings, Access tokens) as Authorization: Bearer beryl_pat_.... Then ask your agent to call whoami; it reads the test guide itself with the guide tool.

Troubleshooting

No beryl tools
MCP config is read at startup. Restart the client, then sign in when it asks.
Tools 401
Your sign-in expired or was revoked. Remove the server and add it again to sign in again.
Old local entry
An entry that runs npx @beryl-so/cli mcp no longer starts. Run npx @beryl-so/cli@latest init again to replace it with the URL.

Still stuck, or using an agent init does not wire yet? Support has the common fixes, and telling us which agent you use is how it gets added.

Every MCP tool is also a beryl command: the CLI reference lists them all, and the rest of the guides are in the docs.