Configuring the MCP Server in LinearB
This article explains how to configure the LinearB MCP (Model Context Protocol) server using mcp-remote. Once configured, Claude Desktop can connect to the LinearB MCP server, allowing you to securely use LinearB-specific prompts and extended capabilities directly in Claude. The guide covers prerequisites, installation steps for different operating systems, configuration details, and how to access the Prompts panel in Claude Desktop.
Updated
by Steven Silverstone
This article describes how to configure the LinearB MCP (model context protocol) using mcp-remote, which enables Claude Desktop to communicate with a remote LinearB MCP server. Once configured, Claude Desktop can use the LinearB MCP server via mcp-remote.

Prerequisites
Make sure you have the following:
- Brew installed (for Mac)
- Claude Desktop installed
- Your LinearB API Key

Installation Procedure
- Run
node --version
in a terminal to check if Node.js is installed.
- If Node.js is installed, the command output displays a version number, for example v18.x.x.
- If Node.js is not installed, proceed with the relevant installation method, as described below.
OS | Procedure |
Windows/macOS |
|
MacOS (via Homebrew) | Run |
Linux (Debian/Ubuntu) | Run |
- Make the command line interface (CLI) available globally, by running
npm install -g mcp-remote
. - Locate the executables:
- Get path to node:
which node
- Get path to mcp-remote:
which mcp-remote
On Windows (Command Prompt or PowerShell), use:
where node
where mcp-remote
- Save the two paths—they will be needed to configure Claude.
- In Claude, go to Settings > Developer > Edit Config
- Add the following JSON block:
{
"mcpServers": {
"linearb": {
"command": "FULL_PATH_TO_NODE",
"args": [
"FULL_PATH_TO_MCP_REMOTE",
"https://mcp.linearb.io/mcp",
"--header",
"x-api-key: YOUR-API-KEY"
]
}
}
}
- Replace the following in the JSON block:
- FULL_PATH_TO_NODE: from which node or where node
- FULL_PATH_TO_MCP_REMOTE: from which mcp-remote or where mcp-remote
- YOUR-API-KEY: your actual LinearB API Key
- Save the config file.
- Restart Claude Desktop.

Usage
Once configured, the MCP server allows you to:
- Manage settings through a single JSON file instead of multiple manual configurations.
- Authenticate securely with your LinearB API token.
- Apply consistent configuration across environments.
- Access extended capabilities beyond the public API, using supported internal endpoints.
- Access Claude’s built-in Prompts panel to use LinearB-specific prompts.

Accessing the Prompts Panel in Claude Desktop
- Open Claude Desktop. From the welcome screen, you’ll see the main prompt bar.
- Click +, and select Add from LinearB Metrics to load the set of unique LinearB prompts.
- Once enabled, these prompts will appear directly in the Claude interface, allowing you to quickly generate PR reports, lead time reports, merge rate reports, and other LinearB-specific outputs without additional configuration.




Related Articles
How did we do?