@rarecloudio/mcp-server
Read-only MCP server for the RareCloud API, enabling AI agents to list servers, browse the catalog, check billing, and plan deployments.
README
@rarecloudio/mcp-server
Model Context Protocol server for the RareCloud API.
Drop into Claude Code, Claude Desktop, Cursor, or your own MCP client to let AI agents inspect and reason about your RareCloud account — list servers, browse the catalog, check billing, plan deployments.
What it does
Exposes 20 read-only tools wrapping the RareCloud REST API:
| Category | Tool | Purpose |
|---|---|---|
| Catalog | list_catalog_products |
Browse orderable plans, filter by kind/backend |
get_catalog_plan |
Full plan detail: specs + pricing + billing tracks | |
list_regions |
Available datacenter regions | |
list_images |
OS images (Ubuntu / Debian / Windows / ...) | |
| Services | list_services |
All your running services (filter by category) |
get_service |
Detail on one service | |
get_service_metrics |
CPU / RAM / disk / bandwidth time series | |
list_backups |
Backups for one legacy VPS | |
get_provisioning_state |
Setup state of a pending service (paid / unprovisioned / stuck) | |
list_os_templates |
OS templates a legacy VPS can be reinstalled with | |
list_upgrade_options |
Plans+cycles a service could upgrade/downgrade to | |
| Billing | list_invoices |
Invoice history |
get_invoice |
Detail on one invoice | |
get_credit_balance |
Current prepaid credit | |
get_credit_ledger |
Credit movements (top-ups, vouchers, metering) | |
| Support | list_tickets |
Support tickets (filter by status) |
get_ticket |
One ticket with its full thread | |
| Account | get_account |
Profile (email, name, country) |
list_ssh_keys |
SSH keys on a server (per-service) | |
get_account_limits |
Resource caps + current usage |
Read-only by design
This release is read-only. No create_server, no destroy, no snapshot create. The reason is architectural: mutating actions need a derived, scoped token plus a mandatory plan-and-approve step before they're safe to expose to an LLM. That ships in a future release.
In the meantime: the agent can read, recommend, and generate Terraform/CLI commands. The user copy-pastes them or runs them via the RareCloud CLI.
Install
Requires Node.js 20+.
npm install -g @rarecloudio/mcp-server
Or run directly with npx:
npx @rarecloudio/mcp-server
Configure
Get an API token: Dashboard → Account → API tokens → New token. Scope it to read-only (services:read, billing:read, account:read, catalog:read). Copy it — shown once.
Set the env var:
export RARECLOUD_API_TOKEN="rc_pat_..."
Optional, for self-hosted / staging instances:
export RARECLOUD_API_ENDPOINT="https://your-instance.example.com"
Use with Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"rarecloud": {
"command": "npx",
"args": ["-y", "@rarecloudio/mcp-server"],
"env": {
"RARECLOUD_API_TOKEN": "rc_pat_..."
}
}
}
}
Restart Claude Desktop. The 20 tools become available under the 🔌 menu.
Use with Claude Code
claude mcp add rarecloud npx -- -y @rarecloudio/mcp-server \
-e RARECLOUD_API_TOKEN=rc_pat_...
Use with Cursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"rarecloud": {
"command": "npx",
"args": ["-y", "@rarecloudio/mcp-server"],
"env": { "RARECLOUD_API_TOKEN": "rc_pat_..." }
}
}
}
Example prompts
Once configured, try:
- "What VPS plans do you offer in Frankfurt?" → uses
list_catalog_products+list_regions - "List my running servers and their monthly cost" →
list_services+ per-service spec lookup - "Am I close to any resource limits?" →
get_account_limits - "Give me a Terraform config for a 2 vCPU / 4 GB VPS in The Hague" →
get_catalog_plan+ composition
Develop locally
git clone https://github.com/RareCloudio/rarecloud-mcp-server
cd rarecloud-mcp-server
npm install
npm run dev # runs from source via tsx
npm run build # compiles to dist/
Then point Claude Desktop at your local checkout:
{
"mcpServers": {
"rarecloud-dev": {
"command": "node",
"args": ["/absolute/path/to/rarecloud-io/mcp-server/dist/index.js"],
"env": { "RARECLOUD_API_TOKEN": "rc_pat_..." }
}
}
}
Security
- Tokens never touch shell history (we use env vars, not CLI flags).
- Each tool maps 1:1 to a RareCloud API endpoint; the MCP server doesn't aggregate or transform data beyond what the API returns.
- Read-only scope — there is no path for an agent to mutate state via this server, even on a compromised token.
- Revoke a token at any time: Dashboard → Account → API tokens. Revocation is instant, no propagation delay.
License
MIT.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。