Install the Blaxel CLI
Run the installer in a terminal:bl) against the release checksums, installs it, and adds it to your PATH. On macOS and Linux, it also installs completions for your current shell if you use zsh, bash, or fish. On Windows, configure PowerShell completions separately. It then runs bl setup, which shows what it found and installs it when you press Enter: the Blaxel skills and MCP servers for the coding agents on your machine (Claude Code, Codex, Cursor and others), then the browser login. Run it again at any time to add what is missing.
Install with Homebrew
Install with Homebrew
Installer options
Installer options
On macOS and Linux, set these variables for Under
sh:For example, to install a specific release for all users:
sudo, the installer still sets up your own shell, coding agents and login. In CI, it installs the CLI only and leaves the shell configuration and coding agents alone. On Windows, run $env:BL_INSTALL_SETUP = "false" before the installer to install the CLI only.Get the example project
This quickstart adapts the simple stdio-based MCP weather server from the official Model Context Protocol GitHub repository.- TypeScript
- Python
Clone the repository and change to the project working directory:
Adapt the server
If your MCP server is already configured to use streamable HTTP, you may skip this step.
HOST and PORT environment variables.
- TypeScript
- Python
The changes shown below are illustrative only and based on the Blaxel MCP server template for TypeScript.
src/server.ts file for a streamable HTTP server.Create the deployment configuration
Blaxel looks for ablaxel.toml file to configure the deployment of the MCP server on Blaxel. This file is not mandatory; if the file is not found or a required option is not set, you will be prompted for the information during deployment.
Create a new blaxel.toml file with the following content:
Dockerfile with the following content:
- TypeScript
- Python