Hostodo MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Hostodo MCP lets AI assistants and MCP-compatible clients manage Hostodo VPS infrastructure through Hostodo's hosted Streamable HTTP MCP endpoint.
- **Hosted endpoint:** https://api.hostodo.com/mcp
- **Documentation:**
- **Create a token:**
What it can do
Hostodo MCP exposes real VPS, account, support, and DNS management tools for authenticated Hostodo customers:
VPS operations
- List owned VPS instances and capability flags
- Read detailed VM metadata
- List enabled OS templates for reinstall workflows
- Power control: start, shutdown, reboot, stop, and reset
- Rename a VPS with an explicit confirmation phrase
- Reinstall a VPS to an OS template with an explicit confirmation phrase
- View VM metrics, bandwidth usage, health checks, and incidents
- Manage snapshots where supported
Agent execution and deployments
- Enable or disable MCP/QEMU guest-agent command execution per VM
- Run bounded synchronous commands inside a VM through the QEMU guest agent
- Start, poll, read logs from, and cancel asynchronous VM commands
- Upload artifacts and install files onto owned VMs with SHA-256 verification
- Inspect deployments, service logs, rollback deployments, and restart services where available
Account and support workflows
- List invoices, inspect invoice details, and pay invoices
- List payment methods and account balance
- Apply account credit where supported
- List, create, reply to, and close support tickets
- Upload ticket attachments
DNS and access management
- List DNS zones and manage DNS records
- List and set rDNS records
- List, add, and remove SSH keys
Authentication
Create a Hostodo MCP developer token in the Hostodo Console, then send it as a bearer token:
Tokens are scoped. Grant only the scopes your client needs:
- vms:read — list VMs, view VM metadata, list OS templates, and read VM/account state
- vms:power — power actions, rename, reinstall, and other state-changing VM workflows
- vms:exec — command execution, async commands, service operations, and artifact install workflows
Command execution is disabled by default on each VM and must be explicitly enabled per VM before exec/artifact tools can run.
Run this MCP server locally
This repository contains a small runnable MCP wrapper so registries such as Glama can start and introspect Hostodo MCP even though the production implementation lives in Hostodo's hosted API.
Docker:
tools/list works without a token for registry evaluation. Real tool calls require HOSTODO_MCP_TOKEN and are proxied to https://api.hostodo.com/mcp.
MCP client configuration
Use the hosted Streamable HTTP endpoint directly: