# ml.ink > Infrastructure designed for AI agents. Deploy, scale, and manage services autonomously via MCP and CLI. ml.ink lets AI coding agents deploy and manage applications through the Model Context Protocol (MCP) and a full-featured CLI. Agents get full control over compute, databases, domains, persistent storage, and billing without leaving the IDE. - Docs: https://docs.ml.ink - Website: https://ml.ink - Features: https://ml.ink/features - Pricing: https://ml.ink/pricing - Templates: https://ml.ink/deploy ## Connect MCP URL: https://mcp.ml.ink (supports OAuth and Bearer token auth) NPX package: @anthropic/mcp-server-mlink CLI: `npm install -g @mldotink/cli` or `brew install mldotink/tap/ink` ## MCP Clients Claude Code, Cursor, VS Code, Codex, Gemini CLI, Windsurf, Goose, Kimi Code, Open Code, Cline, KiloCode, Antigravity, and any MCP-compatible client. ## Frameworks & Languages Docker, Node.js, React, Python, Next.js, Go, Vue.js, Rust, Django, Angular, FastAPI, Svelte, Rails, Nuxt, Laravel, Java, Spring Boot, Flask, Ruby, PHP, .NET/C#, Elixir, Bun, Deno, Streamlit, Gradio, Haskell, Zig, HTML/Static. ## Databases - **PostgreSQL 17** -- Relational database with persistent storage - **Redis 7** -- In-memory data store with persistent storage - **MySQL 8** -- Relational database with persistent storage - **MongoDB 7** -- Document database with persistent storage - **SQLite (Turso)** -- Managed, globally replicated SQLite with native vector search PostgreSQL, Redis, MySQL, and MongoDB are deployed as container services via templates with persistent volumes. SQLite (Turso) is provisioned via the `create_resource` MCP tool. ## Persistent Volumes Attach durable block storage (10--100 GB) to any service. Data persists across restarts and redeploys. Custom mount paths. Billed at $0.0000035/GB/min (~$0.15/GB/mo). ## Templates Pre-configured multi-service stacks deployable in one click or one agent prompt. 1,400+ templates including Grafana observability stacks, Directus CMS, databases, AI/ML stacks, and more. Browse at https://ml.ink/deploy. ## MCP Tools - [create_service](https://docs.ml.ink): Deploy from Ink or GitHub repos with auto-detection - [update_service](https://docs.ml.ink): Update configuration and redeploy - [get_service](https://docs.ml.ink): Get status, URL, logs, and metrics - [delete_service](https://docs.ml.ink): Remove a deployed service - [list_services](https://docs.ml.ink): List all deployed services - [create_repo](https://docs.ml.ink): Create an Ink-hosted or GitHub repository - [get_git_token](https://docs.ml.ink): Get a temporary git token to push code - [create_resource](https://docs.ml.ink): Provision a managed SQLite (Turso) database - [get_resource](https://docs.ml.ink): Get database connection URL and auth token - [list_resources](https://docs.ml.ink): List all resources - [delete_resource](https://docs.ml.ink): Delete a resource - [add_custom_domain](https://docs.ml.ink): Attach a custom domain with automatic SSL - [remove_custom_domain](https://docs.ml.ink): Remove a custom domain - [list_delegations](https://docs.ml.ink): List delegated DNS zones - [list_dns_records](https://docs.ml.ink): List DNS records in a zone - [add_dns_record](https://docs.ml.ink): Add A, AAAA, CNAME, MX, TXT, or CAA records - [delete_dns_record](https://docs.ml.ink): Delete a DNS record - [check_credits](https://docs.ml.ink): Query credit balance, tier, and usage - [whoami](https://docs.ml.ink): Get authenticated user info - [list_workspaces](https://docs.ml.ink): List workspaces - [list_projects](https://docs.ml.ink): List projects ## CLI Commands `ink login`, `ink deploy`, `ink list`, `ink status`, `ink logs`, `ink redeploy`, `ink delete`, `ink repos`, `ink database`, `ink domains`, `ink dns`, `ink secrets`, `ink template`, `ink workspaces`, `ink projects`, `ink chat`, `ink metrics`, `ink whoami`, `ink config`, `ink update`. ## How It Works 1. Connect your MCP client or install the CLI 2. Your AI agent uses MCP tools or CLI commands to create repos, push code, and deploy services 3. ml.ink auto-detects framework, builds, deploys, and provisions TLS automatically 4. Agents can also provision databases, attach persistent volumes, manage DNS, and deploy templates ## Pricing Credit-based billing. Each plan includes a monthly credit grant. Usage is deducted from credits per-minute while services run. Agents can query their balance in real-time via `check_credits`. - **Free**: $0 forever, $2 one-time credit, 1 project, 3 services, up to 4 Gi memory / 2 vCPU total, community support - **Hobby ($5/mo)**: $5/mo credit included, 5 projects, 25 services, up to 20 Gi memory / 10 vCPU total, email support - **Pro ($20/mo)**: $20/mo credit included, unlimited projects & services, up to 80 Gi memory / 40 vCPU total, custom domains, DNS delegation, team roles, priority support - **Enterprise**: Custom pricing, dedicated infrastructure, SLAs, audit logs, dedicated support Usage rates (per minute / per month): - Memory: $0.000161/GB/min (~$7/mo per GB) - CPU: $0.000393/vCPU/min (~$17/mo per vCPU) - Persistent Volumes: $0.0000035/GB/min (~$0.15/mo per GB) - Egress: $0.05/GB overage (100 GB/mo included per project) - Ingress: Free ## Optional - [Privacy Policy](https://ml.ink/privacy) - [Terms of Service](https://ml.ink/terms)