Skip to content

mPaka documentation

mPaka lets you submit bounded Python workloads from the CLI, an MCP client, or an HTTP integration, follow each execution to a terminal state, and retrieve its output. The web console is for account access, API keys, and execution history; source submission happens through a client or the API.

  1. Install the mPaka CLI for Linux, macOS, or Windows.
  2. Create an API key in the web console and store it as MPAKA_API_KEY.
  3. Run a Python file with mpaka run --file hello.py.

The Quickstart takes you through that flow from start to finish. It also explains how to distinguish a successful program from a failed, timed-out, cancelled, or non-executing result.

  • CLI reference — install, update, run, inspect, and cancel from your terminal; create environments, choose resource profiles, and query usage.
  • MCP server — configure mPaka for an MCP client and use its execution, environment, resource discovery, and usage tools.
  • API keys — create, store, rotate, and delete workload credentials.
  • HTTP API — integrate directly with https://api.mpaka.dev, including environment, resource profile, quota, and usage endpoints.
  • Limits and results — supported input, lifecycle states, output, and success rules.
  • Troubleshooting — diagnose authentication, submission, polling, and execution failures.