NewAgent Observability — find failures before customers do.
Back to directory
LinearB logo

LinearB MCP server: ask about cycle time and DORA metrics

What the hosted server reaches, how each client connects to it, and why every metric it returns needs a time window and a team.

Connector
Official, hosted
Coverage
Engineering metrics, PRs, releases
Tools
12 in the March 2026 docs
Biggest risk for an agent
Metrics need a team and time window

Checked 3 October 2026 · from LinearB's help-centre articles on the MCP server, an archived March 2026 copy, and the live endpoint's OAuth metadata

One of 91 guides to monitoring and developer tools. Each covers what an AI coding agent can get out of the tool through MCP, the protocol that lets the agent query the tool directly.

Summary

LinearB runs a hosted MCP server at `https://mcp.linearb.io/mcp`. Its help centre states it is generally available to Company Admins, Editors and Viewers.

OAuth is the recommended sign-in and needs no stored key. An organization-scoped API key, sent as an x-api-key header, covers clients that cannot do OAuth.

The server answers questions about delivery, quality, throughput, DevEx and DORA metrics, plus pull requests, releases, incidents, teams and AI Analytics. LinearB's docs warn that answers can be incomplete and should be checked in the dashboard.

What is the LinearB MCP server?

LinearB is an engineering-intelligence platform. It reads from Git providers, issue trackers and CI to report cycle time, throughput, review latency and AI tool usage.

MCP (the Model Context Protocol) is the standard AI clients use to call outside tools. With LinearB connected, an assistant can ask how long reviews took last sprint without anyone opening a LinearB dashboard.

The help centre has documented the server since 17 September 2025, when the "Exploring the Power of LinearB's MCP Server" article was published. It was labelled Beta then and is generally available now.

Where LinearB documents and serves the MCP server:

WhereWhat is thereState
https://mcp.linearb.io/mcpThe hosted endpoint; 401 with OAuth metadata when called without credentialsLive
Help centre, "MCP Server"Availability, data domains, prompt library, troubleshootingDocumented
Help centre, "Connect to LinearB MCP Server"OAuth and API-key setup for eight named clientsDocumented
docs.linearb.ioA separate MkDocs site for other LinearB products, without the MCP articlesNot the MCP docs
Sudhir-Dharan/LinearB-MCP-ServerA third-party project, unrelated to the hosted serverMIT · 0 stars · pushed 14 August 2025

A hosted server has no package or repository to install. The help centre at linearb.helpdocs.io is where setup lives.

LinearB measures delivery, so the server reaches code review and release data and stops before production telemetry.

Part of the workWhat LinearB has hereCan an agent reach it
Code, tests & reviewPull requests, branches, review time, cycle timeYes. Pull request search, cycle-time breakdowns and urgent PR reports are documented uses
CI & releaseReleases, deployment frequency, DORA metricsYes. Releases and DORA metrics are listed data domains, with a ready-made release report prompt
Production observabilityIncidents and servicesPartial. Incident and service records are reachable; no metrics, logs or traces from running systems
Agent observability & evalsAI AnalyticsPartial. Reports AI tool adoption and its effect on delivery, not what a model did inside your own agent
AI cost managementNoneNo model spend or token cost data

The strongest use is a manager's question about a team over a period: cycle time, merge rate, release contents. The server reports on engineering work; it does not observe running software.

What can an AI agent do with LinearB?

LinearB's current docs describe data domains rather than tool names. The help-centre article as captured on 7 March 2026 listed twelve tools: metrics, repositories, contributors, releases, incidents, issues, services, users, teams, branches, pull_requests and pm_entities.

Can LinearB watch your own AI agents?

LinearB's AI Analytics reports on engineers' use of AI coding tools. It does not record the calls your own agent makes, so most agent-observability signals fall outside it.

SignalCoveredNotes
Trace and session trackingNoAI Analytics reports which tools engineers used and how that relates to delivery, not individual model calls
Eval scores on recorded trafficNoNo evaluation data appears among the documented data domains
Prompt version trackingNoThe prompt library holds report templates, not versioned prompts from your application
Offline experimentsNoNo dataset-backed run is documented
Token and cost trackingNoAI usage is reported per engineer and pull request, and no token or spend figure is documented

LinearB MCP server limits: where answers come back incomplete

Each limit below comes from the server answering with aggregates over people and time.

The agent says: “Cycle time is 3.2 days.” Over which period, and for whom?

Every LinearB metric is an aggregate over a window and a set of teams. Dropping either makes the number unusable, and it still reads like an answer.

LinearB's own guidance asks users to be specific about timeframe, team, repository and metric in each question.

Guard: Require the window and the scope alongside every figure, as the disclosure block above does.

The agent says: “Team Alpha's merge rate dropped 20% last quarter.” The summary may be incomplete.

The help centre states that responses "may occasionally be incomplete or inaccurate" because the client model interprets the question and summarises the returned data.

