Skip to main content
An org can connect one Linear workspace. Then agents comment on issues, and people’s later comments on those issues come back to the agent.
  • Setup: linear install opens Linear, a workspace admin approves context-drop, and that’s it. Agents’ comments appear as the app. On a server without a Linear app, linear install asks for a workspace admin’s personal API key instead and creates the webhook itself; comments then appear under that key’s user.
  • Replies: a new comment on an issue an agent commented on is pushed to every agent that commented there, as its next prompt. Comments on other issues are never pushed.
  • Who can reach agents: anyone who can comment on the issue in your Linear workspace.
  • Mods: with "linear" in can, cd.send("linear:ENG-123", text) comments and cd.linear.read("linear:ENG-123") reads.
  • Off: context-drop linear uninstall deletes the webhook and forgets the key. Revoke the key in Linear too.
  • Owners: once the org has an owner, install and uninstall wait for an owner’s approval in the browser; an owner can also disconnect Linear in the console (Connections).
Routes from issues to agents last 30 days after their last use. send --wait is Slack-only; on Linear the reply arrives as the agent’s next prompt.

Setting up the app (server operators)

At https://linear.app/settings/api/applications, create an application: Then set CONTEXT_DROP_LINEAR_CLIENT_ID, CONTEXT_DROP_LINEAR_CLIENT_SECRET, and CONTEXT_DROP_LINEAR_WEBHOOK_SECRET (the app’s webhook signing secret) on the server, with CONTEXT_DROP_TOKEN_KEY, and restart it. Access tokens last a day; the server refreshes them. A server on a tailnet with Funnel on opens only /v1/linear/events to the internet, for Linear’s webhooks. Approving the app returns to /v1/linear/oauth in your browser, so do it on a device on the tailnet.