Skip to content

Resources & Prompts

Resources & Prompts

Beyond tools, the Xybern MCP server exposes live data as readable resources and an enforcement context prompt that Claude can load to understand all active rules.

Resources

URI Description
xybern://policies All active live and shadow rules for the workspace
xybern://decisions/recent Last 50 enforcement decisions from the Authorisation Layer vault
xybern://agent/status Current agent identity, trust level, and active permissions

Prompts

Load enforcement_context to inject live rules into Claude's system prompt. Claude then knows exactly which action types require pre-approval without needing to call xybern_get_context first.

// In your Claude system prompt setup:
{
  "role": "system",
  "content": "{{enforcement_context}}"
}
// Resolves to the current workspace's active rules, blocked/escalated
// action types, and the agent's trust level - updated on every session.