Guard: Reproduce any figure headed for a report or decision in the LinearB dashboard first.

The agent says: “I found the LinearB MCP server on GitHub.” That is an unrelated third-party project.

Sudhir-Dharan/LinearB-MCP-Server appears in a GitHub search. It has no description, no stars and no activity since 14 August 2025, and LinearB's docs do not mention it.

Guard: Connect to https://mcp.linearb.io/mcp as LinearB documents, and ignore repositories found by search.

How to configure LinearB MCP for agents

  1. 1

    Use OAuth where the client supports it

    Access then follows the signed-in user's LinearB role, and no key sits in a config file.

  2. 2

    Treat an API key as organization-wide

    LinearB's examples name it LINEARB_ADMIN_API_KEY. Store it as a secret; LinearB documents a Kubernetes Secrets pattern for this.

  3. 3

    Decide who can query people metrics

    Contributor-level cycle time and review data describe individuals, so the user role matters.

  4. 4

    Check headline figures in the dashboard

    LinearB's own guidance says to verify important results before official reporting.

Paste this into your agent’s instructions

Every LinearB metric is an aggregate over a period and a set of people. The block below makes the agent state both, so a figure cannot travel without its scope.

Terminal
When you answer using LinearB MCP tools, state:
- The tool you called and the metric it returned.
- The date range and the teams or repositories the metric
  covers.
- Any filter you applied, such as a team, contributor or
  service.
- That engineering metrics describe a period, so a figure
  without its window means nothing.
Never state that data does not exist. State the tool you
called and what it returned.
Write your answer in ASD-STE100 Simplified Technical
English. Use short sentences with one idea in each.

Do you need the MCP server at all?

LinearB's dashboards remain the place to verify figures, and are faster for a recurring report than a chat question.

Faros AI and Sleuth cover overlapping engineering-intelligence ground, each with its own connector.

DORA inputs are also reachable from the source systems. GitHub and GitLab both expose pull request and pipeline data through documented MCP servers.

Ad hoc questions across teams and periods, answered without building a dashboard view first.

Connect it if you already use LinearB and want ad hoc metric questions answered in chat. Keep official reporting in the dashboard.

LinearB MCP server setup

Every client points at https://mcp.linearb.io/mcp. OAuth sends you to LinearB to sign in and approve access, and needs no key.

For an API key, create one under Settings, API Tokens in LinearB and send it as the x-api-key header.

Claude Code

Add the server, then run /mcp, select linearb and choose Authenticate. Add --scope user or --scope project to control where the entry is saved.

Terminal
claude mcp add --transport http linearb https://mcp.linearb.io/mcp

# with an API key instead of OAuth
claude mcp add --transport http linearb https://mcp.linearb.io/mcp \
  --header "x-api-key: <your-linearb-api-key>"

Cursor

In ~/.cursor/mcp.json. Restart Cursor and approve access in the browser window that opens.

Terminal
{"mcpServers":{"linearb":{"url":"https://mcp.linearb.io/mcp"}}}

Codex CLI

Codex adds the server and runs the OAuth login from the command line.

Terminal
codex mcp add linearb --url https://mcp.linearb.io/mcp
codex mcp login linearb

Every other client

Each block below is the configuration for one client, with the file path and the key that client expects.

Claude Desktop

Settings, Connectors, Manage Connectors, Add custom connector, then enter https://mcp.linearb.io/mcp. Claude prompts you to Connect the first time LinearB is used.

Custom connectors may need a paid Claude plan.

VS Code Copilot

.vscode/mcp.json per workspace, or your user profile, with "type": "http" on the entry.

Terminal
{"servers":{"linearb":{"type":"http","url":"https://mcp.linearb.io/mcp"}}}

`.vscode/mcp.json` uses the key `servers`. VS Code's portable files, .mcp.json at the project root and ~/.copilot/mcp-config.json, use mcpServers. VS Code recommends them for new servers.

Windsurf

~/.codeium/windsurf/mcp_config.json. LinearB notes Windsurf handles the OAuth flow natively; the URL field is serverUrl.

Terminal
{"mcpServers":{"linearb":{"serverUrl":"https://mcp.linearb.io/mcp"}}}
Cline

LinearB's instructions run Cline through mcp-remote, a small bridge that lets a stdio-only client reach a remote server.

Terminal
{"mcpServers":{"linearb":{"command":"npx",
  "args":["mcp-remote","https://mcp.linearb.io/mcp"]}}}
Zed

~/.config/zed/settings.json, also through mcp-remote in LinearB's example.

Terminal
{"context_servers":{"linearb":{"command":"npx",
  "args":["-y","mcp-remote","https://mcp.linearb.io/mcp"]}}}

The key is `context_servers`. Zed does not call them MCP servers in config, so searching its settings for mcp finds nothing.

