cockpit_settings
MCP tools › Window and UI driver
Your choice for this project's cockpit (SPEC-0351 v2), kept beside your settings, never in the project: tiles in their order, period_days, deploy_tags, thresholds per value ({min, max}; a value beyond gives a hint in project_cockpit and on the tile in the window) and github (repository owner/name and the name of the keychain entry with a token; the token itself is never stored or answered). Without arguments it answers the saved choice. Dry run unless dry_run=false, which needs the settings right.
| Capability | ui.cockpit_settings |
|---|---|
| Area | Window and UI driver |
| Access | changes settings |
| Reaches | — |
| Rights | settings |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
tiles | array of string | The tiles in their order; [] shows all. |
period_days | integer | The period in days, 1 to 365; 0 goes back to the default (30).minimum 0 |
deploy_tags | string | The tag pattern of deployments; "" goes back to the default (v*). |
thresholds | object | Thresholds by value name (tests.green_share, coverage.line_coverage_percent, dependencies.affected, delivery.change_failure_rate, flow.wip, flow.blocked, flow.cycle_time_median, flow.throughput_per_week, agents.errors, pull_requests.open, pull_requests.age_median); a value without min and max removes its threshold. |
github | object | The GitHub repository of the pull request tile. |
github.repositoryrequired | string | owner/name; "" disconnects. |
github.keychain_entry | string | The name of the keychain entry that holds the token (never the token itself). |
dry_run | boolean | Default true: only answer what would be saved; false needs the settings right. |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project cockpit_settingsInput schema as JSON
{ "properties": { "tiles": { "description": "The tiles in their order; [] shows all.", "type": [ "array", "null" ], "items": { "type": "string" } }, "period_days": { "description": "The period in days, 1 to 365; 0 goes back to the default (30).", "type": [ "integer", "null" ], "minimum": 0 }, "deploy_tags": { "description": "The tag pattern of deployments; \"\" goes back to the default (`v*`).", "type": [ "string", "null" ] }, "thresholds": { "description": "Thresholds by value name (tests.green_share, coverage.line_coverage_percent,\ndependencies.affected, delivery.change_failure_rate, flow.wip, flow.blocked,\nflow.cycle_time_median, flow.throughput_per_week, agents.errors, pull_requests.open,\npull_requests.age_median); a value without min and max removes its threshold.", "type": [ "object", "null" ], "additionalProperties": { "$ref": "#/$defs/ThresholdArg" } }, "github": { "description": "The GitHub repository of the pull request tile.", "anyOf": [ { "$ref": "#/$defs/GitHubArg" }, { "type": "null" } ] }, "dry_run": { "description": "Default true: only answer what would be saved; false needs the `settings` right.", "type": [ "boolean", "null" ] } }, "$defs": { "ThresholdArg": { "description": "A threshold in tool arguments.", "type": "object", "properties": { "min": { "description": "A hint when the value is below it.", "type": [ "number", "null" ] }, "max": { "description": "A hint when the value is above it.", "type": [ "number", "null" ] } }, "additionalProperties": false }, "GitHubArg": { "description": "The connected GitHub repository in tool arguments.", "type": "object", "properties": { "repository": { "description": "`owner/name`; \"\" disconnects.", "type": "string" }, "keychain_entry": { "description": "The name of the keychain entry that holds the token (never the token itself).", "type": [ "string", "null" ] } }, "additionalProperties": false, "required": [ "repository" ] } }, "additionalProperties": false, "type": "object"}