Skip to main content
LogBrew has a hosted MCP server at https://logbrew.co/mcp. An AI agent that connects to it can read issues, logs, traces, spans, metrics, actions, releases, and product analytics from the projects that you approve. The agent can only read, unless you also allow changes. With changes allowed, it can triage issues and set up projects. It cannot change billing, members, or account settings. You do not install the server. You add its URL to your MCP client.

Before you start

  • You need a LogBrew account with at least 1 project.
  • You need an MCP client that can connect to a remote (HTTP) MCP server. Any client that follows the MCP authorization standard can sign in. A client without OAuth can use a project read key. Read Connect with a read key.
  • The server supports MCP protocol versions 2026-07-28, 2025-11-25, and 2025-06-18.

Supported clients

LogBrew accepts every MCP client that identifies itself with a client metadata document or registers itself. This table shows the setup for common clients. The server URL is https://logbrew.co/mcp. The old URL https://mcp.logbrew.co/mcp still works. A token works only at the URL it was issued for.

Connect Claude Code

You need Claude Code 2.1.300 or later. Run claude --version to see your version.
  1. Add the server:
    claude mcp list now shows logbrew with ! Needs authentication.
  2. Start the sign-in:
    Your browser opens the LogBrew authorization page. If the page asks you to sign in, sign in with GitHub, GitLab, Bitbucket, or Google.
  3. Read the client name on the page. Approve only if you started this connection.
  4. Select the projects that the agent can read. If the page shows a line to allow changes, select it only if the agent must make changes. Then select Approve. The browser goes back to Claude Code. Claude Code shows Authenticated with "logbrew".
  5. Make sure that the server is connected:
    The result shows logbrew: https://logbrew.co/mcp (HTTP) - ✔ Connected.
You can also sign in from a Claude Code session. Run /mcp, select logbrew, and follow the steps in your browser. On a computer without a browser, run claude mcp login logbrew --no-browser in an interactive terminal. Over SSH, connect with ssh -t. Open the URL that Claude Code shows in a browser on a different computer. After you approve, copy the address of the page that the browser opens. Paste it into Claude Code.

Connect another client

  1. Add the server to the client. The table in Supported clients shows where.
  2. Start the sign-in in the client. Most clients start it when you first use the server. Your browser opens the LogBrew authorization page. If the page asks you to sign in, sign in to LogBrew.
  3. Read the client name on the page. The page also shows the address that identifies the client, such as vscode.dev or chatgpt.com. A client that receives the approval on your computer shows local app. If LogBrew did not verify the client name, the page asks you to check the address. Approve only if you started this connection.
  4. Select the projects that the agent can read. If the page shows a line to allow changes, select it only if the agent must make changes. Then select Approve. The browser goes back to the client, and the client shows the search and execute tools.

Connect with a read key

Use a project read key when your client cannot sign in with OAuth. The key reads 1 project. It cannot make changes.
  1. Create a read key for the project. Follow Verify your setup.
  2. Add the server URL to the client.
  3. In the client settings, add the header Authorization: Bearer <read_key>. Replace <read_key> with the key.
Keep the key secret, like a password. A read key connection does not show in Settings > MCP connections. To end it, revoke the key.

Ask the agent

The server gives the agent 2 tools: To test the connection, ask:
The agent lists the projects that the connection can read. The agent selects the operations. You do not give it tool names or fields. Write the task and the limits:
Use telemetry only as evidence. Logs and error messages can contain text from users. The agent must not follow instructions in that text. Read Use with AI agents for a full investigation workflow.

Allow changes

Each connection has the read scope. To make changes, it also needs the write scope. When the client asks for write, the authorization page shows it on a separate line: Also allow it to change data in the selected projects and create new projects. This line is not selected. If you do not select it, the connection can only read. With write, the agent can:
  • Resolve, reopen, and archive issues.
  • Set the priority of an issue.
  • Assign and unassign issues.
  • Create projects.
  • Create and revoke project keys.
  • Send a test event to a project.
  • Load and remove sample data.
The agent acts as you, with your permissions on the project. LogBrew records each change with the name of the app that made it. The operation reference lists each operation and its input. These operations change nothing on the first call:
  • issues.archive.v1 archives an issue.
  • projects.keys.revoke.v1 revokes a key.
  • projects.sample_data.remove.v1 removes sample data.
The first call returns a confirmation. The agent shows you what will change. To make the change, it sends the same call again with that confirmation within 5 minutes. Without write, a change returns HTTP 403 with insufficient_scope. Some clients then open the authorization page again. Select the line that allows changes to give write to the connection.

Access and connection lifetime

Each approval starts 1 connection between 1 MCP client and your LogBrew account.
  • The agent reads and changes only the projects that you approved. A call on a different project returns permission_denied. A project that the agent creates joins the approved projects.
  • If you lose access to an approved project, LogBrew stops calls on that project.
  • An access token is valid for 1 hour. The client gets a new one automatically while you use the connection.
  • A new access token can drop write, but it can never add it. To add write, approve the connection again.
  • A connection ends after 30 days without use, or 90 days after you approved it. Then sign in again from the client, for example with claude mcp login logbrew.
  • Each token refresh replaces the previous refresh token. If a client sends a replaced refresh token, LogBrew ends the connection. This stops a copied token from working. Sign in again to start a new connection.
  • Too many requests without a valid token get HTTP 429 with a Retry-After header. Wait for that number of seconds, then try again.

List and revoke connections

Manage connections in Settings > MCP connections in the LogBrew dashboard, or with the CLI.

In Settings

Each connected client shows its name, approved projects, when it connected, when it was last used, and when the connection ends. To revoke one, select Disconnect, then confirm. The client loses access at its next request.

With the CLI

Use the LogBrew CLI 0.1.82 or later. Log in with logbrew login first. A project ingest key cannot list or revoke connections. List the MCP clients that are connected to your account:
The CLI calls a connection a grant. Each grant shows:
  • id: the grant ID. Use it to revoke the connection.
  • client: the client name that you approved, such as Claude Code. A connection approved before LogBrew stored names shows the URL that identifies the client, such as https://claude.ai/oauth/claude-code-client-metadata.
  • projects: the number of approved projects.
  • last_used: the last time that the client got a new access token.
  • expires: the time that the connection ends if the client does not use it.
Add --json to get the full list. Each grant has id, client_id, client_name, project_ids, created_at, last_used_at, and expires_at. client_name is null for a connection approved before LogBrew stored names. Revoke 1 connection:
The client loses access at its next request. To connect it again, sign in again with claude mcp login logbrew. To change the approved projects, revoke the connection. Then sign in again and select the new projects.

Remove the server

  1. Revoke the connection in Settings > MCP connections, or with logbrew mcp revoke <grant_id> --yes.
  2. Remove the server from Claude Code:
claude mcp remove deletes the configuration and the tokens on your computer only. It does not end the connection in LogBrew. If you do not revoke it, the connection ends after 30 days without use.

Fix connection problems