Access control
Tool access is enforced at two levels: by the Cockpit tools included in your roles, and by development package. Both checks run on every tool call. The MCP server cannot grant a user wider access than the Cockpit would.
Tool access check
Access to the MCP tools is granted the same way as access to the Cockpit. A role
includes Cockpit tools, each with Display or Edit access, and a user gets access
through the roles assigned to the user account. Each Cockpit tool has a key, for
example, appdesigner for the App Designer. The MCP server checks this key before
it dispatches the action.
Display access is enough for tools that list or read. Tools that create, update, delete, run, or install require Edit access. If none of your roles includes the required Cockpit tool with the required access, the tool fails with an access denied error and no action is performed.
| Tool group | Required Cockpit tool (key) | Operations | Reference |
|---|---|---|---|
Adaptive entities |
Adaptive Designer ( |
List, get, save, delete |
|
APIs |
API Designer or Hub API Designer ( |
List, get, save, delete |
|
Applications |
App Designer ( |
List, get, save, delete, activate |
|
Development packages |
Development Package ( |
List, get, save, delete |
|
npm packages |
Node Package Manager ( |
List, get, install, uninstall |
|
Server scripts |
Script Editor ( |
List, get, save, delete, run |
|
System logs |
System Logs ( |
List, get (read-only) |
|
Tables |
Table Definition ( |
List, get, save, delete |
|
Web apps |
Web App Manager ( |
List, get, save, delete |
To grant access, an administrator adds the Cockpit tool to a role in the Role tool and assigns the role to the user account. See User roles and permissions.
Development package check
For non-administrative users, tools that list or modify artifacts also run under the user’s development package permissions. You see and can change only the artifacts in packages that your roles grant access to.
Save and delete operations additionally run the platform’s standard before-save hooks, edit-lock checks, and package-edit-permission checks. An MCP client has no way to bypass these checks.
When you create an artifact without naming a development package, the artifact is assigned to your default development package. A package that you name explicitly takes precedence. A default package that you cannot edit is skipped instead of blocking the create. See Package tools.
Related topics
-
Tools overview — access summary and artifact type index.
-
Authorization — how the access token that carries the user identity is issued and refreshed.