This documentation is for the federal deployments of Devin. Back to Devin Docs
- With MCP Servers turned off, members cannot use any MCP server.
- With MCP Servers turned on and no servers added, members can use any MCP server they configure.
- Once you add a single server, every server that does not match an allowlist entry is blocked for the team. The one exception is a private MCP registry: if your team has enabled the setting that allows registry servers, a server matching a registry entry is allowed as well.
mcp_config.json. The allowlist is matched against that configuration.
Add a server
Select Add Server and fill in the two fields:Server Config format
The config is a JSON object in one of two shapes, depending on the kind of server. Each string value is a regular expression.Local servers
A local (stdio) server is matched by the command that starts it and its arguments:Remote servers
A remote (HTTP or SSE) server is matched by its URL:Matching rules
- Whole-value match. Each pattern must match the entire value, not part of it.
my-serverdoes not match/usr/local/bin/my-server;.*my-serverdoes. - Case-sensitive.
Dockerdoes not matchdocker. - Argument count must match. The member’s
argsmust have exactly as many items as the entry’sargs, and each argument is matched against the pattern in the same position. envandheadersare not checked. Members can set any environment variables or headers, so credentials do not belong in the allowlist.- Local and remote entries do not cross-match. A
commandentry never matches a remote server, and aurlentry never matches a local one. - A server is allowed if it matches any one entry.
- Invalid patterns block. An entry whose pattern is not a valid regular expression matches nothing.
Escaping
Characters such as., $, (, ), [, ], +, *, and ? have a special meaning in regular expressions. To match one literally, put a backslash before it. Because the config is JSON, the backslash itself must be doubled:
A single backslash before a character like
. ("\.") is not valid JSON, and the portal rejects it with Invalid JSON for server config.
Examples
Exact local server
Exact local server
Server Config (JSON):Matching member config (Any change to the command or arguments is blocked. The
mcp_config.json):env values are up to the member.Local binary at any path, on any operating system
Local binary at any path, on any operating system
Server Config (JSON):This matches
my-server, /opt/tools/my-server, and C:\tools\my-server.exe, as long as the member passes no arguments. It matches any executable with that name, wherever it is installed; use the full path instead when the binary must come from an approved location.Local server with variable arguments
Local server with variable arguments
Server Config (JSON):Matching member config (The first argument can be any absolute path ending in
mcp_config.json):.py and the third can be any number. A config with a fourth argument, or without --port, is blocked. This entry allows any Python script on the member’s machine; to allow one approved script only, replace /.*\\.py with its exact path.Remote server at an exact URL
Remote server at an exact URL
Server Config (JSON):Matching member config (
mcp_config.json):Any remote server on one host
Any remote server on one host
Server Config (JSON):This matches every path under
https://mcp.example.com/. It does not match http:// URLs or other hosts.Troubleshooting
If a member reports that an allowlisted server is blocked:- Compare the member’s
command,args, and URL with the entry character by character, including case. - Count the arguments. An extra or missing argument blocks the server.
- Check that literal special characters are escaped, for example
\\.for a dot. - Check that path patterns cover the full path. Start a pattern with
.*to allow any install location.

