linear_createOAuthClientCredentialsToken
Generate a scoped Linear app-actor token via client credentials for server-to-server pipelines. The one-time token lasts 30 days; new scopes revoke existing tokens.
Instructions
Issue a scoped Linear app-actor access token through the client_credentials grant for server-to-server pipelines. The token is returned once, has no refresh token, and is normally valid for 30 days. If the requested scope set differs from existing app-actor tokens, Linear revokes those existing tokens.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clientId": "<clientId>",
"clientSecret": "<clientSecret>",
"scopes": "<scopes>",
"confirmSecretExposure": "<confirmSecretExposure>",
"confirmScopeChangeRisk": "<confirmScopeChangeRisk>"
},
"name": "linear_createOAuthClientCredentialsToken"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | Yes | Scopes for the app-actor token. The read scope is always included. | |
| clientId | Yes | ||
| clientSecret | Yes | The OAuth application client secret. It is sent only to Linear's token endpoint. | |
| confirmSecretExposure | Yes | Must be true to acknowledge that a one-time secret will be returned in the MCP tool result. | |
| confirmScopeChangeRisk | Yes | Must be true to acknowledge that requesting a different scope set revokes existing app-actor tokens for this OAuth application. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | No | ||
| expiresIn | No | ||
| tokenType | No | ||
| accessToken | No |