Linear MCP Server Extension for Zed logo

Linear MCP Server Extension for Zed

by dvcrn

This extension integrates a Linear MCP Server into Zed's AI Assistant, enabling direct interaction with Linear through Zed. It allows users to manage Linear issues and projects directly within the Zed editor.

View on GitHub

Last updated: N/A

What is Linear MCP Server Extension for Zed?

This is a Zed extension that connects to a Linear MCP (Message Control Protocol) server, allowing Zed's AI assistant to interact with the Linear issue tracking system. It provides a set of tools for creating, updating, and managing Linear issues, projects, and milestones directly from within the Zed editor.

How to use Linear MCP Server Extension for Zed?

To use this extension, you need to obtain a Linear API key (either a Developer Token or a Personal API Key) and configure it within Zed's settings.json file, specifically in the 'context_servers' section under 'mcp-server-linear'. You can also add these keys directly into an Agent profile. Multiple workspaces can be supported using the tool_prefix setting.

Key features of Linear MCP Server Extension for Zed

  • Full Linear API integration through MCP

  • Create, update, and manage issues directly from Zed

  • Comment management (create, update, delete, resolve)

  • Project and milestone management

  • Multiple workspace support

  • Advanced issue search and filtering

  • Label management

  • Parent/child issue relationships

Use cases of Linear MCP Server Extension for Zed

  • Managing Linear issues without leaving the Zed editor

  • Automating issue creation and updates using Zed's AI assistant

  • Integrating Linear with other Zed features and extensions

  • Working with multiple Linear workspaces simultaneously

  • Streamlining project management workflows within Zed

FAQ from Linear MCP Server Extension for Zed

How do I get a Linear API key?

You can obtain a Linear API key by going to Linear: Workspace Settings > API > OAuth application > Create or select an application (e.g., 'Cline MCP') and creating a Developer Token, or by going to Linear: Your Personal Settings > API > Personal API Keys and creating a Personal API Key.

Where do I configure the Linear API key in Zed?

You configure the Linear API key in Zed's settings.json file, within the 'context_servers' section, under the 'mcp-server-linear' configuration.

How do I support multiple Linear workspaces?

You can support multiple Linear workspaces by using the optional tool_prefix setting in the Zed configuration. This prefixes all Linear tools, distinguishing between workspaces.

Can I run multiple instances of the MCP server simultaneously?

Yes, you can run multiple instances of the MCP server simultaneously by configuring different command blocks with unique TOOL_PREFIX values.

What is the purpose of the tool_prefix setting?

The tool_prefix setting is used to prefix all Linear tools, making it clear which workspace each tool is operating on and preventing conflicts when working with multiple Linear instances.