# mcp_python_exec_server

> Use this tool when you need to execute untrusted Python code in a secure manner, solving problems related to code safety and security. It takes Python code snippets as input and returns the execution output, while restricting access to dangerous builtins and modules. Ideal for use cases where unknown or unverified code needs to be run, such as in online code editors or automated testing environments.

Canonical page: https://skillsregistry.net/skills/611711dark-mcp-python-exec-server  
JSON: https://api.skillsregistry.net/v1/skills/611711dark-mcp-python-exec-server

## Description

Enables safe execution of Python code snippets within a sandboxed environment, restricting dangerous builtins and modules to prevent malicious operations.

## Trust

- **Trust score (0–1):** 0.70
- **Verification tier:** verified
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** other
- **Updated:** 2026-09-01

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/pnuht0bpjm)
- **Repository:** <https://github.com/611711Dark/mcp_python_exec_server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "611711dark-mcp-python-exec-server"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/611711dark-mcp-python-exec-server` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/611711dark-mcp-python-exec-server/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
