Glossary security/
What is a tool allow-list?
A tool allow-list is a default-deny policy that names the tools an agent may see or call, so that any tool not on the list is hidden or blocked.
Also called: tool allowlist, tool filtering
# Server side: GitHub's MCP server exposes only these toolsets, minus write tools
github-mcp-server --toolsets repos,issues,pull_requests --read-only
{ "permissions": { "allow": ["mcp__github__get_*"] } }
The command filters at the source: per GitHub’s README, --toolsets enables only the named groups, and --read-only skips write tools even if they were requested explicitly. The JSON filters in the host: Claude Code runs matching tools without asking and prompts for the rest. Anthropic’s docs only accept allow globs after a literal mcp__<server>__ prefix, so one rule can’t quietly approve every server.
A gateway is the third place to enforce one, trimming the list before the client sees it. Spec version 2026-07-28 allows for this, since a server’s tool list “MAY vary by the authorization presented on the request.”
A server allow-list decides which servers connect at all; a tool allow-list narrows what an approved server can do. Neither checks arguments, so pair them with least-privilege credentials and approval for writes. OWASP’s LLM06:2025 entry recommends limiting agents to the minimum extensions and functions they need, and fewer tools also means fewer descriptions that could carry tool poisoning.
See also: Least privilege for agents · Tool bundle · How coding agents ask permission · What an MCP gateway does
Related terms
Least privilege for agents, MCP gateway, Tool bundle, Virtual MCP server
Guides that cover Tool allow-list
Sources
Changelog
- First published.
Cite this page
Agents for Devs. "What is a tool allow-list?." Published Dec 6, 2026. https://agentsfordevs.com/glossary/tool-allow-list - Page: https://agentsfordevs.com/glossary/tool-allow-list
- Markdown version: https://agentsfordevs.com/glossary/tool-allow-list.md
- Reuse: quote or summarize with a link to this page. Reuse terms