auth
Check or set credentials for environment variables and OAuth tokens, including revocation.
Instructions
Check or set credentials. ALL_CAPS = env var; server-id = creds check or OAuth.
auth('GITHUB_TOKEN', 'ghp_...') # save env var auth('GITHUB_TOKEN') # check if set auth('server-id') # show creds needed / run OAuth auth('server-id', 'logout') # revoke OAuth 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": {
"server_id_or_var": "<server_id_or_var>"
},
"name": "auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| server_id_or_var | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |