MCP.so
ログイン

Heroku MCP Code Execution - Python

@heroku

基本情報

カテゴリ

開発者ツール

最終更新

ライセンス

CC0-1.0

トランスポート

stdio

作者

heroku

Heroku MCP Code Execution - Python について

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

Heroku MCP Code Execution - Python の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-code-exec-python": {
      "command": "python",
      "args": [
        "example_clients/streamable_http_client.py",
        "mcp",
        "call_tool",
        "--args",
        "{"
      ]
    }
  }
}

Heroku MCP Code Execution - Python のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Heroku MCP Code Execution - Python?

This MCP server enables Python code execution on the Heroku platform. It supports Streamable HTTP, SSE, and STDIO transports, and is designed for developers who need to run Python code execution tasks through the Model Context Protocol.

How to use Heroku MCP Code Execution - Python?

Deploy via the one-click Heroku button or manually using the Heroku CLI. Set required environment variables (API_KEY, STDIO_MODE_ONLY, REMOTE_SERVER_TRANSPORT_MODULE), then use MCP clients (STDIO or HTTP/SSE) to call the code_exec_python tool with code and optional packages arguments.

Key features of Heroku MCP Code Execution - Python

  • Executes Python code with optional pip package installation
  • Supports Streamable HTTP, SSE, and STDIO transports
  • Deploys to Heroku via one-click or manual setup
  • API key authentication for access control
  • Configurable STDIO-only mode for code execution isolation

Use cases of Heroku MCP Code Execution - Python

  • Run Python code execution tasks via MCP from AI assistants
  • Test and debug Python code in isolated Heroku one-off dynos
  • Integrate Python code execution into MCP-based agent workflows

よくある質問

1

What transports does the server support?

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

2

What is the STDIO_MODE_ONLY configuration for?

When set to `true`, only STDIO-based communication is allowed, enhancing security and code execution isolation. It is recommended for non-development environments.

コメント

「開発者ツール」の他のコンテンツ