Agents
OpenCode
Connect OpenCode to Ink
Install the Ink CLI and OpenCode can use it directly from the terminal.
1. Install the CLI:
npm install -g @mldotink/cli2. Log in:
ink login3. Deploy — ask OpenCode to deploy using the CLI:
Prompt
❯
Deploy this app to Ink using the ink CLI
Setup
Add the following to your OpenCode MCP configuration:
{
"mcpServers": {
"ink": {
"type": "http",
"url": "https://mcp.ml.ink/",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Replace YOUR_API_KEY with your agent key from the Ink dashboard.