contabo-mcp
This MCP server exposes the entire Contabo API to OpenAI-compatible agents through 14 domain tools plus a reference tool, with OAuth handled and read-only safety by default.
Compute instances: start/restart/stop/shutdown/rescue/reset password/list/create/get/update/reinstall/products/cancel/upgrade and region-change checks/requests.
Snapshots: list/create/get/update/delete/rollback.
Images: list/create/get/update/delete/stats.
Object storage: list/create/data centers/get/update/upgrade/stats/cancel.
Private networks: list/create/update/get/delete and assign/unassign instances.
Firewalls: create/list/get/update/delete, update rules, assign/unassign instances, list preset rules.
DNS: PTR records, zones, zone records, and bulk record deletion.
Domains: handles, availability, suggestions, list/get/order/update/cancel, auth code, and transfer actions.
VIPs: list/get/assign/unassign.
Secrets: list/create/get/update/delete.
Tags: CRUD plus tag assignments.
Users: users, roles, accounts, SSO/client secrets, and object-storage credentials.
Audits: read-only audit logs across resources.
Troubleshooting: checks, check collections/templates, and remedies.
Reference:
contabo_referencedocuments every operation's parameters and schema.Safety: write operations are blocked unless
CONTABO_ENABLE_WRITES=1; destructive ops are flagged, tokens are not logged, and OAuth/token caching/x-request-idare handled.
Provides tools for interacting with the entire Contabo API, enabling AI agents to manage Contabo infrastructure and account resources including instances, snapshots, images, object storage, private networks, firewalls, DNS, domains, VIPs, secrets, tags, users, audits, and troubleshooting. Read-only by default, with optional write operations when explicitly enabled.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@contabo-mcp list all my Contabo instances and their IP addresses"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
contabo-mcp
An MCP (Model Context Protocol) server that exposes the entire Contabo API — all 157 operations, generated from the official OpenAPI spec — to OpenAI-compatible agents (OpenAI Agents SDK, Codex CLI, Claude Desktop, Cursor, …).
14 domain tools (instances, snapshots, images, objectStorage, privateNetworks, firewalls, dns, domains, vips, secrets, tags, users, audits, troubleshooting)
1 documentation tool (
contabo_reference) with full parameter docs per operationHandles Contabo OAuth2 (password grant), token caching, and the required
x-request-idheader — the agent never deals with tokensRead-only by default. Start with
CONTABO_ENABLE_WRITES=1to allow POST/PATCH/PUT/DELETE operations.
Getting credentials
Create the four credentials in the Contabo Customer Control Panel:
ClientId, ClientSecret, API User (email), API Password.
Related MCP server: Hetzner Cloud MCP Server
Configuration
Env var | Required | Meaning |
| yes | OAuth2 client id |
| yes | OAuth2 client secret |
| yes | API user email |
| yes | API password |
| no |
|
| no | default |
| no | default Contabo token endpoint |
| no | per-request timeout (default 30000) |
Usage
The server runs straight from this repository — npx fetches it, builds it, and starts it:
npx -y github:sanchayan721/contabo-mcpPrefer running from a clone? git clone + bun install && bun run build, then point
your client at node dist/index.js instead.
OpenAI Agents SDK (Python)
from agents import Agent, MCPServerStdio
mcp = MCPServerStdio(
command="npx",
args=["-y", "github:sanchayan721/contabo-mcp"],
env={
"CONTABO_CLIENT_ID": "...",
"CONTABO_CLIENT_SECRET": "...",
"CONTABO_API_USER": "...",
"CONTABO_API_PASSWORD": "...",
# "CONTABO_ENABLE_WRITES": "1", # uncomment to allow writes
},
)
agent = Agent(name="infra", mcp_servers=[mcp])Claude Desktop / Codex CLI / Cursor (stdio config)
{
"mcpServers": {
"contabo": {
"command": "npx",
"args": ["-y", "github:sanchayan721/contabo-mcp"],
"env": {
"CONTABO_CLIENT_ID": "...",
"CONTABO_CLIENT_SECRET": "...",
"CONTABO_API_USER": "...",
"CONTABO_API_PASSWORD": "..."
}
}
}
}Development
Requires Bun (see package.json engines). Nub users get a faster local loop
(nub run test, nub src/codegen/generate.ts) — see
CONTRIBUTING.md.
Maintainer operational standards are documented in docs/MAINTAINERS.md.
bun install
bun run generate # spec/contabo-openapi.json → src/generated/registry.ts (157 ops)
bun test # Bun test suite incl. golden codegen + stdio E2E tests
bun run test:coverage # Bun coverage (text + lcov)
bun run coverage:check # Enforce line coverage >= 95%
bun run build # tsc → dist/ (regenerates the registry first)The API spec is committed at spec/contabo-openapi.json. When Contabo updates
their API, replace that file and rerun bun run generate — the registry and all
tool schemas stay in sync (codegen fails loudly if anything is dropped, renamed
or collides).
Safety
Read-only by default: write operations are rejected before any HTTP call with a message naming
CONTABO_ENABLE_WRITES.Destructive operations (cancel/delete/revoke/reset/shutdown/rollback) are flagged
[DESTRUCTIVE]in tool descriptions and the reference tool.Tokens are never logged; all logging goes to stderr.
Available Tools
15 toolscontabo_auditsARead-only
Contabo audit logs for every resource type. Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
tags: List history about your assignments (audit)
tagAssignments: List history about your assignments (audit)
dnsZones: List history about your DNS Zones (audit)
dnsRecords: List history about your DNS Records (audit)
vips: List history about your VIPs (audit)
secrets: List history about your secrets (audit)
privateNetworks: List history about your Private Networks (audit)
users: List history about your users (audit)
roles: List history about your roles (audit)
firewalls: List history about your Firewalls (audit)
instanceActions: List history about your actions (audit) triggered via the API
instances: List history about your instances (audit)
images: List history about your custom images (audit)
snapshots: List history about your snapshots (audit) triggered via the API
handles: List history about your handles (audit)
domains: List history about your Domains (audit)
objectStorages: List history about your object storages (audit)
Use the contabo_reference tool for full parameter documentation of any operation.
contabo_dnsADestructive
Contabo DNS zones, records and PTR records. Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
getPtrRecord: Retrieve a PTR Record by ip address
updatePtrRecord: Edit a PTR Record by ip address
deletePtrRecord: Delete a PTR Record using ip address [DESTRUCTIVE]
createPtrRecord: Create a new PTR Record using ip address
listPtrRecords: List PTR records
listZones: List DNS zones
createZone: Create DNS zone
getZone: Retrieve a DNS Zone by zone name
deleteZone: Delete a DNS zone. [DESTRUCTIVE]
listZoneRecords: List a DNS Zone's records
createZoneRecord: Create DNS zone record
updateZoneRecord: Update DNS zone record
deleteZoneRecord: Delete a DNS zone record [DESTRUCTIVE]
bulkDeleteZoneRecords: Bulk delete DNS zone records [DESTRUCTIVE]
Use the contabo_reference tool for full parameter documentation of any operation.
contabo_domainsADestructive
Contabo domains and contact handles. Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
listHandles: List all handles
createHandle: Create specific handle
getHandle: Get specific handle
deleteHandle: Remove specific handle [DESTRUCTIVE]
updateHandle: Update specific handle
setDefaultHandle: Set default handle
checkAvailability: Check domain availablility
list: List all domains
order: Create or transfer a domain
listPendingActions: List pending domain actions
suggest: Suggest domains
get: List specific domain
update: Update a specific domain
cancel: Cancel a specific domain [DESTRUCTIVE]
getAuthCode: Get auth code for a domain
revokeCancel: Revoke cancellation for a specific domain [DESTRUCTIVE]
confirmTransferOut: Confirm transfer out for a domain
revokeTransferOut: Revoke transfer out for a domain [DESTRUCTIVE]
Use the contabo_reference tool for full parameter documentation of any operation.
contabo_firewallsADestructive
Contabo firewalls and their rules. Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
create: Create a new firewall definition
list: List all firewalls
delete: Delete existing firewall by id [DESTRUCTIVE]
get: Get specific firewall by its id
update: Update a firewall by id
updateRules: Update specific firewall rules
assignInstance: Add instance to a firewall
unassignInstance: Remove instance from a firewall [DESTRUCTIVE]
listPresetRules: Get all preset rules
Use the contabo_reference tool for full parameter documentation of any operation.
contabo_imagesADestructive
Contabo standard and custom images. Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
list: List available standard and custom images
create: Provide a custom image
get: Get details about a specific image by its id
update: Update custom image name by its id
delete: Delete an uploaded custom image by its id [DESTRUCTIVE]
stats: List statistics regarding the customer's custom images
Use the contabo_reference tool for full parameter documentation of any operation.
contabo_instancesADestructive
Contabo compute instances (VPS/VDS). Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
start: Start a compute instance / resource identified by its id
restart: Restart a compute instance / resource identified by its id.
stop: Stop compute instance / resource by its id
shutdown: Shutdown compute instance / resource by its id [DESTRUCTIVE]
rescue: Rescue a compute instance / resource identified by its id
resetPassword: Reset password for a compute instance / resource referenced by an id [DESTRUCTIVE]
list: List instances
create: Create a new instance
checkRegionChange: Check if the instance can be moved to another host
requestRegionChange: Request instance region change
get: Get specific instance by id
update: Update specific instance
reinstall: Reinstall specific instance
listProducts: Get the available products of a specific instance
cancel: Cancel specific instance by id [DESTRUCTIVE]
upgrade: Upgrading instance capabilities
Use the contabo_reference tool for full parameter documentation of any operation.
contabo_objectStorageADestructive
Contabo S3-compatible object storages and data centers. Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
list: List all your object storages
create: Create a new object storage
listDataCenters: List data centers
get: Get specific object storage by its id
update: Modifies the display name of object storage
upgrade: Upgrade object storage size resp. update autoscaling settings.
stats: List usage statistics about the specified object storage
cancel: Cancels the specified object storage at the next possible date [DESTRUCTIVE]
Use the contabo_reference tool for full parameter documentation of any operation.
contabo_privateNetworksADestructive
Contabo private networks (VPC). Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
list: List Private Networks
create: Create a new Private Network
update: Update a Private Network by id
get: Get specific Private Network by id
delete: Delete existing Private Network by id [DESTRUCTIVE]
assignInstance: Add instance to a Private Network
unassignInstance: Remove instance from a Private Network [DESTRUCTIVE]
Use the contabo_reference tool for full parameter documentation of any operation.
contabo_referenceARead-only
Documentation for every Contabo MCP operation. Pass a domain to list its operations; pass domain + operation to get full parameter documentation (types, required fields, enums, defaults, descriptions and the exact input JSON Schema).
Inputs: domain (required), operation.
contabo_secretsADestructive
Contabo secrets (SSH keys, passwords). Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
list: List secrets
create: Create a new secret
get: Get specific secret by id
update: Update specific secret by id
delete: Delete existing secret by id [DESTRUCTIVE]
Use the contabo_reference tool for full parameter documentation of any operation.
contabo_snapshotsADestructive
Contabo instance snapshots. Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
list: List snapshots
create: Create a new instance snapshot
get: Retrieve a specific snapshot by id
update: Update specific snapshot by id
delete: Delete existing snapshot by id [DESTRUCTIVE]
rollback: Revert the instance to a particular snapshot based on its identifier [DESTRUCTIVE]
Use the contabo_reference tool for full parameter documentation of any operation.
contabo_tagsADestructive
Contabo tags and tag assignments. Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
list: List tags
create: Create a new tag
get: Get specific tag by id
update: Update specific tag by id
delete: Delete existing tag by id [DESTRUCTIVE]
listAssignments: List tag assignments
getAssignment: Get specific assignment for the tag
createAssignment: Create a new assignment for the tag
deleteAssignment: Delete existing tag assignment [DESTRUCTIVE]
Use the contabo_reference tool for full parameter documentation of any operation.
contabo_troubleshootingADestructive
Contabo troubleshooting checks, check collections and remedies. Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
listChecks: List check
startCheck: Start check
getCheck: Get check
cancelCheck: Cancel check [DESTRUCTIVE]
listCheckCollections: List check collections
startCheckCollection: Start check collection
getCheckCollection: Get check collection
cancelCheckCollection: Cancel check collection [DESTRUCTIVE]
listCheckCollectionTemplates: List check collection templates
getCheckCollectionTemplate: Get check
listRemedies: List remedy
startRemedy: Start remedy
getRemedy: Get remedy
cancelRemedy: Cancel remedy [DESTRUCTIVE]
Use the contabo_reference tool for full parameter documentation of any operation.
contabo_usersADestructive
Contabo users, roles, accounts and object-storage credentials. Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
list: List users
create: Create a new user
get: Get specific user by id
update: Update specific user by id
delete: Delete existing user by id [DESTRUCTIVE]
resetPassword: Send reset password email [DESTRUCTIVE]
resendEmailVerification: Resend email verification
generateSsoToken: Generate one time SSO token
getClient: Get client
generateClientSecret: Generate new client secret [DESTRUCTIVE]
isPasswordSet: Get user is password set status
requestEmailChange: Request email change
switchAccount: Switch user account
makeDefault: Make user account default
listAccounts: List of your accounts
listRoles: List roles
createRole: Create a new role
getRole: Get specific role by id
updateRole: Update specific role by id
deleteRole: Delete existing role by id [DESTRUCTIVE]
listApiPermissions: List of API permissions
listObjectStorageCredentials: Get list of S3 compatible object storage credentials for user.
getObjectStorageCredentials: Get S3 compatible object storage credentials.
regenerateObjectStorageCredentials: Regenerates secret key of specified user for the S3 compatible object storages. [DESTRUCTIVE]
Use the contabo_reference tool for full parameter documentation of any operation.
contabo_vipsADestructive
Contabo virtual IPs (VIP). Choose exactly one 'operation'; every operation has its own parameter set (validated per operation).
This server runs READ-ONLY: write operations are rejected until it is started with CONTABO_ENABLE_WRITES=1.
Operations:
list: List VIPs
get: Get specific VIP by ip
assign: Assign a VIP to an VPS/VDS/Bare Metal
unassign: Unassign a VIP to a VPS/VDS/Bare Metal [DESTRUCTIVE]
Use the contabo_reference tool for full parameter documentation of any operation.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool maps to a clearly distinct resource domain (firewalls, instances, snapshots, DNS, domains, etc.), so intent is easy to select. Minor overlap exists where the audits tool exposes history for resources that also have their own dedicated tools, and cross-cutting 'assignInstance'/'assign' verbs appear across several tools, but descriptions disambiguate well.
All tools share the consistent 'contabo_' prefix and operations are uniformly camelCase (create, list, get, update, delete, resetPassword). The only deviation is casing of the domain suffix, mixing lowercase (firewalls, dns) with camelCase (objectStorage, privateNetworks), plus a few operation names that mix resource-qualified forms (listHandles, getZone) with bare verbs (list, get).
15 tools sits at the top of the comfortable range but is well-scoped: each corresponds to a real resource family. The pattern of one tool per domain with an 'operation' selector keeps the visible surface manageable even though underlying operation counts (users, domains, audits) are high.
Coverage is broad, spanning firewalls, instances, snapshots, images, object storage, VPC, DNS, domains, VIPs, secrets, tags, users, audits, and troubleshooting, with a reference tool for parameter docs. Minor gaps: bare metal is only referenced via VIP assignment, and object-storage buckets/objects themselves are not exposed, but core lifecycle CRUD is present throughout.
Maintenance
Related MCP Connectors
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
The agent-native cloud: database, functions, AI, storage, computers. 53 tools. OAuth or API key.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
ComputePortal: deploy, monitor, and settle compute instances via MCP. 23 tools, OAuth 2.1.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables full operational control over Contabo VPS/VDS infrastructure through natural language, including instances, DNS, snapshots, and more with 57 tools.MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to manage and monitor Hetzner Cloud infrastructure, including servers, firewalls, networks, and snapshots, while keeping the API token local and secure.MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to inspect and manage OpenStack clouds, including listing instances, checking quotas, and retrieving console logs. It supports opt-in write operations for creating and deleting servers, with a read-only default.12MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to manage a self-hosted Coolify instance, including applications, databases, services, servers, projects, deployments, environment variables, tags, teams, private keys, and S3 backup storages via the Coolify REST API.-