Enterprise DNA
M MCP Servers Developer low

alvii147/piston-mcp

by Various

MCP server that allows LLMs to connect to and execute code using Piston

A

MCP

alvii147/piston-mcp

Added 1 June 2026

#llm #mcp #piston-api #uv

Overview

This MCP server connects LLMs to the Piston code execution engine. It allows language models to run code snippets in various languages through the Model Context Protocol. The server is written in Python and provides a sandboxed execution environment.

Best for

Best for
Developers building LLM tools that need safe code execution

Use cases

  • Running code snippets from LLM conversations
  • Testing code generation outputs in real time
  • Providing LLMs with sandboxed code execution

How to use

Tools exposed

  • uv

Tested with

Claude Desktop

Example client config

{\n  "mcpServers": {\n    "piston": {\n      "command": "uv",\n      "args": [\n        "tool",\n        "run",\n        "--from",\n        "git+https://github.com/alvii147/piston-mcp.git@main",\n        "piston_mcp"\n      ]\n    }\n  }\n}

Notes

This MCP server connects LLMs to the Piston code execution engine. It allows language models to run code snippets in various languages through the Model Context Protocol. The server is written in Python and provides a sandboxed execution environment.

8 stars on GitHub. Last updated 2026-02-22. Licensed MIT.

Use cases

  • Running code snippets from LLM conversations
  • Testing code generation outputs in real time
  • Providing LLMs with sandboxed code execution

Pros

  • Leverages Piston’s sandboxing for safe execution
  • Simple integration with MCP-compatible clients
  • Lightweight Python implementation

Cons

  • Low community adoption with only 8 stars
  • Limited to languages supported by Piston
  • Requires running a separate server process

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Leverages Piston's sandboxing for safe execution
  • Simple integration with MCP-compatible clients
  • Lightweight Python implementation

Cons

  • Low community adoption with only 8 stars
  • Limited to languages supported by Piston
  • Requires running a separate server process
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks