# plugins.settings.get

Source: https://docs.lightair.app/developers/remote-api/plugins.settings.get

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

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Packages and plugins. Script plugins need the `project.read` permission.

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

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `package` | `string` | yes | The plugin's package id or name. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `settings` | `{ key: string, label: string, type: string, value: any, options?: string[] }[]` | no | Its settings. |
| `known` | `boolean` | no | Whether 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.

## Related

- [plugins.settings.set](https://docs.lightair.app/developers/remote-api/plugins.settings.set.md)
