Using Centrex from Devin (CLI or MCP)
Devin Local (the local agent of Devin Desktop) and Devin CLI share one configuration format. Both run on your
machine, ask before a tool call and read skills, so they use Centrex the way Claude Code does: through the
centrex command in the terminal, through the MCP server, or both. What follows comes from Devin’s
documentation and is not verified against a real Devin yet.
For the MCP server, add Centrex to .devin/mcp_config.local.json in the project (a file meant to stay out of
version control) or to the user’s mcp_config.json:
{
"mcpServers": {
"centrex": {
"command": "centrex",
"args": ["mcp"],
"env": {
"GENESYSCLOUD_REGION": "mypurecloud.ie",
"GENESYSCLOUD_OAUTHCLIENT_ID": "<client id>",
"GENESYSCLOUD_OAUTHCLIENT_SECRET": "<client secret>"
}
}
}
}
This needs Centrex installed (npm install -g centrex). On native Windows use "command": "cmd" and
"args": ["/c", "centrex", "mcp"].
Devin’s documentation does not say that env values can be read from your environment, so until the test says
otherwise the secret is written in that file: keep it local, and never put it in .devin/mcp_config.json,
which is shared through version control.
Make apply always ask. Devin asks before an MCP tool call by default and offers to remember the answer;
an ask rule keeps the question for apply whatever was remembered. Put it in the .devin/config.json of
every project where Devin uses Centrex:
{
"permissions": {
"ask": ["mcp__centrex__apply", "Exec(centrex apply)", "Exec(centrex.cmd apply)"]
}
}
- Never answer the prompt of
applywith an option that remembers it (for the session, for the project, always or for the whole server), and never putapplyormcp__centrex__*inallow. - Do not use Bypass Permissions mode with Centrex. It approves every tool call; Devin’s documentation promises only that the rules an organization admin enforces survive it.
- A
centrex applystarted another way (node .../main.js apply) does not match theExecrules above. Devin asks before a shell command by default; do not remember that answer either. - A Devin with no person to answer its prompts (cloud sessions, sandboxed sessions in Autonomous mode) must get
Centrex only with
CENTREX_READ_ONLY=1.