Linear Connector
Executable Linear connector for issue search, teams, projects, and approved issue creation.
Credential setup
bearerAttach 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-linearPrivate servers require an Astrail API key in the Authorization header.
MCP client snippets
ConnectClaude 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
healthynot_checkedsafe_rest_executionnot recordednot recordednot recordednonestructured fallbackstandardauth_required / oauth_requiredmapping_requiredAstrail does not evaluate generated TypeScript inside Next.js. Hosted calls are routed through stored tool metadata and endpoint maps.
Tools
8linear_search_issuesSearch Linear issues by text.
linear_get_issueGet a Linear issue by ID.
linear_list_teamsList teams available to the connected Linear account.
linear_list_projectsList Linear projects visible to the connected account.
linear_create_issueCreate a Linear issue after approval.
linear_list_workflow_statesList workflow states for a Linear team.
linear_list_issue_commentsList comments on a Linear issue with cursor pagination.
linear_create_commentAdd a comment to a Linear issue after approval.
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);