Tool policies
Decide whether integrations published in future are available right away, whether members may use local MCP servers, what the agent in Code and Cowork may do and which instructions it receives from the organization
Under Organization settings → Tools & integrations → Tool policies you set rules for your organization's tools: what happens to integrations DeutschlandGPT publishes in future, which tools members may connect themselves and what the agent in the desktop app may do. You need the permission Manage organization settings. Every switch takes effect as soon as you change it.
Which integrations exist today and who may use them is set under Integrations. That page also shows the current position of the new-integrations switch and links here.
Enable new integrations automatically
Enable new integrations automatically controls what happens to an integration DeutschlandGPT publishes in future.
- On (default): a newly published integration is available to your organization right away. If you do not want it, switch it off afterwards under Integrations.
- Off: a newly published integration starts blocked and only becomes usable once an administrator releases it under Integrations.
Switching this off is not retroactive. Every integration available to your organization at that moment stays enabled, including ones you never released explicitly; from then on they count as explicitly released. If you switch it back on later, those releases and everything you have set per integration since stay as they are.
Your organization's own connections, such as an MCP server or WebDAV server you added yourself, are exempt and work immediately.
Disable all under Integrations only switches off the integrations that exist at that moment. For integrations added later, only this switch decides.
Allow local MCP servers
Allow local MCP servers decides whether members may add MCP servers in the desktop app that run on their own computer and are used by Code and Cowork. The switch is on by default. Every call runs with the member's rights on their device, and the results go to the selected AI model. When you switch it off, the desktop app stops all local servers at its next sync. Details are under Local MCP servers.
The switch only appears when local MCP servers are enabled for your organization.
Agent permissions
Agent permissions decide what the agent in Code and Cowork may do for your members. The rules apply to every member and take precedence over their own rules. Unlike the switches above, they take effect only when you choose Save permissions. Your members' desktop apps pick up the change at their next sync. The same settings are in the desktop app under Organization → Tool policies.
Rules
There are three lists, one rule per line:
- Allow: these calls run without asking.
- Ask: an approval card always appears before these calls, even when a member allowed the call themselves.
- Deny: the agent always refuses these calls. A deny wins over every allow.
A rule names a tool, optionally with a pattern in parentheses, for example Bash(rm *), Read(.env*), Edit(docs/**), WebFetch(domain:*.example.com) or mcp__github. DeutschlandGPT checks every line when you save. A rule the app could not read is not saved, and the page names the faulty entry.
The server enforces deny rules as well. It never hands a denied call to the agent to run and returns the refusal as the call's result instead. That also holds for an outdated or modified desktop app. Allow and ask rules are decided by the app, because only the app can show an approval card.
Managed rules only switches your members' own rules off. Only the rules in this section count, and the app also ignores stored approvals such as "Always allow".
How this works with the permission modes
Members pick a permission mode in Code and Cowork. Your rules apply in every mode:
- A deny rule always applies, in Auto and Don't ask too.
- An ask rule forces the approval card in Auto too. In Don't ask nobody is asked, so the agent refuses such a call there.
- An allow rule only saves the question. In Plan mode the agent still changes nothing, and for critical commands such as
rm -rforsudothe app keeps asking in Normal and Accept edits.
Local MCP servers
Here you decide which local MCP servers members may start:
- All allowed: no restriction beyond the Allow local MCP servers switch.
- Allow only these: only the listed servers start.
- Block these: the listed servers do not start.
An entry matches the server's name or the command it starts with, such as filesystem or npx, regardless of case. For a server the app reaches at an address, the host counts, subdomains included: example.de also covers mcp.example.de. In an allow list only the host counts for it, a block list also blocks it by name. The desktop app checks the list before every start, including automatic starts, and stops a blocked server that is still running. Its tools are then no longer available to the agent.
When a member tries to start or test a blocked server or call one of its tools, your organization's audit log records it with the server name and the command name. Arguments and values are never recorded. The same kind of attempt with the same server appears at most once per minute per device.
Document runtimes
Here you decide where the agent may create Word, Excel and PDF files: in a VM on the computer, in a sandboxed runtime on the computer or in the server sandbox. Outside professional secrecy, a runtime also needs to be released for your organization. Without any runtime the agent creates documents with its own document tool. Organizations under professional secrecy (§ 203 StGB) get the two runtimes on the computer without any further activation, unless you switch one off here.
Hooks from project folders
A project folder can bring commands in its settings, called hooks. The desktop app runs them on the member's computer at certain events, for example after a file was edited or before the agent starts a command. A hook runs only when the member trusts the folder and approved exactly this command. When the command changes, the app asks again. How members write and approve hooks is described under Hooks.
Hooks from project folders decides whether such hooks may run at all. The switch is on by default. In organizations bound by professional secrecy (§ 203 StGB) it is off by default, and you can switch it on there on purpose. When you switch it off, the desktop app no longer runs any hooks from project folders, including those already approved.
Plugins with their own commands
Plugins with their own commands decides whether plugins in the desktop app may start their own commands or MCP servers on the member's computer. In organizations the switch is off by default. The app then uses only the parts of a plugin that run nothing, such as skills.
Instructions for the desktop agents
Under Instructions for the desktop agents you store a text that the agent in Code and Cowork receives for every member of your organization as the organization's instructions. It suits rules that should apply everywhere: which language the agent answers in, which internal terms are correct or which data never belongs in a file.
- The text may be at most 20,000 characters long. The counter below the field shows how many characters you have used.
- The instructions take effect only when you choose Save instructions. Saving an empty field deletes them.
- The agent receives them before all other instructions, that is before those from the project folder, the group instructions and the members' personal rules.
- A change applies from the next step of a conversation, at the latest from the next session.
The same field is in the desktop app under Organization → Tool policies.