Skip to content
Changelog

plugins.settings.get

Gives a plugin's settings and their values, leaving out secret ones.

JSON-RPC 2.0project.read

A plugin says what settings it has once it's running; before that, known is false and the list is empty.

Parameters

  • packagestringrequiredThe plugin's package id or name.

Result

  • settings{ key: string, label: string, type: string, value: any, options?: string[] }[]Its settings.
  • knownbooleanWhether the plugin has said what settings it has.

Errors

Not found (-32004) when it isn't installed. Invalid params (-32602) when the package isn't a helper or script, or is PiAir.

From an AI agent

The MCP server's plugins (action: settings) reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "plugins.settings.get",
"params": {}
}

plugins.settings.set