Skip to main content
Apidly Cloud
Cookie policy

Analytics and ad cookies stay off unless you accept. Cookie policy

We would like to use Google Analytics and Microsoft Clarity to understand how the public pages are used, including page views and session recordings, and the Reddit Pixel to measure whether our ads on Reddit lead to visits and sign-ups. You choose here whether they are on. Rejecting changes nothing about how the site works.

Open-source tools: CLI, MCP server, SDKs and Terraform

Apidly's command-line tool, MCP server, JavaScript and Python SDKs and Terraform provider are open source on GitHub; what each one does, how to install it and a first command.

Last updated November 26, 20262 min read
View as Markdown

Apidly publishes its clients as open source (MIT licence) in one repository: github.com/idimetrix/apidly-tools. All of them call the public API (OpenAPI description at https://apidly.com/api/v1/openapi.json), so anything they do you can also do from the console.

You need an API key. Create one on the API keys page of the console, then set it in your shell:

export APIDLY_API_KEY=...
Tool What it is Guide
CLI The apidly command: launch, stop and watch servers, endpoints, volumes and billing from a terminal CLI
MCP server Lets an AI assistant price, launch and manage servers; read-only by default MCP
JavaScript / TypeScript SDK Typed client for the REST API, no dependencies SDKs
Python SDK Client for the REST API SDKs
Terraform provider Servers, volumes, SSH keys and endpoints as code Terraform

The packages are not on npm or PyPI. The CLI, MCP server and SDKs install from files on apidly.com, and the Terraform provider is built from source.

CLI

npm install -g https://apidly.com/downloads/apidly-cli-0.1.35.tgz
apidly plans --available --min-vram 24

The second command lists orderable GPU configurations with at least 24 GB of video memory. More in CLI.

MCP server

npm install -g https://apidly.com/downloads/apidly-mcp-0.1.26.tgz

Add it to Claude Desktop, Cursor or any MCP client in the client's MCP settings:

{
  "mcpServers": {
    "apidly": {
      "command": "apidly-mcp",
      "env": { "APIDLY_API_KEY": "..." }
    }
  }
}

By default the assistant can only read. To let it launch servers under a price cap, add "args": ["--allow-writes", "--max-hourly-usd", "1.50"]. See MCP for the checksum check and the full list of options.

JavaScript and Python SDKs

npm install https://apidly.com/downloads/apidly-sdk-0.1.35.tgz
pip install https://apidly.com/downloads/apidly-0.1.35-py3-none-any.whl

Install the one for your language. Usage and examples are in SDKs.

Terraform provider

The provider manages servers, volumes, SSH keys and endpoints. It is built from source; follow the README in the terraform-provider folder, then see Terraform for configuration.

Public price feed

Every orderable configuration with its hourly price, disk rate and availability, no key needed: https://apidly.com/api/public/prices (JSON, refreshed every 10 minutes).

Ready to try it?

Create a free account and add credit when you want to start a server. The smallest top-up is $10.

Create a free account

Was this helpful?

Still stuck? Contact us