The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Piston MCP listing page.
piston-mcp is an MCP server that allows LLMs to connect to and execute code using Piston.
[!WARNING] As of Feb 15, 2026, Piston API is no longer publicly available and requires an authorization token. This means piston-mcp will no longer work with the publicly hosted instance of Piston.
You can try out piston-mcp locally without cloning it.
To try out piston-mcp you'll need to install uv:
You will also need to download an MCP client to connect to piston-mcp, such as Claude Desktop.
Update the MCP client's configuration with the following configuration to connect to piston-mcp:
For Claude Desktop, the configuration file is usually found in:
Once you've followed the steps above, your MCP client should be able to run code for you:
