Skip to main content
This documentation is for the federal deployments of Devin. Back to Devin Docs
Federal administrators can restrict which MCP servers members may use in Devin Desktop and Devin CLI. The allowlist is managed in the portal under Settings → Devin Settings → MCP Servers.
  • 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.
The public MCP Marketplace is disabled in federal deployments, so members configure their servers manually in mcp_config.json. The allowlist is matched against that configuration.

Add a server

Select Add Server and fill in the two fields:
Leaving Server Config (JSON) empty is not supported in federal deployments. There is no plugin store to supply a default configuration, so every entry needs a JSON object in one of the two shapes below.

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-server does not match /usr/local/bin/my-server; .*my-server does.
  • Case-sensitive. Docker does not match docker.
  • Argument count must match. The member’s args must have exactly as many items as the entry’s args, and each argument is matched against the pattern in the same position.
  • env and headers are 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 command entry never matches a remote server, and a url entry 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.
A pattern allows everything it matches. Wildcards such as .* in a command or a script path let members run any executable or script that fits the pattern, including ones they wrote themselves. To restrict members to an approved installation, use the exact command, path, and arguments, and widen a pattern only as far as you need.

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

Server Config (JSON):
Matching member config (mcp_config.json):
Any change to the command or arguments is blocked. The env values are up to the member.
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.
Server Config (JSON):
Matching member config (mcp_config.json):
The first argument can be any absolute path ending in .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.
Server Config (JSON):
Matching member config (mcp_config.json):
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:
  1. Compare the member’s command, args, and URL with the entry character by character, including case.
  2. Count the arguments. An extra or missing argument blocks the server.
  3. Check that literal special characters are escaped, for example \\. for a dot.
  4. Check that path patterns cover the full path. Start a pattern with .* to allow any install location.