Loading...
Loading...
Emulated Linear GraphQL API for local development and testing. Use when the user needs to test Linear integrations locally, emulate Linear issues, comments, teams, workflow states, OAuth apps, webhooks, agent sessions, or work with the Linear API without hitting the real Linear service. Triggers include "Linear API", "emulate Linear", "mock Linear", "test Linear OAuth", "Linear webhook", "Linear agent", "local Linear", or any task requiring a local Linear API.
npx skill4agent add vercel-labs/emulate linear# Linear only
npx emulate --service linearhttp://localhost:4012http://localhost:4000| Real Linear URL | Emulator URL |
|---|---|
| |
| |
| |
| |
curl "$LINEAR_EMULATOR_URL/graphql" \
-H "Authorization: Bearer lin_test_admin" \
-H "Content-Type: application/json" \
-d '{"query":"{ viewer { id email } }"}'linear.strict_scopes: truereadwriteissues:createcomments:createadminlinear:
organization:
name: Acme
url_key: acme
users:
- email: admin@example.com
name: Admin User
admin: true
- email: dev@example.com
name: Developer
teams:
- key: ENG
name: Engineering
issues:
- team: ENG
title: Fix local checkout test
state: Todo
assignee: dev@example.com
oauth_apps:
- client_id: lin_example_client_id
client_secret: example_client_secret
name: My Linear App
redirect_uris:
- http://localhost:3000/api/auth/callback/linear
scopes: [read, write, issues:create, comments:create]
tokens:
- token: lin_test_admin
user: admin@example.com
scopes: [read, write, issues:create, comments:create, admin]
strict_scopes: falseviewerorganizationusersuserteamsteamworkflowStatesworkflowStateissuesissuecommentscommentissueLabelsissueLabelprojectsprojectcyclescyclewebhookswebhookagentSessionsagentSessionissueCreateissueUpdateissueDeleteissueArchiveissueUnarchivecommentCreatecommentUpdatecommentDeleteissueLabelCreateissueLabelUpdateissueLabelDeleteissueAddLabelissueRemoveLabelwebhookCreatewebhookDeleteagentSessionCreateOnIssueagentSessionCreateOnCommentagentSessionUpdateagentActivityCreatenodesedgespageInfoGET /oauth/authorizePOST /oauth/authorize/callbackPOST /oauth/tokenPOST /oauth/revokeactor: useractor: appwebhookCreateLinear-DeliveryLinear-EventLinear-SignatureGET /