Skip to content

feat: auto-initialization from env + DNS tools + email management#1

Open
manganate006 wants to merge 1 commit into
runitsolutions:mainfrom
manganate006:feat/auto-init-email-tools
Open

feat: auto-initialization from env + DNS tools + email management#1
manganate006 wants to merge 1 commit into
runitsolutions:mainfrom
manganate006:feat/auto-init-email-tools

Conversation

@manganate006

Copy link
Copy Markdown

Summary / Résumé

🇬🇧 English

This PR adds significant improvements to the OVH MCP Server:

Auto-initialization from environment variables

  • Server now automatically initializes the OVH client when environment variables are set
  • Fixes the common "OVH client not initialized" error when used with Claude Code
  • Environment variables: OVH_ENDPOINT, OVH_APP_KEY, OVH_APP_SECRET, OVH_CONSUMER_KEY

DNS Management Tools (10 tools)

  • ovh_get_domains - List all DNS zones
  • ovh_get_domain_zone - Get zone details
  • ovh_get_dns_records - List DNS records (with filtering)
  • ovh_get_dns_record - Get specific record details
  • ovh_create_dns_record - Create a DNS record
  • ovh_update_dns_record - Update a DNS record
  • ovh_delete_dns_record - Delete a DNS record
  • ovh_refresh_dns_zone - Apply pending changes
  • ovh_get_dns_zone_status - Get zone status
  • ovh_export_dns_zone - Export zone in BIND format

Email Account Management Tools (8 tools)

  • ovh_get_email_domains - List email domains
  • ovh_get_email_accounts - List email accounts
  • ovh_get_email_account - Get account details
  • ovh_create_email_account - Create email account
  • ovh_update_email_account - Update account (password, description, quota)
  • ovh_delete_email_account - Delete email account
  • ovh_change_email_password - Change password
  • ovh_get_email_quota - Get domain quota usage

Email Redirection Management Tools (4 tools)

  • ovh_get_email_redirections - List redirections
  • ovh_get_email_redirection - Get redirection details
  • ovh_create_email_redirection - Create redirection
  • ovh_delete_email_redirection - Delete redirection

🇫🇷 Français

Cette PR apporte des améliorations significatives au serveur MCP OVH :

Auto-initialisation depuis les variables d'environnement

  • Le serveur initialise automatiquement le client OVH quand les variables sont définies
  • Corrige l'erreur "OVH client not initialized" fréquente avec Claude Code
  • Variables : OVH_ENDPOINT, OVH_APP_KEY, OVH_APP_SECRET, OVH_CONSUMER_KEY

Outils de gestion DNS (10 outils)

  • ovh_get_domains - Lister les zones DNS
  • ovh_get_domain_zone - Détails d'une zone
  • ovh_get_dns_records - Lister les records (avec filtrage)
  • ovh_get_dns_record - Détails d'un record
  • ovh_create_dns_record - Créer un record
  • ovh_update_dns_record - Modifier un record
  • ovh_delete_dns_record - Supprimer un record
  • ovh_refresh_dns_zone - Appliquer les changements
  • ovh_get_dns_zone_status - Statut de la zone
  • ovh_export_dns_zone - Export format BIND

Outils de gestion des comptes email (8 outils)

  • ovh_get_email_domains - Lister les domaines email
  • ovh_get_email_accounts - Lister les comptes
  • ovh_get_email_account - Détails d'un compte
  • ovh_create_email_account - Créer un compte
  • ovh_update_email_account - Modifier (mot de passe, description, quota)
  • ovh_delete_email_account - Supprimer un compte
  • ovh_change_email_password - Changer le mot de passe
  • ovh_get_email_quota - Quota du domaine

Outils de gestion des redirections email (4 outils)

  • ovh_get_email_redirections - Lister les redirections
  • ovh_get_email_redirection - Détails d'une redirection
  • ovh_create_email_redirection - Créer une redirection
  • ovh_delete_email_redirection - Supprimer une redirection

Test plan / Plan de test

  • Build passes (npm run build)
  • Server starts correctly with env variables
  • DNS tools work (tested with real OVH account)
  • Email tools work (tested with real OVH account)
  • Published and tested as @manganate06/mcp-server-ovh@2.1.0 on npm

🤖 Generated with Claude Code

- Auto-initialize OVH client from environment variables (OVH_ENDPOINT, OVH_APP_KEY, OVH_APP_SECRET, OVH_CONSUMER_KEY)
- Add 10 DNS management tools (list zones, CRUD records, refresh, export)
- Add 8 email account management tools
- Add 4 email redirection management tools
- Bump version to 2.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant