Connect an AI client with MCP
devo mcp turns Devolutions CLI into a Model Context Protocol (MCP) server. Your AI client starts it, and the model gets tools to work on your workspace: list vaults, search entries, review access, generate passwords, and more. It's the same workspace and the same permissions as the devo commands you run yourself.
Before you start
Devolutions CLI is installed, and the
devocommand is on thePATHof the AI client.You're signed in. The MCP server has no sign-in tool: it uses the contexts you saved with
devo login, starting with your current one. See Connect to your workspaces.Your MCP client can start a local server over standard input and output (stdio), which most clients do.
Add the server to your client
Most MCP clients describe a local server with a command and its arguments. Add an entry like this one to your client's MCP configuration:
{
"mcpServers": {
"devolutions": {
"command": "devo",
"args": ["mcp", "--deny-tool", "RDM_resolve_secret_reference"]
}
}
}The key that holds the servers (mcpServers here) and the file where it goes depend on your client. Check your client's documentation for where to add a local stdio server.
Restart the client or reload its MCP servers. The client starts devo mcp itself and stops it when the session ends: you don't run it in a terminal.
Options you can add
--context <context-name>
Uses this saved context instead of your current one. Useful when the agent must work on one workspace only.
--read-only, --deny-destructive, --deny-open-world, --allow-tool, --deny-tool
Restrict the tools the model gets. See Limit what an agent can do.
--server-name <name>
The server name sent to the client when it connects. The default is Remote Desktop Manager Devo CLI MCP Server.
For example, to give an agent read-only access to one workspace:
What the model can do
All tool names start with RDM_. They cover these areas:
Workspaces
List the workspaces the session can use (local profile and each saved Devolutions Cloud or Devolutions Server context) and switch between them for the rest of the session.
Vaults and entries
List vaults, search entries, get an entry, list its metadata, attachments, permissions, and logs; create, update, or delete vaults; update, move, or delete entries; export activity logs to a local file.
Users and access
List users and groups, create or delete groups, delete users, list vault access, grant or revoke a vault role, list security roles and permission sets.
Passwords
Generate strong, human-readable, passphrase, or pattern passwords locally.
Secrets
Resolve a devo:// reference to its value (RDM_resolve_secret_reference). The answer contains the secret.
Background process
Check, start, reload, restart, or stop the Devolutions CLI background process.
Tools that create, change, or delete vaults, entries, groups, users, or access require an explicit confirmation in the request. The model gives that confirmation, not you: to keep the model away from changes, use --read-only.
The MCP server can't start programs with secrets: to have an agent run a tool with a credential, use devo secret run. See Give an agent a credential without exposing it.
See the tool list
To see which tools the server exposes, without starting it:
In the JSON result, the tools the server would expose have "visible": true. The text output shows the first 25 only. devo mcp catalog accepts the same restriction options as devo mcp, so you can preview a configuration before you give it to your client. One exception: the preview always marks RDM_resolve_secret_reference as hidden, even when devo mcp would expose it. See Limit what an agent can do.
Good to know
The background process starts on its own. When the server needs your workspace,
devo mcpstarts the Devolutions CLI background process before it answers the client, unless you start the server with--daemon require,--daemon never, or--no-daemon-autostart. If tools report that the process is unavailable, see The background process won't start.The session's workspace can change. Unless you start the server with
--read-only, the model can switch the workspace for the rest of the session, among the local profile and the contexts you saved. The tools that switch it aren't read-only, so--read-onlyhides them.The server runs as you. Any program that can start
devo mcpunder your user account gets the same access to your vaults.
Next
Last updated
Was this helpful?