Linear Integration
Manage Linear issues, projects, and cycles
The Linear integration provides access to manage Linear issues, projects, and cycles through the Integrate MCP server.
Installation
The Linear integration is included with the SDK:
import { linearIntegration } from "integrate-sdk/server";Setup
1. Create a Linear OAuth App
- Go to Linear Settings
- Create a new OAuth application
- Configure your redirect URI
- Note your Client ID and Client Secret
2. Configure the Integration on Your Server
Add the Linear integration to your server configuration. The integration automatically reads LINEAR_CLIENT_ID and LINEAR_CLIENT_SECRET from your environment variables:
import { createMCPServer, linearIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
linearIntegration({
}),
],
});You can override the environment variables by passing explicit values:
linearIntegration({
clientId: process.env.CUSTOM_LINEAR_ID,
clientSecret: process.env.CUSTOM_LINEAR_SECRET,
});3. Client-Side Usage
The default client automatically includes all integrations. You can use it directly:
import { client } from "integrate-sdk";
await client.authorize("linear");
const result = await client.linear.createIssue({
teamId: "value",
});
console.log(result);If you're using a custom client, add the integration to the integrations array:
import { createMCPClient, linearIntegration } from "integrate-sdk";
const customClient = createMCPClient({
integrations: [linearIntegration()],
});Configuration Options
Prop
Type
Tools
linear_create_issue
Create a new issue in Linear
Prop
Type
linear_list_issues
List issues in Linear
Prop
Type
linear_get_issue
Get a specific issue by ID or identifier
Prop
Type
linear_update_issue
Update an existing issue
Prop
Type
linear_archive_issue
Archive an issue
Prop
Type
linear_delete_issue
Delete an issue permanently
Prop
Type
linear_search_issues
Search for issues
Prop
Type
linear_add_comment
Add a comment to an issue
Prop
Type
linear_list_users
List users in the workspace
Prop
Type
linear_get_user
Get a specific user by ID
Prop
Type
linear_list_teams
List teams in Linear
Prop
Type
linear_list_workflow_states
List workflow states
Prop
Type
linear_create_workflow_state
Create a new workflow state
Prop
Type
linear_list_projects
List projects in Linear
Prop
Type
linear_get_project
Get a specific project by ID
Prop
Type
linear_create_project
Create a new project
Prop
Type
linear_update_project
Update an existing project
Prop
Type
linear_list_cycles
List cycles (sprints)
Prop
Type
linear_get_cycle
Get a specific cycle by ID
Prop
Type
linear_create_cycle
Create a new cycle (sprint)
Prop
Type
linear_update_cycle
Update an existing cycle
Prop
Type
linear_list_labels
List labels in Linear
Prop
Type
linear_create_issue_relation
Create a relation between two issues
Prop
Type
linear_delete_issue_relation
Delete an issue relation
Prop
Type
linear_list_documents
List documents
Prop
Type
linear_get_document
Get a specific document by ID
Prop
Type
linear_create_document
Create a new document
Prop
Type
linear_update_document
Update an existing document
Prop
Type
linear_list_initiatives
List initiatives
Prop
Type
linear_get_initiative
Get a specific initiative by ID
Prop
Type
linear_create_initiative
Create a new initiative
Prop
Type
linear_create_attachment
Create an attachment (link) on an issue
Prop
Type
linear_create_project_update
Create a status update for a project
Prop
Type
Notes
- Category: Engineering
- Authentication mode: OAuth