VS Code
The MCP server works with VS Code through GitHub Copilot's MCP support in agent mode.
Prerequisites
VS Code with the GitHub Copilot extension (version 0.22 or later)
The
ionoscloud-mcpbinary built and available. 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
Create or edit .vscode/mcp.json in your workspace. The "type": "stdio" field tells VS Code to run the server as a local process communicating over standard input/output; just enter it as shown:
{
"servers": {
"ionoscloud": {
"type": "stdio",
"command": "/usr/local/bin/ionoscloud-mcp",
"env": {
"IONOS_TOKEN": "your-api-token"
}
}
}
}To also enable Object Storage tools, add your Object Storage credentials:
For a user-wide configuration that applies to all workspaces, open VS Code settings (Ctrl+Shift+P > Open User Settings JSON) and add the same servers block under the key "mcp".
Verify the connection
Test the connection
Type: List my IONOS CLOUD data centers.
If Copilot responds that it cannot access that information, check Troubleshooting.
For full VS Code MCP documentation, see Add and manage MCP servers in VS Code.
Last updated
Was this helpful?