OVHcloud MCP Server
Manage VPS, domains, DNS, billing, and execute SSH commands from any MCP-compatible client. 27 tools + full API discovery across 500+ OVH endpoints.
README
OVHcloud MCP Server
MCP server for OVHcloud. Manage VPS, domains, DNS, billing, and execute SSH commands from any MCP-compatible client.
27 tools + full API discovery across 500+ OVH endpoints.
Requirements
- Node.js 20+
- OVH API credentials (create token)
Installation
git clone https://github.com/hlebtkachenko/ovhcloud-mcp.git
cd ovhcloud-mcp
npm ci
npm run build
Configuration
Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"ovhcloud": {
"command": "node",
"args": ["/path/to/ovhcloud-mcp/dist/index.js"],
"env": {
"OVH_APPLICATION_KEY": "your_app_key",
"OVH_APPLICATION_SECRET": "your_app_secret",
"OVH_CONSUMER_KEY": "your_consumer_key"
}
}
}
}
Claude Desktop
claude_desktop_config.json (location)
{
"mcpServers": {
"ovhcloud": {
"command": "node",
"args": ["/path/to/ovhcloud-mcp/dist/index.js"],
"env": {
"OVH_APPLICATION_KEY": "your_app_key",
"OVH_APPLICATION_SECRET": "your_app_secret",
"OVH_CONSUMER_KEY": "your_consumer_key"
}
}
}
}
Claude Code
.mcp.json in your project root, or ~/.claude.json globally:
{
"mcpServers": {
"ovhcloud": {
"command": "node",
"args": ["/path/to/ovhcloud-mcp/dist/index.js"],
"env": {
"OVH_APPLICATION_KEY": "your_app_key",
"OVH_APPLICATION_SECRET": "your_app_secret",
"OVH_CONSUMER_KEY": "your_consumer_key"
}
}
}
}
Any MCP client (stdio)
The server uses stdio transport. Point your MCP client to:
node /path/to/ovhcloud-mcp/dist/index.js
With environment variables set for authentication (see below).
Environment Variables
Authentication (one of two modes, auto-detected):
| Variable | Mode | Description |
|---|---|---|
OVH_APPLICATION_KEY |
API key | Application key |
OVH_APPLICATION_SECRET |
API key | Application secret |
OVH_CONSUMER_KEY |
API key | Consumer key |
OVH_CLIENT_ID |
OAuth2 | Service account ID |
OVH_CLIENT_SECRET |
OAuth2 | Service account secret |
OVH_ENDPOINT |
Both | ovh-eu (default), ovh-ca, ovh-us |
SSH (optional):
| Variable | Description |
|---|---|
SSH_HOST |
Default SSH host |
SSH_PORT |
Default SSH port (default: 22) |
SSH_USER |
Default SSH username |
SSH_PASSWORD |
SSH password |
SSH_PRIVATE_KEY_FILE |
Path to private key file |
Tools
VPS
| Tool | Description |
|---|---|
ovh_vps_list |
List all VPS with hardware details |
ovh_vps_info |
Server state, hardware, IPs, service status |
ovh_vps_monitoring |
CPU and network statistics |
ovh_vps_ips |
List assigned IPs |
ovh_vps_reboot |
Reboot a VPS |
ovh_vps_start |
Start a stopped VPS |
ovh_vps_stop |
Stop a running VPS |
ovh_vps_snapshot |
Get snapshot info |
ovh_vps_create_snapshot |
Create a new snapshot |
Domains & DNS
| Tool | Description |
|---|---|
ovh_domain_list |
List all domains and DNS zones |
ovh_domain_zone_info |
Nameservers, DNSSEC status |
ovh_domain_dns_records |
List records with type/subdomain filters |
ovh_domain_dns_record_detail |
Single record details |
ovh_domain_dns_create |
Create DNS record |
ovh_domain_dns_update |
Update DNS record |
ovh_domain_dns_delete |
Delete DNS record |
ovh_domain_dns_refresh |
Force zone refresh |
Account & Billing
| Tool | Description |
|---|---|
ovh_account_info |
Account details (name, email, country) |
ovh_services |
List active services with renewal info |
ovh_invoices |
Recent invoices with PDF links |
ovh_invoice_detail |
Full invoice with line items |
API Explorer
Discover and inspect any OVH API endpoint without writing code.
| Tool | Description |
|---|---|
ovh_api_catalog |
List all API categories (vps, cloud, email, dedicated, etc.) |
ovh_api_search |
Search endpoints by keyword across all or specific categories |
ovh_api_endpoint_detail |
Parameters, types, and descriptions for any endpoint |
SSH
| Tool | Description |
|---|---|
ovh_ssh_exec |
Execute a command on a remote server |
ovh_ssh_check |
Test SSH connectivity |
Raw API
| Tool | Description |
|---|---|
ovh_api_raw |
Call any OVH API endpoint directly |
Docker
docker build -t ovhcloud-mcp .
docker run --rm \
-e OVH_APPLICATION_KEY=... \
-e OVH_APPLICATION_SECRET=... \
-e OVH_CONSUMER_KEY=... \
ovhcloud-mcp
Multi-stage build, runs as non-root node user.
Security
- Path injection prevention —
..,?,#rejected in API paths - 30-second timeout on all HTTP requests
- Error responses truncated to 500 characters
- All parameters validated with Zod schemas
- SSH output capped at 100 KB to prevent memory issues
- Docker container runs as unprivileged user
Testing
npm test
Architecture
src/
index.ts Auth detection, tool registration
ovh-client.ts API client (SHA1-HMAC + OAuth2), path validation
tools/
vps.ts VPS management (9 tools)
domain.ts Domains and DNS (8 tools)
raw.ts Raw API calls (1 tool)
account.ts Account and billing (4 tools)
explorer.ts API spec search and discovery (3 tools)
ssh.ts Remote command execution (2 tools)
tests/
ovh-client.test.ts Path validation and client tests
Tech Stack
- TypeScript
@modelcontextprotocol/sdk- Zod (schema validation)
- ssh2 (SSH client)
- Native
fetch
API Reference
License
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。