productivity
Contabo MCP Integration for LangChain
Connect Contabo to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Contabo to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Contabo MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-contabo": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=contabo",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=contabo --write=deny Why Use KosmoKrator Here
Expose only Contabo instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Contabo Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Contabo integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__contabo__contabo_list_instances | contabo.contabo_list_instances | Read | List all compute instances (VPS) in the Contabo account. Returns IDs, names, status, region, and IP addresses. |
integration__contabo__contabo_get_instance | contabo.contabo_get_instance | Read | Get details for a specific Contabo compute instance (VPS) by ID. Returns full instance information including IP addresses, region, and configuration. |
integration__contabo__contabo_list_snapshots | contabo.contabo_list_snapshots | Read | List all snapshots in the Contabo account. Returns snapshot IDs, names, instance IDs, and creation dates. |
integration__contabo__contabo_list_images | contabo.contabo_list_images | Read | List all custom images in the Contabo account. Returns image IDs, names, OS type, and size. |
integration__contabo__contabo_list_networks | contabo.contabo_list_networks | Read | List all private networks in the Contabo account. Returns network IDs, names, regions, and CIDR ranges. |
integration__contabo__contabo_list_ssh_keys | contabo.contabo_list_ssh_keys | Read | List all registered SSH keys in the Contabo account. Returns key IDs, names, and fingerprints. |
integration__contabo__contabo_get_current_user | contabo.contabo_get_current_user | Read | Get information about the current authenticated Contabo account, including email, tenant, and user ID. |