After Roles v2, access is expressed as roles with capabilities and optional tool and env grants. Effective permission on a server is the union of the member's hub role and server role capabilities. There are no deny rules.
Roles v2 is live on the REST API and Smia connector. A unified Roles UI (in progress) is not merged—use hub Settings (members, server members) and MCP/API calls below.
System hub roles (every plan)
| Role | Capabilities |
|---|---|
| Owner | All capabilities; last-owner protection; billing emails |
| Admin | All capabilities |
| Member | None by default on hub role |
Owner and Admin are not customizable. Billing emails stay with Owner and are not separate capabilities.
Locked presets (every plan)
Preset hub/server roles such as caller, builder, and server-admin exist in the registry (PRESET_CAPABILITIES in code). Custom hub roles require Pro.
Building tools on Free/Hobby remains hub owner/admin only—preset builder does not auto-assign to all members.
Server capabilities (examples)
| Capability | Scope |
|---|---|
tools.call | Call tools granted to this role (role_tools) |
tools.call_all | Call every enabled tool on the server |
tools.build | Create/edit/delete tools on the server |
server.members.manage | Assign server members and server roles |
server.roles.manage | Edit server roles and tool grants |
tasks.manage | Create/edit/delete tasks on the server |
runs.view | View run history for the server (Pro detail) |
Hub-only capabilities include hub.members.manage, hub.roles.manage, keys.manage, keys.grant, keys.bind, servers.manage, and billing.manage.
Plan behavior
| Plan | Server access | Tool calls | RBAC |
|---|---|---|---|
| Free | All members on the one server | Every member: tools.call_all | No per-tool roles |
| Hobby+ | server_members grant required | Every granted member: tools.call_all | No per-tool roles |
| Pro | Grant required | Per-tool grants + custom roles | rbac: true, key grants |
requireServerGrants is false on Free, true on Hobby and Pro (src/plans/access.ts).
Manage via API / MCP (no unified UI yet)
Examples (hub admin):
smia_list type=role hub_slug=acmesmia_create type=role/smia_update type=rolewithcapabilitiesandscopeset_role_tools,assign_user_roles,set_env_var_roles(connector admin tools, Pro)
After changing roles, members may need to refresh the Smia connector session to see updated tool lists.
Example: Pro least privilege
Server finance gets tools get_mrr and sync_stripe. Role Analyst has tools.call with grant only on get_mrr. Role RevOps adds sync_stripe and keys.bind for STRIPE_SECRET. Coworkers connect only https://smia.tools/acme/finance and see the tools their roles allow.
Verified against commit aae68ddd0a3c9597d8481c376d33eb3ca2effcb3 on 2026-11-26.