Guide · Governance

Permissions and governance for MCP-connected company knowledge

For security and platform teams reviewing what an MCP-connected knowledge system lets agents do.

Updated

Connecting company knowledge to agents over MCP needs the same controls as any system of record: who can sign in, what each credential can read or write, how one customer is kept apart from another, and how access is revoked. BrainBox signs people in with OAuth 2.0 and PKCE, gives each credential a read or write scope, offers three MCP endpoints scoped to a project, an organization or a tenant, and keeps administration human-only.

  • Credentials are read or write scoped; read-scoped credentials cannot call write tools.
  • Administration (keys, invites, members, project delete) is human-only: machine tokens never pass the admin tier.
  • A tenant sees shared base Brains read-only and writes only to its own overlay.

Sign-in: OAuth 2.0 with PKCE

Apps such as Claude and ChatGPT connect through BrainBox's OAuth 2.0 authorization page. The person signs in, picks the organization and project, and approves. Access tokens carry the organization (and optionally the project), and a token can be revoked, including by an admin from the token list.

Read and write scopes

Every API key and token has a scope, read or write. A read-scoped credential is rejected on any write operation. MCP tools that write, such as create_learning, process_event, save_wiki_page and report_context_gap, are checked per tool, so a read-scoped key can recall but not file. Raw keys are never stored, only a hash, and a key is revoked by its displayed prefix.

Human-only administration

Organization roles are owner, admin and member. Creating, listing and revoking keys, inviting people, changing roles, and deleting a project need a signed-in owner or admin. There is no admin scope for machine tokens by design: a credential that can administer credentials would turn one leak into a permanent compromise. The last owner cannot be demoted or removed.

Tenant isolation

For teams serving their own customers, a tenant reads shared base Brains and writes only to its own hidden overlay Brain. The tenant key resolves to that overlay and its bases on the server, so isolation does not depend on the agent passing the right parameter. Promoting a tenant's learning into a shared Brain is admin-only. Personal pages are private to one person and become visible to others only through an explicit flag for review.

Audit

Every model element and wiki page carries its source, and the organization has an audit log with action filtering.

What is not there today

Enterprise SSO (Azure AD, Okta) and SCIM are not built. There are no custom roles, no per-resource or row-level policy, and no MCP scopes finer than read and write. BrainBox holds business rules as content for agents to read; enforcement of those rules stays in your own agent harness. Hosting is in one US region.

The three MCP endpoints
EndpointCredentialReaches
/api/mcpA project keyOne project's Brain
/api/org-mcpAn organization key, or an OAuth sign-inEvery project Brain in the organization
/api/tenant-mcpA tenant keyOne tenant's overlay Brain plus the shared Brains it may read

FAQ

How do people and apps sign in over MCP?
BrainBox is an OAuth 2.0 authorization server using PKCE. Claude, ChatGPT and other MCP clients go through the same authorization page, so there is no key to paste.
Can a read-only credential change anything?
No. Read-scoped credentials are rejected on write operations, and write MCP tools such as create_learning, process_event and save_wiki_page are checked per tool.
Can an automation key manage other keys or members?
No. There is no admin scope for machine tokens. Key management, invites, member roles and project deletion need a signed-in owner or admin.
How is one customer kept separate from another?
Each tenant has its own tenant key that resolves server-side to its writable overlay Brain and the shared Brains it may read. No request parameter reaches another tenant.
Does BrainBox support SSO?
Enterprise SSO (Azure AD, Okta) is not built today.

Give your agents a brain.

Sign in and ask your first question.

Book a Demo