Read-only access, permissions and security

  • The server inherits broad access

    LinearB connects to Git providers, issue trackers and CI, so a connected agent sees a wide slice of engineering activity.

  • Engineering metrics describe people

    Cycle time and review latency aggregate individual behaviour, which makes access control a people question as well as a data one.

  • API keys are organization-scoped

    A key gives the agent the organization's view rather than one user's, so prefer OAuth for people and keep keys for service accounts.

  • No write operations are documented

    The help centre describes querying and reporting only; confirm before granting an agent any role above Viewer.

Troubleshooting

The client cannot find the LinearB server
Check the URL is exactly https://mcp.linearb.io/mcp, the server is enabled in the client, and the client was restarted after the config change.
Authentication keeps failing
Confirm you are signing in to the right LinearB organization and have Company Admin, Editor or Viewer access. For an API key, check it has not been rotated or revoked.
The browser never opens for OAuth
The client may not support OAuth. Use the x-api-key header, or the mcp-remote bridge that LinearB documents for Cline and Zed.
A figure does not match the dashboard
Ask one question at a time with a clear timeframe, team and repository, then compare with LinearB directly. LinearB support asks for the saved prompt and response.

LinearB MCP server: Reference

ItemValue
Endpointhttps://mcp.linearb.io/mcp
AvailabilityGenerally available to Company Admins, Editors and Viewers
AuthOAuth (recommended), or an x-api-key header
Documented clientsClaude Desktop, Claude Code, Cline, Codex, Cursor, VS Code, Windsurf, Zed
Tools listed in March 2026metrics, repositories, contributors, releases, incidents, issues, services, users, teams, branches, pull_requests, pm_entities
PromptsMerge rate, lead time, urgent PR and release reports
First help article17 September 2025
Third-party optionSudhir-Dharan/LinearB-MCP-Server · MIT · 0 stars · pushed 14 August 2025

What engineers report

Public engineering discussion of the server is thin. LinearB's help centre is the main written record, and its timeline is below.

What was checkedWhat it shows
Help-centre articles in the MCP category5
First article published17 September 2025
Status in the March 2026 docsBeta
Status on 3 October 2026Generally available
Clients with setup steps8
Third-party servers on GitHub1, at 0 stars

Help-centre articles and the MCP category retrieved 3 October 2026, with article dates from their structured metadata. The March 2026 tool list comes from the Internet Archive capture of 7 March 2026. GitHub searched for linearb and mcp on 3 October 2026.

Should you connect an agent to LinearB?

Yes. Best for engineering managers preparing retrospectives, release reviews and team comparisons.

Strongest fit
Yes, if your organization already runs LinearB and managers want to ask metric questions in an AI client.
Main advantage
It is hosted with OAuth and documented for eight clients, so setup is one URL and a browser approval.
Main weakness
Current docs list data domains rather than tool names, so you learn the exact tools only after connecting.
Operational risk
People metrics reach whoever holds an organization API key, and summaries can drift from the dashboard.

From Oodle

One platform for agent traces and infrastructure

Agent traces usually sit in a different product from the rest of your telemetry, so when a slow database makes an agent slow the symptom is in one tool and the cause is in another. Oodle keeps both in one query surface.

See agent observability

Frequently asked questions

Does LinearB have an MCP server?

Yes. LinearB hosts it at https://mcp.linearb.io/mcp, and it is generally available to Company Admins, Editors and Viewers.

Where are the setup instructions?

On LinearB's help centre at linearb.helpdocs.io, in the "Connect to LinearB MCP Server" article. It covers Claude Desktop, Claude Code, Cline, Codex, Cursor, VS Code, Windsurf and Zed.

Do I need an API key?

No. OAuth is recommended and needs no key. An organization-scoped API key sent as x-api-key covers clients without OAuth.

What can it answer?

Delivery, quality, throughput, DevEx and DORA metrics, plus pull requests, repositories, contributors, releases, incidents, teams, project management entities and AI Analytics.

Changelog

  • 17 September 2025. LinearB publishes "Exploring the Power of LinearB's MCP Server" on its help centre.
  • 28 November 2025. The "MCP Server" feature article is published, then labelled Beta.
  • 7 March 2026. Archived docs show the hosted endpoint, a Claude Code command and twelve named tools.
  • 22 September 2026. The "MCP Server" article, now stating general availability, is last modified.

Sources

Every number on the page traces to one of these

  1. LinearB help centre: MCP Server, retrieved 3 October 2026
  2. LinearB help centre: Connect to LinearB MCP Server, retrieved 3 October 2026
  3. LinearB help centre: MCP Server category, retrieved 3 October 2026
  4. Internet Archive capture of the MCP Server article, 7 March 2026
  5. OAuth protected-resource metadata, retrieved 3 October 2026
  6. Sudhir-Dharan/LinearB-MCP-Server, via the GitHub API, retrieved 3 October 2026

LinearB’s own MCP documentation

Also engineering intelligence:

The source systems behind the metrics: