# Code Runner

> Use this tool when you need to execute untrusted code securely, such as testing user-submitted scripts or running code snippets from unknown sources. The Code Runner provides a sandboxed environment with strict security restrictions to prevent malicious operations, ensuring safe code execution. It accepts Python code as input and returns the execution output, making it ideal for use cases where code validation and security are paramount.

Canonical page: https://skillsregistry.net/skills/mcp-code-runner-shakhin  
JSON: https://api.skillsregistry.net/v1/skills/mcp-code-runner-shakhin

## Description

Provides safe code execution capabilities through a sandboxed Python runner. Enforces security restrictions on executed code to prevent unsafe operations. Structured with proper project layout including tests.

## Trust

- **Trust score (0–1):** 0.27
- **Verification tier:** scanned
- **Last scanned:** 2026-09-28

## Facts

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

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/mcp-code-runner-shakhin)
- **Repository:** <https://github.com/shakhin85/mcp-code-runner>

## 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": "mcp-code-runner-shakhin"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/mcp-code-runner-shakhin` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/mcp-code-runner-shakhin/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
