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 (adaptivedesigner)

List, get, save, delete

Adaptive entity tools

APIs

API Designer or Hub API Designer (apidesigner)

List, get, save, delete

API tools

Applications

App Designer (appdesigner)

List, get, save, delete, activate

Applications tools

Development packages

Development Package (package)

List, get, save, delete

Package tools

npm packages

Node Package Manager (npmmodules)

List, get, install, uninstall

npm package tools

Server scripts

Script Editor (scripteditor)

List, get, save, delete, run

Server script tools

System logs

System Logs (syslog)

List, get (read-only)

System log tools

Tables

Table Definition (tabledefinition), Table Browser (tablebrowser)

List, get, save, delete

Table tools

Web apps

Web App Manager (webapp)

List, get, save, delete

Web app tools

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.

Was this page helpful?

What made the biggest difference for you?
What went wrong? (Your feedback helps us fix it.)

Please don't include personal or sensitive data.