Astrail
Back to Marketplace
Executable connectorProject managementJul 22, 20260 calls

Linear Connector

Executable Linear connector for issue search, teams, projects, and approved issue creation.

Credential setup

bearer

Attach a Linear OAuth access token (Bearer). Personal API keys use a different Authorization format and are intentionally not accepted by this preset.

Setup docs: https://linear.app/settings/api

After adding this connector, attach the credential on the server page, then run astrail tools list.

Hosted MCP endpoint

/api/mcp/preset-linear

Private servers require an Astrail API key in the Authorization header.

MCP client snippets

Connect

Claude Desktop config

{
  "mcpServers": {
    "linear-connector": {
      "url": "/api/mcp/preset-linear"
    }
  }
}

cURL initialize

curl -sS -X POST "/api/mcp/preset-linear" \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'

cURL tools/list

curl -sS -X POST "/api/mcp/preset-linear" \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'

cURL tools/call

curl -sS -X POST "/api/mcp/preset-linear" \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"linear_search_issues","arguments":{}}}'

Runtime behavior

Runtime healthhealthy
Endpoint healthnot_checked
Execution modesafe_rest_execution
Deterministic executionSupported
Generated sourceExport only
Endpoint mapAvailable
Endpoint mappedYes
Auth-required endpointsPresent
Browser runtime endpointsNone detected
Last statusnot recorded
Last execution modenot recorded
Last toolnot recorded
Last latencynot recorded
Upstream statusnot recorded
Trace IDnot recorded
Error codenone
Observabilitystructured fallback
Rate limit modestandard
Missing authauth_required / oauth_required
Missing mappingmapping_required

Astrail does not evaluate generated TypeScript inside Next.js. Hosted calls are routed through stored tool metadata and endpoint maps.

Tools

8
linear_search_issues

Search Linear issues by text.

linear_get_issue

Get a Linear issue by ID.

linear_list_teams

List teams available to the connected Linear account.

linear_list_projects

List Linear projects visible to the connected account.

linear_create_issue

Create a Linear issue after approval.

linear_list_workflow_states

List workflow states for a Linear team.

linear_list_issue_comments

List comments on a Linear issue with cursor pagination.

linear_create_comment

Add a comment to a Linear issue after approval.

server.ts
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";

const server = new McpServer({ name: "Linear Connector", version: "1.0.0" });

// Curated Astrail connector for: linear_search_issues, linear_get_issue, linear_list_teams, linear_list_projects, linear_create_issue, linear_list_workflow_states, linear_list_issue_comments, linear_create_comment.
// The hosted endpoint executes its verified deterministic endpoint map. Attach a least-privilege provider credential before calling private tools.

server.tool("connector_status", "Confirm this curated connector template is installed.", z.object({}), async () => ({
  content: [{ type: "text", text: "Connector installed. Attach provider credentials to enable hosted API calls." }],
}));

const transport = new StdioServerTransport();
await server.connect(transport);