Heroku MCP Code Execution MCP Server

MCP (model context protocol) server for running python code.

Local serverstdioPython

What is the Heroku MCP Code Execution MCP Server?

MCP (model context protocol) server for running python code.

What the server does

If you only want local & deployed STDIO capabilities (no SSE server), run: bash heroku ps:scale web=0 -a $APP_NAME If you do want a deployed SSE server, run: bash heroku ps:scale web=1 -a $APP_NAME heroku config:set WEB_CONCURRENCY=1 -a $APP_NAME

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

VariableDescriptionRequired
APP_NAMEConfiguration value read at startup.Optional
API_KEYCredential the server authenticates with.Yes
MCP_SERVER_URLEndpoint or connection string the server talks to.Yes

Frequently asked questions

It supports Streamable HTTP, SSE, and STDIO transports, for both local and remote testing.