Python Code Runner

4 tools. 4 can modify or destroy data without limits.

4 write tools that can modify data. Rate limits recommended.

Last updated:

4 can modify or destroy data
0 read-only
4 tools total

Community server · catalogue entry verified 12/06/2026

How to control Python Code Runner ↓

What Python Code Runner exposes to your agents

Read (0) Write / Execute (4) Destructive / Financial (0)
High Risk

The most dangerous Python Code Runner tools

4 of Python Code Runner's 4 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

All 4 Python Code Runner tools

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about Python Code Runner

How many tools does the Python Code Runner MCP server expose? +

4 tools across 2 categories: Execute, Write. 0 are read-only. 4 can modify, create, or delete data.

How do I enforce a policy on Python Code Runner? +

Register the Python Code Runner 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.

Enforce policy on every Python Code Runner tool call.

Deterministic rules across all 4 Python Code Runner tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Free to start. No card required.

4 Python Code Runner tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.