Piston MCP logo

Piston MCP

by alvii147

Executes code through the Piston remote execution engine and connects to MCP clients over a uv-launched process.

Install Piston MCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for alvii147/piston-mcp, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

alvii147/piston-mcp MCP server connects MCP clients to the Piston remote code execution engine so an LLM can run code. It is launched locally through uv using a Git-based command and communicates with the client through the configured MCP process. Reach for it when an agent needs to execute code through Piston rather than only generate source code. The publicly hosted Piston instance requires an authorization token as of February 15, 2026, so the previous public setup no longer works without an authorized Piston service.

Use cases

  • Run generated code through a Piston-backed execution service
  • Connect an MCP-compatible client to a local code execution bridge
  • Test agent-generated programs during an interactive session

Key features

  • Executes code through Piston
  • Launches with uv
  • Connects through MCP client configuration
  • Supports Git-based, no-clone startup
  • Provides a Claude Desktop configuration example

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

4/4 checks healthy over the last 79d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars9Stargazers on the source repository.
Last commit8mo agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Piston MCP works

What alvii147/piston-mcp MCP server does

alvii147/piston-mcp MCP server gives an MCP-connected LLM access to code execution through Piston. It is intended for clients that can start an MCP server as a local process, allowing the client to expose code-running functionality during a conversation.

The repository does not describe language-specific behavior, result formats, sandbox settings, or additional tools beyond its connection to Piston and code execution. Use it when the required workflow is for an agent to submit and execute code through a Piston deployment.

How it works

The client starts the server with uv tool run. The supplied configuration retrieves the package directly from the repository's main branch and invokes the piston_mcp command. After the process is registered in the MCP client's configuration, the client can communicate with the server and request code execution through Piston.

This arrangement keeps the server launcher local while the execution engine is Piston. It also does not document a custom endpoint setting or an environment-variable-based configuration.

Setup and configuration

Install uv first. The README provides installation commands for macOS, Linux, and Windows. Install an MCP client as well; Claude Desktop is the documented example.

Add a server entry similar to the following to the MCP client's configuration:

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

For Claude Desktop, the documented configuration paths are ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. Restart or reload the client as needed after saving the configuration.

Tools and capabilities

The alvii147/piston-mcp MCP server supports the core capability of executing code through Piston from an MCP client.

Limitations and notes

The repository warns that Piston's API is no longer publicly available as of February 15, 2026, and now requires an authorization token. Consequently, alvii147/piston-mcp will not work with the publicly hosted Piston instance unless the required authorization is available.

The example pins the source to the main branch rather than a release version. Review that choice if reproducible deployments are important. The project acknowledges Piston as its execution backend and Claude.ai as part of its usage context, but it does not document broader client-specific features.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Piston MCP

alvii147/piston-mcp is an MCP server that connects LLM clients to the Piston remote code execution engine. Its main capability is letting an MCP client request code execution through Piston. It runs locally through uv and is configured as an MCP server process, with Claude Desktop shown as the example client.

Install uv and an MCP client, then add the repository-based uv command from the README to the client's MCP configuration. The command uses uv tool run with the Git repository and invokes piston_mcp, so cloning the repository is not required for the documented setup.

Yes, Claude Desktop is the documented client example. Add the provided piston server entry to Claude Desktop's configuration file, using the macOS or Windows path shown in the README, then connect the client to the locally launched server.

Not without authorization.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPiston MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/alvii147-piston-mcp?style=directory)](https://allmcps.com/mcp/alvii147-piston-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/alvii147-piston-mcp"><img src="https://allmcps.com/api/badge/alvii147-piston-mcp?style=directory" alt="Piston MCP on AllMCPs" /></a>