Skip to content

device_restrict

MCP tools › Remote, rooms and agents

Narrow the rights of a paired device (SPEC-0324, Experimental): only a subset of its rights; widening is the user's, with ferris-idea serve --rights. A live session of the device ends so that nothing keeps a right that was taken. Needs the user-granted ssh right; logged.

Capabilityremote.device_restrict
AreaRemote, rooms and agents
Accesschanges settings, remote
Reaches—
Rightsssh
Dry runnone

Arguments

ArgumentTypeDescription
fingerprintrequiredstringFingerprint of the paired device.
rightsrequiredarray of stringThe rights to keep: a subset of the device's rights. view always stays.

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.

Terminal window
ferris-idea call ~/my-project device_restrict '{"fingerprint":"<string>","rights":[]}'
Input schema as JSON
{
"type": "object",
"required": [
"fingerprint",
"rights"
],
"properties": {
"fingerprint": {
"description": "Fingerprint of the paired device.",
"type": "string"
},
"rights": {
"description": "The rights to keep: a subset of the device's rights. `view` always stays.",
"type": "array",
"items": {
"type": "string"
}
}
}
}