Connector actions and lookups now declare privilege change and secret access, and an MCP server declares both per installation. Chat withholds and refuses any tool that has either effect or declared nothing, in judgement and at execution, so an approval cannot convert the refusal. Workflows and the dashboard are unchanged.
9 lines
342 B
SQL
9 lines
342 B
SQL
-- +goose Up
|
|
-- The privileged effects an operator declared for an MCP server: a JSON object
|
|
-- with privilege_change and secret_access. Null means nothing is declared, and
|
|
-- chat doesn't offer the server's tools.
|
|
ALTER TABLE connectors.accepted ADD COLUMN effects jsonb;
|
|
|
|
-- +goose Down
|
|
ALTER TABLE connectors.accepted DROP COLUMN effects;
|