Create new access control policies or update existing ones.
Policies define what actions agents can perform on MCP servers. Each policy targets a specific server (resource) and optionally a specific agent (scope).
Agent-scoped policies inherit from and can override their parent server-level policy.
resource (server ID) and scope (agent ID) in the request.
tools/call:{tool_name} for tool permissions:
| Action | Description |
|---|---|
* | All actions (wildcard) |
tools/call:chat_postMessage | Specific tool |
tools/call:get_* | Pattern matching (if supported) |
allow_all with EFFECT_ALLOW:
effect between EFFECT_DENY (active) and EFFECT_ALLOW (inactive).
JWT token obtained through Auth0 OAuth 2.0 flow with PKCE.
The token should be included in the Authorization header:
Authorization: Bearer <your-jwt-token>
Use the Barndoor SDK's loginInteractive() function to obtain tokens automatically.
Array of policies to create or update
Policies created/updated successfully