27 tools. 16 can modify or destroy data without limits.
16 write tools that can modify data. Rate limits recommended.
Last updated:
Community server · catalogue entry verified 02/07/2026
Running more than one server? Check your whole stack →
16 of Local Code's 27 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.
PolicyLayer is an MCP gateway — it sits between your AI agents and Local Code, and nothing reaches the server without passing your rules. These are the rules we recommend:
{
"create_example_config": {
"limits": [
{
"counter": "create_example_config_per_hour",
"window": "hour",
"max": 30,
"scope": "grant"
}
]
}
} Prevents bulk unintended modifications from agents caught in loops.
{
"list_allowed_roots": {
"limits": [
{
"counter": "list_allowed_roots_per_minute",
"window": "minute",
"max": 60,
"scope": "grant"
}
]
}
} Controls API costs and prevents retry loops from exhausting upstream rate limits.
Instant setup, no code required.
Other MCP servers with similar tools — same risk classification, starter policies for each.
The Local Code server has 13 write tools including create_example_config, mcp_create_change_zip, mcp_create_full_snapshot_zip. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Local Code.
27 tools across 3 categories: Execute, Read, Write. 11 are read-only. 16 can modify, create, or delete data.
Register the Local Code MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.
Deterministic rules across all 27 Local Code tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.
Instant setup, no code required.
27 Local Code tools catalogued and risk-classified — across an index of 43,000+ MCP servers.