settings_set
App and inputFull
Change settings, as the Settings window does: saved, and in effect at once. Only the settings settings_get lists; every value is checked before any is set. The result has each one's value before and after.
Needs the Full level, which is the default for any client holding the bearer token.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
values | object | yes | Setting name to its new value, e.g. {"theme": "dark", "copy_to_clipboard": false}. |
Example
A JSON-RPC call to POST http://localhost:21516/mcp with the bearer token, filling in the required parameters:
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "settings_set", "arguments": { "values": {} } }}See the MCP server overview for how to connect a client and where the token lives.