Docs
/
Security

Roles and permissions

Roles v2—hub and server roles, capability union, tool grants, and key grants; presets on every plan, custom per-tool roles on Pro.

All plans

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)

RoleCapabilities
OwnerAll capabilities; last-owner protection; billing emails
AdminAll capabilities
MemberNone 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)

CapabilityScope
tools.callCall tools granted to this role (role_tools)
tools.call_allCall every enabled tool on the server
tools.buildCreate/edit/delete tools on the server
server.members.manageAssign server members and server roles
server.roles.manageEdit server roles and tool grants
tasks.manageCreate/edit/delete tasks on the server
runs.viewView 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

PlanServer accessTool callsRBAC
FreeAll members on the one serverEvery member: tools.call_allNo per-tool roles
Hobby+server_members grant requiredEvery granted member: tools.call_allNo per-tool roles
ProGrant requiredPer-tool grants + custom rolesrbac: 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):

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.