MCP 服务器

civo

io.usefulapi/civo
云与基础设施 安全 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Inspects and operates Civo cloud instances, Kubernetes clusters, networks, storage, DNS and firewalls.

civo_create_dns_record
Add a DNS record
Add one record to a Civo-hosted domain. Live DNS changes propagate to the world; undo by deleting the record in the Civo dashboard or CLI. Civo: POST /v2/dns/{domain_id}/records.
可能执行破坏性操作
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['domain_id', 'type', 'name', 'value'], 'properties': {'ttl': {'type': 'integer', 'maximum': 604800, 'minimum': 600, 'description': "TTL in seconds; Civo's minimum and default is 600."}, 'name': {'type': 'string', 'maxLength': 253, 'minLength': 1, 'description': 'The subdomain part, e.g. www, or @ for the apex.'}, 'type': {'enum': ['A', 'CNAME', 'MX', 'TXT', 'SRV', 'NS'], 'type': 'string', 'description': 'Record type.'}, 'value': {'type': 'string', 'maxLength': 4096, 'minLength': 1, 'description': 'An IP address, hostname or text value.'}, 'priority': {'type': 'integer', 'maximum': 65535, 'minimum': 0, 'description': 'Priority, for MX/SRV records (Civo default 10).'}, 'domain_id': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{1,64}$', 'description': "The DNS domain's id (a UUID)."}}}
civo_create_firewall_rule
Add a firewall rule
Add one rule to a firewall — e.g. allow TCP 443 ingress from 0.0.0.0/0. This changes what is reachable on every instance, cluster and load balancer using the firewall, so prefer narrow CIDRs. Undo by deleting the rule in the Civo dashboard or CLI. Civo: POST /v2/firewalls/{id}/rules.
可能执行破坏性操作
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['firewall_id', 'protocol'], 'properties': {'cidr': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[0-9a-fA-F:.]+\\/\\d{1,3}$'}, 'minItems': 1, 'description': 'Source (ingress) or destination (egress) CIDRs. Civo defaults to 0.0.0.0/0 — the whole internet.'}, 'label': {'type': 'string', 'maxLength': 100, 'description': 'A display name for the rule.'}, 'action': {'enum': ['allow', 'deny'], 'type': 'string', 'description': 'allow (default) or deny.'}, 'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}, 'end_port': {'type': 'string', 'pattern': '^\\d{1,5}$', 'description': 'Last port of a range. Omit for a single port.'}, 'protocol': {'enum': ['tcp', 'udp', 'icmp'], 'type': 'string', 'description': 'tcp, udp or icmp.'}, 'direction': {'enum': ['ingress', 'egress'], 'type': 'string', 'description': 'ingress (default) or egress.'}, 'start_port': {'type': 'string', 'pattern': '^\\d{1,5}$', 'description': 'First port, e.g. "443". Required unless protocol is icmp.'}, 'firewall_id': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{1,64}$', 'description': "The firewall's id (a UUID)."}}}
civo_get_instance
Get one instance
Fetch one instance: status, size, CPU/RAM/disk, public and private IPs, network, firewall, tags, attached volumes and source image. Passwords are redacted. Civo: GET /v2/instances/{id}.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['instance_id'], 'properties': {'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}, 'instance_id': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{1,64}$', 'description': "The instance's id (a UUID)."}}}
civo_get_kubernetes_cluster
Get one Kubernetes cluster
Fetch one Kubernetes cluster: status, readiness, conditions, version and available upgrade, pools and their instances, network, firewall, CNI and installed marketplace apps. The kubeconfig is redacted. Civo: GET /v2/kubernetes/clusters/{id}.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['cluster_id'], 'properties': {'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}, 'cluster_id': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{1,64}$', 'description': "The cluster's id (a UUID)."}}}
civo_get_quota
Get account quota
The account's limits and current usage: instances, CPU cores, RAM, disk, volumes, snapshots, public IPs, networks, firewalls and rules, load balancers, object storage and databases. Answers 'can I launch another one?'. Civo: GET /v2/quota.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {}}
civo_list_charges
List charges
List billable usage for a period: each resource's product code, label, region, time span and hours (size_gb for volumes). The range may be at most 31 days; defaults to the start of the current month until now. Civo: GET /v2/charges.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'to': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+-]\\d{2}:\\d{2})$', 'description': 'End, RFC 3339. Defaults to now. At most 31 days after `from`.'}, 'from': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+-]\\d{2}:\\d{2})$', 'description': 'Start, RFC 3339 (e.g. 2026-09-01T00:00:00Z). Defaults to the start of this month.'}}}
civo_list_databases
List databases
List the managed databases (MySQL, PostgreSQL) in a region: software and version, size, nodes, IPs, port, network, firewall and status. Paginated: {page, per_page, pages, items}. Passwords are redacted. Civo: GET /v2/databases.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 10000, 'minimum': 1, 'description': 'Page number, from 1.'}, 'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}, 'per_page': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Items per page, 1-100 (Civo default 20).'}}}
civo_list_dns_domains
List DNS domains
List the domains whose DNS Civo hosts for the account. Civo: GET /v2/dns.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {}}
civo_list_dns_records
List DNS records
List the records of one hosted domain (name, type, value, priority, TTL), optionally filtered by type or name. Civo: GET /v2/dns/{domain_id}/records.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['domain_id'], 'properties': {'name': {'type': 'string', 'maxLength': 253, 'description': 'Only records with this name (e.g. www, or @ for the apex).'}, 'type': {'enum': ['a', 'cname', 'mx', 'txt', 'srv', 'ns'], 'type': 'string', 'description': 'Only records of this type.'}, 'domain_id': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{1,64}$', 'description': "The DNS domain's id (a UUID)."}}}
civo_list_firewall_rules
List a firewall's rules
List the rules of one firewall: protocol, port range, CIDRs, direction (ingress/egress), action (allow/deny) and label — the answer to 'what is exposed to the internet?'. Civo: GET /v2/firewalls/{id}/rules.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['firewall_id'], 'properties': {'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}, 'firewall_id': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{1,64}$', 'description': "The firewall's id (a UUID)."}}}
civo_list_firewalls
List firewalls
List the firewalls in a region with their network, rule count and how many instances, clusters and load balancers use each. Civo: GET /v2/firewalls.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}}}
civo_list_instances
List instances
List compute instances in a region, optionally filtered by tags. Paginated: returns {page, per_page, pages, items}. Passwords are redacted. Civo: GET /v2/instances.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 10000, 'minimum': 1, 'description': 'Page number, from 1.'}, 'tags': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[^\\s]+$'}, 'description': 'Only instances carrying these tags.'}, 'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}, 'per_page': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Items per page, 1-100 (Civo default 20).'}}}
civo_list_instance_sizes
List sizes
List the sizes (plans) that can be launched — instances, Kubernetes nodes and databases — with CPU cores, RAM, disk, transfer allowance and GPU. Civo: GET /v2/sizes.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}}}
civo_list_kubernetes_clusters
List Kubernetes clusters
List the Kubernetes (K3s/Talos) clusters in a region with status, version, node pools, API endpoint and installed applications. Paginated: {page, per_page, pages, items}. Kubeconfigs are redacted. Civo: GET /v2/kubernetes/clusters.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 10000, 'minimum': 1, 'description': 'Page number, from 1.'}, 'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}, 'per_page': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Items per page, 1-100 (Civo default 20).'}}}
civo_list_load_balancers
List load balancers
List the load balancers in a region: algorithm, backends (IP, protocol, source/target ports), public IP, state and the Kubernetes service each fronts. Civo: GET /v2/loadbalancers.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}}}
civo_list_networks
List networks
List the private networks in a region: label, CIDR, whether it is the default network, status and nameservers. Civo: GET /v2/networks.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}}}
civo_list_regions
List regions
List the Civo regions available to the account, with which one is the default, whether each is out of capacity, and the features each supports (IaaS, Kubernetes, object store, load balancers, GPU, databases). A cheap way to confirm the API key works. Civo: GET /v2/regions.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {}}
civo_list_volumes
List volumes
List the block-storage volumes in a region: size, status, type, and the instance or cluster each is attached to (unattached volumes still bill). Civo: GET /v2/volumes.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}}}
civo_reboot_instance
Reboot an instance
Reboot one instance. `soft` (default) asks the OS to restart cleanly; `hard` cuts power and boots it again, like pulling the plug — use only when soft does not work. Causes brief downtime. Civo: POST /v2/instances/{id}/soft_reboots or /hard_reboots.
可能执行破坏性操作
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['instance_id'], 'properties': {'type': {'enum': ['soft', 'hard'], 'type': 'string', 'description': 'soft (default) or hard.'}, 'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}, 'instance_id': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{1,64}$', 'description': "The instance's id (a UUID)."}}}
civo_set_instance_tags
Set an instance's tags
REPLACE the full tag list of one instance (tags are used for filtering and by load-balancer instance pools, so changing them can move an instance in or out of a pool). Pass the complete desired list; an empty list clears all tags. Civo: PUT /v2/instances/{id}/tags.
可能执行破坏性操作
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['instance_id', 'tags'], 'properties': {'tags': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[^\\s]+$', 'minLength': 1}, 'maxItems': 50, 'description': 'The complete new tag list.'}, 'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}, 'instance_id': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{1,64}$', 'description': "The instance's id (a UUID)."}}}
civo_start_instance
Start an instance
Boot a stopped instance. Undoes civo_stop_instance. Civo: PUT /v2/instances/{id}/start.
可能执行破坏性操作
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['instance_id'], 'properties': {'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}, 'instance_id': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{1,64}$', 'description': "The instance's id (a UUID)."}}}
civo_stop_instance
Stop an instance
Power off one instance. Anything it serves goes offline until it is started again with civo_start_instance. A stopped instance is still billed. Civo: PUT /v2/instances/{id}/stop.
可能执行破坏性操作
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['instance_id'], 'properties': {'region': {'type': 'string', 'pattern': '^[A-Za-z0-9-]{2,32}$', 'description': 'Region code, e.g. LON1, NYC1, FRA1, PHX1 (see civo_list_regions). Defaults to CIVO_REGION; Civo resources are regional, so pass the region the resource lives in.'}, 'instance_id': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{1,64}$', 'description': "The instance's id (a UUID)."}}}
已添加
civo_create_dns_record
2026年10月2日 02:40
已添加
civo_create_firewall_rule
2026年10月2日 02:40
已添加
civo_set_instance_tags
2026年10月2日 02:40
已添加
civo_start_instance
2026年10月2日 02:40
已添加
civo_stop_instance
2026年10月2日 02:40
已添加
civo_reboot_instance
2026年10月2日 02:40
已添加
civo_list_dns_records
2026年10月2日 02:40
已添加
civo_list_dns_domains
2026年10月2日 02:40
已添加
civo_list_databases
2026年10月2日 02:40
已添加
civo_list_volumes
2026年10月2日 02:40
已添加
civo_list_load_balancers
2026年10月2日 02:40
已添加
civo_list_firewall_rules
2026年10月2日 02:40
已添加
civo_list_firewalls
2026年10月2日 02:40
已添加
civo_list_networks
2026年10月2日 02:40
已添加
civo_get_kubernetes_cluster
2026年10月2日 02:40
已添加
civo_list_kubernetes_clusters
2026年10月2日 02:40
已添加
civo_get_instance
2026年10月2日 02:40
已添加
civo_list_instances
2026年10月2日 02:40
已添加
civo_list_instance_sizes
2026年10月2日 02:40
已添加
civo_list_charges
2026年10月2日 02:40
已添加
civo_get_quota
2026年10月2日 02:40
已添加
civo_list_regions
2026年10月2日 02:40