Skip to main content
Capabilities Catalog
The Capabilities Catalog is where Governe defines, once and centrally, what every agent on the platform is allowed to reach. It is a centralized registry of tools and capabilities available to AI agents in your organization, including MCP servers, functions, file search, skills, guardrails, memory providers, and sub-agents. Whatever an agent can do, it does through a capability declared here and constrained by the guardrails around it.

Capability Types

Who can manage the catalog

The Capabilities entry of Governe appears for organization Owners, platform administrators, and the roles that hold capabilities:servers:write (Manage Capabilities under Capabilities in the role editor). Only they can add, edit or delete capabilities. The ai-governance-v2 permissions do not grant it, and neither does the built-in Admin role: see Roles & Permissions.

Importing and exporting capabilities

The Capabilities tab reads and writes capabilities as JSON. Select the ones you want with the multiselect and Export them to a file, or Import a file to add them to the organization. It is the same mechanism as on Join Rules and Agents Controls: a catalog assembled and tested in one organization or environment can be replayed in another rather than rebuilt by hand.

Categories

Organize capabilities into functional categories:

MCP Servers

Model Context Protocol (MCP) servers expose tools to AI agents through a standardized interface.

Adding an MCP Server

  1. Go to Capabilities in the sidebar
  2. Click Add Capability
  3. Select type MCP
  4. Configure:
  1. Click Create
The catalog does not query MCP servers on a private network (private IP ranges, single-label host names, or names such as .local, .internal or .svc): their tools are not listed and their Knowledge compatibility is not detected. You can still add them and type the tool names. On a self-hosted platform whose MCP servers live on such a network, set the allow_internal_url_targets secret of the Capabilities workspace to true in its Settings → Secrets. Servers hosted by the platform itself, built-in tools and App+MCP connectors, are not concerned.

Example Configuration

The example above uses a single, org-wide credential baked into the headers: every end user reaches the MCP with the same token. Use this when access is shared. When each end user must log in personally, via OAuth (Notion, GitHub, Outlook…) or a per-user API key, switch to the per-user authentication pattern below.

Limiting the tools agents can use

Below the configuration of an MCP server, Allowed tools for the organization lists the tools the server publishes as soon as its URL is entered, so you can choose them before saving the entry. A tool shows the display name the server gives it when it has one, with its technical name next to it. Built-in MCP servers don’t have this list. Turn off the ones the organization’s agents must not use; the buttons above the list hide or show at once every tool the server marks with that hint (see Choosing which tools of an MCP server the agent can use). Expose new tools automatically decides what happens to a tool the server adds later: on, it is allowed; off, it stays out until you allow it.
Adding a Helpdesk MCP server in the capability store: the allowed tools list with its badges, Destructive turned off, then the entry created

An organization admin adds an MCP server: its tools are listed before saving, and one click on Destructive keeps every tool that deletes or overwrites data out of the organization.

When the tools can’t be listed (the server needs a login or is unreachable), choose All tools except the ones listed or Only the tools listed and type the tool names, exactly as the server names them. Agents that use this server can only expose the tools this list allows. Agent builders see the other ones marked Blocked by the organization in the server’s Tools selection: they can narrow the selection further, never widen it. A change reaches new sessions right away; a user who has already used an agent in their current session keeps the previous list until the agent is next edited or that session ends. In exported JSON, the list is the entry’s tool_filter: {"mode": "deny", "tools": [...]} or {"mode": "allow", "tools": [...]}.
This list shapes what the organization’s agents are configured with, for the people using them from this organization. It covers agents that add the server from the capability store: an agent builder who declares the same server URL as a custom MCP server of their own is not held to it. Someone who opens a shared agent while working in another organization, and runs without a user (scheduled runs, for example), get the agent’s own selection without this list. When a tool must never run for some users, have the MCP server enforce it as well, for example with per-user authentication.

Per-user authentication

Add an auth block to the capability so the platform handles connect / disconnect / status checks per end user. Two patterns are supported:

Required auth fields

The capability hosts these three endpoints itself (typically as a Builder workspace alongside the MCP server). The platform never stores the credential in agent-factory or in the agent, only inside the capability’s own workspace.

Example: MCP server with JSON auth

config_schema defines the fields the Agent Builder fills in when adding the capability to an agent in the Agent Creator product (server URL, tool name, scope…). config_schema is not for end users; never use it for credentials.

Implementing the three webhooks

Each auth.*_url points at one webhook automation in the capability’s own workspace. Here is the minimum each must do, mirroring the SharePoint MCP reference implementation:

status_url: am I connected?

Triggered by Chat per turn whenever the agent might call the tool. Reads the current end user’s stored credential and returns whether it’s still valid.
Must return { "connected": true | false }. Add anything else you want to surface to the UI (expiresAt, email, etc.); Chat ignores unknown fields safely.

connect_url: start the flow

For OAuth, generate PKCE + state and redirect to the provider. For JSON auth, render or redirect to a small form that collects the credential.
The OAuth callback (a separate webhook, e.g. oauthCallback) exchanges the auth code for tokens and stores them via the secrets module with scope: user:

disconnect_url: revoke

Deletes the per-user secret and any state stored in user scope:
Reference: full SharePoint MCP implementation in the sharepoint-mcp workspace template. The disconnect endpoint must also work when the platform calls it without a browser: Agent Factory sends a GET with the current user’s identity when a tool reports an expired sign-in. It must delete only the current user’s credential, succeed when there is nothing to delete, and answer with a 2xx or 3xx status. A redirect page meant for a popup is fine.

Reporting an expired sign-in from a tool

When a tool call fails because the user’s credential is no longer valid, and only a new sign-in can fix it, return an MCP error result with the AUTH_EXPIRED code in structuredContent:
On this signal, Agent Factory takes the tool’s answer over what status_url said before the call:
  1. It calls auth.disconnect_url for the current user, so that status_url answers connected: false.
  2. It pauses the turn and shows the user the capability’s connect card with a Connect button. Several calls to the same capability in one turn show a single card.
  3. Once the user has reconnected, it runs the failed calls again, once, and the agent goes on with their results.
The model never reads the text of an AUTH_EXPIRED result: it is told that the user must reconnect and that a card is shown. If a call answers AUTH_EXPIRED again after the reconnection, no new card is shown and the agent tells the user the connection could not be restored. Outside the chat (A2A, the REST API, scheduled runs, an agent called by another agent), nobody can see a card. Agent Factory then leaves the connection as it is, shows no card, and the agent tells the user to reconnect from a conversation in the chat. Follow these rules when you return the code: The connect card is always the one of the capability that served the call: a catalog_id returned by the tool is ignored. Agent Factory reads two other forms the same way:
  • Remote MCP servers: an HTTP 401 response carrying a WWW-Authenticate header, the MCP authorization signal. A capability hosted on the platform itself does not use this form: its 401 means the platform refused the call, so Agent Factory does not read it as an expired sign-in. Return the structured code instead.
  • Transition: an isError result whose first text block starts with AUTH_EXPIRED. This form is accepted while connectors move to structuredContent; prefer the structured code in new capabilities.

Silent reconnection

When a user’s connection has expired but the identity provider session is still alive, Chat can renew it without showing the Connect card. This behavior is generic: Chat applies it to the status_url of any capability, and each connector opts in. The silentReconnect field. The status_url response may include "silentReconnect": true next to connected: false. Chat only acts on the exact value true; any other value, or no field, keeps the standard behavior.
What Chat does. When connected is false and silentReconnect is true, Chat appends prompt=none to the connect_url and runs the connection in a hidden frame. If the status then reports connected: true, the turn continues with no user interaction. Otherwise Chat displays the Connect card as usual. What the connector must enforce. The connect_url endpoint must accept prompt=none only when all of the following hold. Otherwise it must ignore the parameter and follow the regular interactive flow.
  • The request comes from Chat: Sec-Fetch-Site is same-origin or same-site, and Referer matches the origin of the console.
  • An account is already known for this usage (the user connected before).
  • The user has not disconnected on purpose since then.
Fallback to the card. If the provider refuses the silent request (for example login_required or interaction_required with Microsoft Entra ID), the connector records the refusal for 5 minutes and returns silentReconnect: false from status_url during that time. Chat then shows the Connect card, so the user is never stuck on a silent attempt.
Silent reconnection never happens when Chat and the API are served from different sites. The hidden frame then cannot send the provider session cookies, and the Sec-Fetch-Site check fails with cross-site. In that setup, users always see the Connect card.

Where credentials live

End-user credentials never leave the capability’s own workspace. Two layers exist, depending on whose credential it is:

Per-user credentials (the user’s OAuth token, personal API key)

  • Stored via the secrets module with scope: user: encrypted at rest, isolated per user, only readable from inside the capability’s own workspace.
  • The MCP server’s tool implementations are the only code allowed to read these secrets. They retrieve the calling user’s token at call time, attach it to the outbound API request, and discard it.
  • The agent never sees the user’s token or credential. It only sees the tool’s response (or the structured error if connected: false). Likewise, agent-factory, secure-chat, and the LLM gateway have no read access; they only know whether the user is connected, never what the credential is.

Infrastructure credentials (the OAuth client secret, upstream API keys, webhook signing keys)

These are not user-specific: they belong to the capability itself (e.g. the OAuth client_secret issued by Microsoft for your SharePoint app, the static API token your MCP uses to talk to its upstream).
  • Pulled from the platform’s infrastructure secret store: Azure Key Vault, AWS Secrets Manager, Google Secret Manager, or HashiCorp Vault, depending on your deployment.
  • Referenced inside automations as {{secrets.YOUR_SECRET_NAME}} and rotated centrally by infra.
  • Same containment rule: only the capability’s own workspace can resolve them. They never appear in agent context, prompts, or logs.
Use the right layer for the right credential: This matters when picking which provider gets a per-user MCP: you trust the capability workspace’s code, not the agent or the LLM, with the credential.

Limiting what the agent can do: service accounts

Per-user authentication controls the third party side (which user the MCP acts as). To limit the platform side (what the agent itself can do across Prisme.ai workspaces), each agent runs under its own service account with a role.
  • Every agent gets a service account on first call, slug agentfactory_{agent_id}.
  • The role defaults to agent-standard. Org admins can set a different default in Agent Creator’s defaultAgentSARoleSlug config, or the Agent Builder can override per-agent.
  • The service account’s permissions decide which workspaces and actions the agent can reach, so an agent with a “read-only” SA cannot mutate other workspaces’ data, even if its own MCP could.
Two-layer mental model: The two layers compose: an agent with a “read-only” SA can still write to a third-party API if the user’s OAuth token has write scopes, and vice versa.

What happens next

  • Agent Builder (in the Agent Creator product) picks the capability from the catalog and configures the config_schema fields. They never see end-user credentials. → see Agent Capabilities.
  • End User runs the agent through the Store or through Chat, where every agent is harmonized into one secure experience. They are prompted to connect their personal account: proactively from the agent home view, or just-in-time when the agent calls the tool. The connect button opens the provider’s flow (or the JSON form), then the agent resumes automatically. → see MCP Connections & OAuth.

Functions

Functions are custom HTTP endpoints that agents can call as tools. The platform always calls them with a POST: the arguments go in the JSON body, following the parameters schema, and the URL is called as-is ({{...}} is not interpreted there). For an API that answers GET or reads its parameters from the URL, expose a Builder automation as a webhook in front of it, or use an MCP server. See Request format.

Adding a Function

  1. Click Add Capability
  2. Select type Function
  3. Configure:

Example Configuration

Connect vector stores for knowledge base search.
  1. Click Add Capability
  2. Select type File Search
  3. Configure:
File search integrates with Knowledges vector stores.

Skills

Skills are reusable instruction sets that modify agent behavior.

Adding a Skill

  1. Click Add Capability
  2. Select type Skill
  3. Configure:

Example Skill

Name: summarize Purpose: Summarize long documents into key points Instructions:

Guardrails

Guardrails validate inputs, outputs, or actions to ensure safety and compliance.

Guardrail Types

Adding a Guardrail

  1. Click Add Capability
  2. Select type Guardrail
  3. Configure:

Example Guardrail

Memory Providers

Memory providers store conversation history and long-term context.

Adding Memory

  1. Click Add Capability
  2. Select type Memory
  3. Configure:

Sub-Agents

Sub-agents are other agents that can be invoked as tools, enabling agent composition.

Adding a Sub-Agent

  1. Click Add Capability
  2. Select type Sub-Agent
  3. Configure:

Built-in vs Custom

Capabilities are marked as:
  • Built-in: Provided by the platform, cannot be edited or deleted
  • Custom: Created by your organization, fully editable
Use the toolbar to find capabilities:
  • Search: Filter by name or description
  • Type: Filter by capability type (MCP, Function, etc.)
  • Category: Filter by functional category

Best Practices

Descriptive Names

Use clear, action-oriented names for tools

Secure Authentication

Store credentials in secrets, reference as {{secrets.KEY}}

Document Parameters

Provide detailed descriptions in JSON Schema

Test Before Deploy

Verify capabilities work before enabling for all agents

Next Steps

Model Governance

Control which models agents can use

Observability

Monitor capability usage and errors