MCP OVHcloud Web Hosting
Provides tools for managing OVHcloud Web Hosting services, including listing services, retrieving service details, managing databases, FTP users, SSL certificates, domain attachments, and installing modules like WordPress.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP OVHcloud Web Hostinglist my web hosting services"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP OVHcloud Web Hosting
Serveur MCP (Model Context Protocol) pour piloter les services OVHcloud Web Hosting via les APIs OVH.
Fonctionnalités
8 tools read-only pour consulter vos services Web Hosting
6 tools write (désactivés par défaut) pour gérer vos services
2 modes de transport : stdio (Cursor, Claude Desktop) ou HTTP (SHAI)
3 modes d'authentification : Bearer passthrough, OAuth2 Service Account, AK/AS/CK
Gestion des erreurs avec mapping vers codes MCP standard
Rate limiting côté client (token bucket)
Retries automatiques avec backoff exponentiel
Logs structurés (Pino) avec masquage des secrets
Audit logging des appels de tools
Related MCP server: Coolify MCP Server
Prérequis
Node.js >= 18.0.0
Un compte OVHcloud avec au moins un service Web Hosting
Credentials API OVH (selon le mode d'authentification choisi)
Installation
# Cloner le repo
git clone <repository-url>
cd mcp-ovh-webhosting
# Installer les dépendances
npm install
# Copier la configuration exemple
cp env.example .env
# Compiler le TypeScript
npm run buildModes de Transport
Mode stdio (défaut)
Pour les clients MCP locaux comme Cursor ou Claude Desktop.
# Démarrer en mode stdio
npm start
# ou
npm run devMode HTTP (pour SHAI)
Pour les clients HTTP comme SHAI. Expose un endpoint /mcp avec SSE.
# Démarrer en mode HTTP
npm run start:http
# ou
MCP_TRANSPORT=http npm start
# ou
MCP_TRANSPORT=http MCP_HTTP_PORT=8080 npm run devLe serveur affiche :
MCP Server is running on http://0.0.0.0:8080/mcpConfiguration avec SHAI
1. Démarrer le serveur MCP sur votre SDEV
cd mcp-ovh-webhosting
MCP_TRANSPORT=http MCP_HTTP_PORT=<VOTRE_PORT_SDEV> npm run start:httpRemplacez <VOTRE_PORT_SDEV> par un port dans la plage autorisée de votre SDEV :
cat /etc/ovh.conf.d/sdev.conf | grep "SDEV_PORT_"2. Configurer l'agent SHAI
Créez le fichier ~/.config/shai/agents/ovh_webhosting.config :
{
"name": "ovh_webhosting",
"description": "Agent pour piloter OVHcloud Web Hosting",
"llm_provider": {
"provider": "ovhcloud",
"env_vars": {
"OVH_API_KEY": "votre_AI_endpoints_token"
},
"model": "Qwen3-Coder-30B-A3B-Instruct",
"tool_method": "FunctionCall"
},
"tools": {
"builtin": ["*"],
"builtin_excluded": [],
"mcp": {
"ovh": {
"config": {
"type": "http",
"url": "http://gw2sdev-docker.ovh.net:<VOTRE_PORT_SDEV>/mcp",
"bearer_token": "votre_token_api_ovh"
},
"enabled_tools": ["*"],
"excluded_tools": []
}
}
},
"system_prompt": "{{CODER_BASE}}",
"max_tokens": 1000000,
"temperature": 0.0
}3. Lancer SHAI
shai agent ovh_webhostingVous verrez les tools MCP disponibles :
░ MCP 'ovh' connected (authenticated)
░ mcp(ovh): ovh.webhosting.listServices, ovh.webhosting.getService, ...Modes d'authentification OVH
Mode Bearer (passthrough) - Recommandé pour SHAI
Le token est passé par le client MCP (SHAI) et transmis tel quel à l'API OVH.
# Configuration minimale pour mode HTTP + Bearer
MCP_TRANSPORT=http
OVH_AUTH_MODE=bearer # Défaut en mode HTTP
OVH_API_REGION=euLe bearer_token configuré dans SHAI est automatiquement utilisé pour authentifier les appels à l'API OVH.
Mode OAuth2 Service Account
Pour les automatisations internes sans SHAI.
OVH_AUTH_MODE=oauth2
OVH_API_REGION=eu
OVH_OAUTH_CLIENT_ID=votre-client-id
OVH_OAUTH_CLIENT_SECRET=votre-client-secret
OVH_OAUTH_SCOPE=allCréer un Service Account
Connectez-vous à la Console OVHcloud
Mon compte → Gestion des comptes → Comptes de service
Créer un compte de service
Notez le
Client IDetClient Secret
Créer une Policy IAM
{
"name": "webhosting-full-access",
"description": "Accès complet aux services Web Hosting",
"permissions": {
"allow": [
{ "action": "webHosting:apiovh:get" },
{ "action": "webHosting:apiovh:create" },
{ "action": "webHosting:apiovh:update" },
{ "action": "webHosting:apiovh:delete" }
]
},
"resources": [
{ "urn": "urn:v1:eu:resource:webHosting:*" }
]
}Mode AK/AS/CK
Pour la délégation de droits ou l'usage avec des applications existantes.
OVH_AUTH_MODE=akasck
OVH_API_REGION=eu
OVH_APP_KEY=votre-application-key
OVH_APP_SECRET=votre-application-secret
OVH_CONSUMER_KEY=votre-consumer-keyConfiguration dans Cursor / Claude Desktop
Pour les clients MCP locaux, utilisez le mode stdio :
Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"ovh-webhosting": {
"command": "node",
"args": ["/chemin/vers/mcp-ovh-webhosting/dist/server.js"],
"env": {
"OVH_AUTH_MODE": "oauth2",
"OVH_API_REGION": "eu",
"OVH_OAUTH_CLIENT_ID": "votre-client-id",
"OVH_OAUTH_CLIENT_SECRET": "votre-client-secret"
}
}
}
}Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json)
{
"mcpServers": {
"ovh-webhosting": {
"command": "node",
"args": ["/chemin/vers/mcp-ovh-webhosting/dist/server.js"],
"env": {
"OVH_AUTH_MODE": "oauth2",
"OVH_API_REGION": "eu",
"OVH_OAUTH_CLIENT_ID": "votre-client-id",
"OVH_OAUTH_CLIENT_SECRET": "votre-client-secret"
}
}
}
}Tools disponibles
Read-only (MVP)
Tool | Description | Endpoint OVH |
| Liste tous les services Web Hosting |
|
| Détails d'un service |
|
| Configuration active |
|
| Liste les bases de données |
|
| Liste les utilisateurs FTP/SSH |
|
| Catalogue des modules |
|
| Détails d'un module |
|
| Liste les dumps d'une BDD |
|
Write (nécessite ENABLE_WRITE_TOOLS=true)
Tool | Description | Endpoint OVH |
| Attache un domaine |
|
| Installe un certificat SSL |
|
| Crée une base de données |
|
| Crée un dump de BDD |
|
| [DESTRUCTIF] Restaure un dump |
|
| Installe un module (WordPress, etc.) |
|
Variables d'environnement
Transport MCP
Variable | Description | Défaut |
| Mode de transport: |
|
| Port HTTP (mode http) |
|
| Chemin de l'endpoint MCP |
|
| Host HTTP |
|
Authentification OVH
Variable | Description | Défaut |
| Mode d'auth: |
|
| Région API: |
|
| Client ID OAuth2 (mode oauth2) | - |
| Client Secret OAuth2 (mode oauth2) | - |
| Scope OAuth2 |
|
| Application Key (mode akasck) | - |
| Application Secret (mode akasck) | - |
| Consumer Key (mode akasck) | - |
Configuration HTTP OVH
Variable | Description | Défaut |
| Timeout HTTP en ms |
|
| Nombre max de retries |
|
Features
Variable | Description | Défaut |
| Activer les tools d'écriture |
|
| Niveau de log |
|
Endpoints HTTP
En mode HTTP, le serveur expose :
Endpoint | Méthode | Description |
| GET | SSE endpoint pour connexion MCP |
| POST | Messages MCP |
| GET | Health check |
| GET | Informations sur le serveur et les tools |
Développement
# Lancer les tests
npm test
# Tests en mode watch
npm run test:watch
# Linting
npm run lint
# Formatage
npm run format
# Build
npm run buildPoints à valider
Certains endpoints ou paramètres nécessitent validation dans la console OVH :
Endpoint création FTP/SSH user : La documentation mentionne un endpoint incohérent.
Paramètre
domaindansattachDomain: Marqué optionnel mais potentiellement requis.Actions IAM exactes : La liste complète des actions IAM pour les writes est à déterminer.
Rate limits OVH : Non documentés, à déterminer empiriquement.
Licence
MIT
Ressources
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/GuiF008/mcp-ovh-webhosting'
If you have feedback or need assistance with the MCP directory API, please join our Discord server