OpenCode
OpenCode is an open-source terminal-based AI coding agent that supports 75+ model providers and local MCP servers. It is designed for developers who work primarily in the terminal and want AI assistance without leaving the command line.
Prerequisites
OpenCode installed. For more information, see opencode.ai/docs/#install
The
ionoscloud-mcpbinary on yourPATH. For more information, see Quick StartAn IONOS CLOUD API token. For least-privilege access, see Authentication to scope the token to only the tools you need.
Add the MCP server
Add the following to your OpenCode config:
Global config:
~/.config/opencode/opencode.jsoncProject config:
opencode.jsonoropencode.jsoncin your project root (takes precedence over global)
{
"mcp": {
"ionoscloud": {
"type": "local",
"command": ["/usr/local/bin/ionoscloud-mcp"],
"environment": {
"IONOS_TOKEN": "your-api-token"
}
}
}
}Replace your-api-token with your IONOS CLOUD API token. On Windows, use the full path: C:\\bin\\ionoscloud-mcp.exe.
To also enable Object Storage tools, add the Object Storage credentials:
Verify the connection
For full OpenCode MCP documentation, see opencode.ai/docs/mcp-servers.
Last updated
Was this helpful?