MCP server · Audited from source
Python Local MCP server
by alec2435/python_mcpNo licenceAudited 8 Oct 2026 · source 18f0a2a688d3
Is it safe? No — BLOCK, grade D (69/100). It exposes 1 tool: 1 read, 0 write and 0 destructive. The audit recorded 3 findings (0 critical, 2 high, 0 medium, 1 low). Maintainer's description: MCP Server to run python code locally
Cite
Cite this page
ModelsAtlas. “Python Local MCP server (alec2435/python_mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/alec2435/python-local
Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Code injection at src/python_local/server.py:31. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
3 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemNone observedNothing seen in the source
- NetworkNone observedNothing seen in the source
- ShellDeclared2 observations
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Findings (3)
Sorted by severity
HIGHCode injectioncode.eval_exec · src/python_local/server.py:31
result = eval(code, self.locals)
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/python_local/server.py:36
exec(code, self.locals)
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWInventory / provenanceinv.no_license
- Why
- no LICENSE file and no repo licence
- Fix
- add a licence
Tools it exposes
1 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
python_repl | Interactive Python REPL that maintains session state. NOTE THE USER DOES NOT SEE THE STDOUT/STDERR OUTPUT, MAKE SURE TO FORMAT/SUMMARIZEc IT APPROPRIATELY IN YOUR RESPONSE TO THE USER | read |
Safer alternatives
We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.
Audit history
- ✕BLOCK D 69 / 100
First audit ·
18f0a2a688d3
Questions about Python Local MCP server
What is the Python Local MCP server?
What tools does Python Local expose?
Is Python Local safe to connect to an agent?
What credentials does Python Local need?
How does Python Local run?
How current is this page?
I already installed Python Local. What should I do?
Can the verdict change?
Sources
- alec2435/python_mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 18f0a2a688d3Observed · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Python Local MCP server?
- What tools does Python Local expose?
- Is Python Local safe to connect to an agent?