References

MCP Tools Reference

Complete reference for all Ink MCP tools — deploy, observe, and manage production applications through AI agents

Model Context Protocol (MCP) is an open standard for connecting AI agents to external tools and data sources. Instead of building custom integrations for each AI client, a service exposes MCP tools once and every compatible client can use them.

Ink exposes 30+ MCP tools through a single endpoint that give AI agents full control over infrastructure — deploy services, deploy database templates, manage DNS records, read logs, and more.

Endpoint

https://mcp.ml.ink/

Ink uses Streamable HTTP transport. The agent sends JSON-RPC requests over HTTP and receives responses back. Most MCP clients handle this automatically — you just provide the endpoint URL.

Authentication

All requests require authentication. Two methods are supported:

  • OAuth — the agent authenticates through a browser flow, handled automatically by the MCP client. This is the default for Claude Code, Cursor, and most desktop clients.
  • API Key — pass a dk_live_ token via Authorization: Bearer YOUR_API_KEY header. Designed for headless agents and programmatic access.

Tool discovery

On connection, the agent calls tools/list and receives every available tool with:

  • Name — the tool identifier (e.g., create_service)
  • Description — what the tool does, written for AI agents to understand
  • Input schema — typed parameters with descriptions and defaults
  • Required fields — which parameters are mandatory

The agent uses these descriptions to decide when and how to call each tool.

Tool categories

CategoryToolsDescription
Servicescreate_service, list_services, get_service, update_service, delete_serviceDeploy, monitor, and manage applications
Gitcreate_repo, get_git_tokenCreate repositories and get push credentials
Domainsadd_custom_domain, remove_custom_domain, list_delegations, list_dns_records, add_dns_record, delete_dns_recordCustom domains and full DNS management
Identitywhoami, list_projects, list_workspacesAuthentication and project management

Common patterns

Deploy a service

Tool Call
(
  : "my-app",
  : "ink/my-app"
)

Check deployment status and logs

Tool Call
(
  : "my-app",
  : "100",
  : "100"
)

Provision a database

Tool Call
(
  : "postgresql",
  : "my-db"
)

Assign a custom domain

Tool Call
(
  : "my-app",
  : "app.example.com"
)

MCP vs REST APIs

MCPREST API
ConsumerAI agentsHuman developers writing code
DiscoveryAutomatic — agent reads tool listManual — developer reads docs
InvocationAgent decides based on contextDeveloper writes explicit calls
AuthOAuth or token, handled by clientDeveloper manages tokens
Error handlingAgent reads error, adapts approachDeveloper writes error handling code

MCP doesn't replace REST APIs — it's a layer designed for AI agent interaction. Ink's MCP tools call the same underlying API, but the interface is optimized for how agents think and operate.

On this page