Skip to main content

RBAC And Audit

Use this guide to define role boundaries and audit expectations for Management MCP.

Role model​

RoleTypical MCP scopeRecommended usage
viewertools/list, read-only tool calls (not the workflow test tools), including list_workflows, get_workflow, list_workflow_versions, workflow_usages, export_workflow, list_proxy_versions, get_proxy_version, compare_proxy_versionsdashboards, inventory sync, read bots
modifiersafe create/update operations, workflow test runs (workflow_test_node, workflow_test_workflow_stream, workflow_trigger_test_listen, workflow_trigger_test_stream), workflow writes (create_workflow, update_workflow, validate_workflow, publish_workflow, delete_workflow, import_workflow)CI automation with approval gates
auditoraudit inspection: tools/list shows only list_audit_logs and get_audit_log, and every other tool is refusedcompliance and change review
admindestructive/high-impact toolsisolated identities only

Separation of duties checklist​

  1. Keep read automation and write automation on separate identities.
  2. Keep admin tools off default automation identities.
  3. Use explicit change windows for mutation tools.
  4. Require audit review for destructive operations.

Audit evidence to capture​

  • Actor identity (subject + role)
  • JSON-RPC method/tool name
  • Target object (collection/proxy/workflow)
  • Result status (allowed/denied/succeeded/failed)
  • Timestamp and request/session correlation

Workflow writes are audited with resource type workflow and actions create, update, publish, restore, activate, deactivate and delete; a proxy's own workflow saved with update_proxy_workflow stays proxy / update_workflow. Publishing a workflow that proxies run also updates those proxies; the audited response lists them in synced_proxies. Workflow definitions returned by get_workflow have secret values masked as ********. restore_proxy_version needs a modifier role and is audited as proxy / restore_version.

Agents that change workflows other things depend on should call workflow_usages first: delete_workflow is refused while a proxy, another workflow or an AI guardrail uses the workflow, and publish_workflow changes what those proxies run.

Validation tests​

  1. viewer identity attempts mutation -> expect 403.
  2. modifier performs approved update -> expect success + audit entry.
  3. Missing auth -> expect 401.
  4. Out-of-scope admin action by non-admin identity -> expect 403.