Manage a workspace
Use the same MCP connection or CLI sign-in you use for apps. whoami gives your workspace,
role and groups, and what this agent may do there (its level, its apps and the workspace's own
MCP address). Search and CLI help show only the operations your role may use. Admins can
manage the workspace; everyone can manage their own connection settings, tokens and app consent.
After a role change, search again or reconnect. Every call checks your current permissions.
Find operations
search({ query: "effective access" }) gives the operations that match, each with its input
schema; search({ query: "" }) lists every operation you may use. Run one with
call({ tool: "connection_access_explain", args: { ... } }). The operations this page names are
all run that way.
openbelt help
openbelt search effective access
People and groups
Admins use people_list, people_invite, people_remove and people_role_set.
workspace_join_requests lists people waiting to join; invite a requester to admit them.
group_create, group_member_add, group_member_remove, group_list and group_delete
manage groups. Directory-synced memberships change in the directory.
openbelt people invite ada@example.com
openbelt group create support
openbelt group add support ada@example.com
openbelt workspace joining invite
openbelt workspace rename acme-labs
The last admin cannot be removed or demoted. See People and groups for joining, offboarding, renaming and directory sync.
Apps that embed other apps
No app can show another in a frame (frame-ancestors, Viewers), so no app can lay
another under a fake button. An app builder needs exactly that: its page shows the app it builds,
live or in a preview environment, beside its chat. workspace_embed_set names the apps that may
(at most 10; admin only); every other app stays unframeable. [] names none again, the default.
Every server picks a change up within 5 seconds.
check_app of such an app shows a framed app only in a preview holding both; on live the frame is
refused, as a check reaches only the app it checks.
openbelt workspace embed builder
Make another workspace
workspace_create makes a new workspace, for example one for a client or a side project.
It works where people sign in with an email code; anyone signed in can use it, not only admins.
You become the new workspace's first admin, and it starts invite-only.
Your current connection stays on this workspace. The answer contains workspace_url, mcp_url
and a token that acts as you there. The token is shown once and doesn't expire; store it as a credential
and send it as Authorization: Bearer <token> to mcp_url: add it as an MCP server, or, if
your client can't add one mid-task, POST JSON-RPC to it. Send initialize first, then send the
mcp-session-id header from its answer with each tools/call. The answer's next has both
bodies. Then invite people and build apps there. The new workspace also appears in the list of workspaces you see when
you sign in.
A name is lowercase letters, digits and single dashes ("Studio Lab" becomes studio-lab).
A name another workspace has, or used to have, is refused: pick another. A trial must be claimed first.
When billing is enabled, each workspace has its own plan. The Personal plan includes 1 free workspace;
in the browser (/start/new) you can start another workspace directly on Pro ($29/month) while keeping
your free workspace free, or upgrade an existing workspace at /admin/billing. One person can make 5
workspaces an hour.
openbelt workspace create studio-lab
Connections and access
Search with connections before adding a service. Admins use connection_add for a catalog
provider, connection_mcp_add for a custom MCP server, or connection_api_add for OpenAPI or
GraphQL. connection_admin_info shows configuration and credential status, without secrets.
openbelt connection add github
openbelt connection info github --workspace
openbelt connection access github --workspace --who group:support --level read
openbelt connection access github --level read
Personal settings are the default: connection_preferences_set restricts your own access;
connection_tool_preferences_set turns a tool on or off for you. Workspace policy sets the
ceiling. connection_access_set and connection_tool_policy_set change that ceiling for the
workspace and require an admin. Workspace access changes require an explicit who target:
person:<email>, group:<name> or everyone. The CLI selects these separate tools with --workspace.
An unavailable workspace operation is refused; it never falls back to changing personal settings.
For more access, use connection_access_request with the connection, desired level and a note.
Admins review with connection_access_requests, then grant or close requests with
connection_access_request_grant or connection_access_request_close.
connection_access_explain explains a person's effective access to a tool;
workspace_activity shows recent calls and refusals. Pending requests include person-specific
nextActions; use only the actions authorized by the task. A group suggestion appears only when
it changes no non-requester's access. Permission explanations name the required read or all
level for the actual tool; use the named person rather than widening everyone's access.
connection_connect starts your connection's OAuth sign-in and returns a link for the person
to open. Admins use connection_workspace_connect for a shared account. Read the connection
again to check completion. Provider authorization can require the person; changing OpenBelt's
settings does not require dashboard clicks. Supply pasted credentials through secure input,
or pipe them into openbelt connection token <connection>; add --workspace for a shared token.
See Connections for credential ownership and how access levels combine.
Tokens, consent and agent sign-outs
token_create makes an API token as you, returned once with the MCP address that accepts it: this
workspace's own /mcp, never the base host's one MCP address. Store both as a credential.
token_list returns ids and expiry, never token values; token_revoke revokes one of yours.
Admins can list and revoke workspace tokens with workspace_token_list and
workspace_token_revoke, mapped to openbelt token list --workspace and
openbelt token revoke <id> --workspace.
connection_consent_list lists apps you allowed and pending app requests.
connection_consent_grant allows an app to use your connection for an explicit list of tools;
connection_consent_revoke takes it back. An admin grants their own consent, never another
person's. connection_consent_dismiss dismisses a pending app request without granting it.
agent_signins lists agents signed in as you with OAuth. agent_signout revokes a grant,
including its access and refresh tokens. These are separate from API tokens.
What an agent can do, and which apps
Each sign-in and token holds two choices. Its person picks them on the consent page when the agent signs in: Full access (Everything, every app), Read only (on every app), or Custom, which opens both lists. They change them in Settings, Agents (a sign-in's Apps page, or Change on each token). Both start at everything, so an agent nobody limited works as before.
What it can do, each step with the ones before it:
| Level | Name | It may |
|---|---|---|
look | Read only | See apps, their code and their data. It changes nothing. |
draft | Write (drafts only) | Build and change drafts (preview environments). People who use the app see no change until someone publishes. |
live | Write | Publish: deploy and promote live, change live data, run functions and code, call connections. |
all | Everything | Set secrets and webhook secrets, change people, connections and agents, make a version live that reaches further (a new network host, uses connection, page tools tool, webhooks entry or public block). |
A call past its level is refused with what it can do, what it tried and what that needs; its person does it, or raises it. Only an agent at Everything is a workspace admin or changes anyone's agents.
Which apps: "every" (every app its person can use, and each one made later), "yours" (the apps
its person owns, and each one they make later) or a list of names. Outside them the agent can't
see, open, make or change an app: app_list, search and execute show only its apps, a tool
naming another app is refused with what to tell you, and check_app's browser is refused on every
other app. An app it deploys reads only its apps too: its pages' db.app("<other>") is refused
(403) for everyone who opens it, until someone with every app deploys it again. An agent on some
apps is never a workspace admin, can't make a workspace, and can't change any agent's access.
With tools: token_create takes apps and level (a token gets no more of either than the agent
making it); token_apps_set, token_level_set, agent_apps_set and agent_level_set change
them; token_list and agent_signins say each one's. An agent that signs in again without the
consent page keeps what its last sign-in held. Connections aren't limited by the apps.
Which connections a sign-in may use
A sign-in's connections follow its level until its person chooses them: from Write up it calls
every connection you can, below Write none. Its page in Settings, Agents has a Connections row; each
connection there takes Off, Read only (its tools that only read), Read and edit (all of them) or
Custom, which picks tools one by one on its Tools page (Read and Edit, each with Turn all on). A
choice saves as it's made and needs no new sign-in; the first one moves the agent to an MCP session of
its own, so its client starts a new session once. connection_call (and workspace.connections in
execute) is then refused a tool the agent wasn't given, saying which choice refused it. It never
gets more than you: your own level on the connection, and tools an admin disabled ("Disabled by
admin"), still apply. API tokens follow their level. Calls an app's functions make for the agent
aren't limited by its connections.
openbelt token create --label laptop --days 30
openbelt token list
openbelt token revoke <id>
openbelt connection consent list
openbelt agent list
openbelt agent signout <id>
Admins use scim_status, scim_token_create and scim_token_revoke for directory sync.
The operator's credential is separate and is never needed for workspace management.
Source: docs/workspace.md on GitHub