- 18 typed API operations
- 5 synced entities (
comments,issues,projects,teams,users) for fast.search()/.list() - 9 incoming webhook event types
Setup
1
Install
2
Add the plugin
corsair.ts
corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- Managed OAuth (Recommended)
- API Key
- OAuth 2.0
No setup required. Corsair hosts the OAuth app for Linear — your tenants connect through Hub when they sign in.Provider walkthrough: Get Credentials.More: Managed OAuth
4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
comments.list
comments.create
Query synced data
Synced entities supporttenant.linear.db.<entity>.search() and .list(): comments, issues, projects, teams, users.
See Database for filters and operators.
Webhooks
This plugin registers 9 webhook event types. Configure the provider to POST to your Corsair HTTP handler, then usewebhookHooks on the plugin factory.
See Webhooks for every event path and payload shape, and Webhooks concept for routing.
What’s next
API reference
Every
linear.api.* operation with input and output types.Database
Synced entities, search filters, and operators.
Webhooks
Event paths, payloads, and
webhookHooks examples.Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.
Get credentials
Provider-console walkthrough for keys and OAuth apps.