Run your VPS from code or from an AI agent
Two MCP servers, a REST API with an OpenAPI description, and public JSON endpoints for plans and quotes. Read the catalogue with no account; manage your own servers with an API key you limit by access level, expiry and IP address.
Ways in
Public MCP server, no key
https://bookmyhost.com/mcp/public is read-only and carries no personal data. Tools: get_plans, get_rate_card, get_active_promos, quote_server, get_support_info, search_guides, get_guide and list_site_pages. Server card at /.well-known/mcp.json.
Account MCP server, your key
https://my.bookmyhost.com/mcp works on your own account: servers and their state, usage, the wallet ledger, payments, invoice PDFs and resize requests, within the limits of the key you pass.
REST API and OpenAPI
The same account actions over HTTPS at https://my.bookmyhost.com/api/v1, described in OpenAPI. Signed-in customers get the full reference under Developer in the panel.
Three calls you can run now
The first two need no account. Prices come from the live rate card: INR before GST for India, USD for customers outside India.
Quote a custom size
curl -s "https://my.bookmyhost.com/api/v1/public/quote?vcpu=2&ram_gb=4&disk_gb=60"Returns the hourly price and every billing term from hourly to 36 months. Add currency=USD for a USD quote. The full catalogue is at /api/v1/public/catalog.
List the public MCP tools
curl -s https://bookmyhost.com/mcp/public \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Streamable HTTP, POST only. Any MCP client that takes a URL can connect.
Connect Claude to your account
{
"mcpServers": {
"bookmyhost": {
"type": "http",
"url": "https://my.bookmyhost.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}The panel shows this ready to copy under Developer, then AI agents (MCP).
You hold the money; the key holds the limits
What you set on a key
- Read only or Full access
- An optional expiry date
- Optional IP addresses allowed to use it
- Shown once when created
What a key can never do
- Top up the wallet or pay an invoice
- Create or read API keys
- Read a generated root password
- Reach another account
Guards on changes
- An upgrade never spends more than the wallet holds; a short wallet makes it wait for your top-up
- Resize calls take an idempotency key, so a retry never resizes twice
- Deleting a server, cluster or bucket needs a full-access key with an IP restriction and destructive operations switched on
Before an agent can deploy, you open the account, complete eKYC once and fund the wallet. The VPS for AI agents guide walks through it step by step.
Machine-readable files
| File | What it holds |
|---|---|
/llms.txt | Key pages and facts in Markdown; /llms-full.txt adds the full guide text |
/.well-known/mcp.json | Public MCP server card |
/.well-known/openapi.json | Public OpenAPI description |
/.well-known/agent.json | Agent card |
/.well-known/ai-plugin.json | Plugin manifest |
/guides/<slug>.md | Markdown copy of every guide |
Give your code a server to work with
Billed by the hour, GST invoice on every payment, API keys you can limit to your own IP addresses. Every new account starts with ₹200 of free credit.


