gandi
Manage Gandi domains, DNS, email, and SSL certificates via the Gandi API
Install
mkdir -p .claude/skills/gandi && curl -L -o skill.zip "https://mcp.directory/api/skills/download/4913" && unzip -o skill.zip -d .claude/skills/gandi && rm skill.zipInstalls to .claude/skills/gandi
About this skill
Gandi Domain Registrar Skill
Comprehensive Gandi domain registrar integration for Moltbot.
Status: ✅ Phase 2 Complete - DNS modification & snapshots functional
⚠️ Security Warning
This skill can perform DESTRUCTIVE operations on your Gandi account:
- DNS Modification: Add, update, or delete DNS records (can break websites/email)
- Email Management: Create, modify, or delete email forwards (can intercept emails)
- Domain Registration: Register domains (creates financial transactions)
- Bulk Operations: Replace all DNS records at once (cannot be undone except via snapshots)
Before running ANY script:
- Review the script code to understand what it does
- Create DNS snapshots before bulk changes (
create-snapshot.js) - Use read-only Personal Access Tokens where possible
- Test on non-production domains first
- Understand that some operations cannot be undone
Destructive scripts (⚠️ modify or delete data):
add-dns-record.js,delete-dns-record.js,update-dns-bulk.jsadd-email-forward.js,update-email-forward.js,delete-email-forward.jsrestore-snapshot.js(replaces current DNS)
Read-only scripts (✅ safe, no modifications):
list-domains.js,list-dns.js,list-snapshots.jslist-email-forwards.js,check-domain.js,check-ssl.js
📖 For complete script documentation: See SCRIPTS.md for detailed information about:
- What each script does
- Network operations and API calls
- Security implications
- Undo/recovery procedures
- Audit workflow recommendations
Current Capabilities
Phase 1 (Complete)
- ✅ Personal Access Token authentication
- ✅ List domains in your account
- ✅ Get domain details (expiration, status, services)
- ✅ List DNS records for domains
- ✅ View domain and DNS information
- ✅ Domain availability checking (#4)
- ✅ Smart domain suggestions with variations (#4)
- ✅ SSL certificate status checker
- ✅ Error handling and validation
Phase 2 (Complete)
- ✅ Add/update DNS records (A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, PTR)
- ✅ Delete DNS records
- ✅ Bulk DNS operations (replace all records at once)
- ✅ DNS zone snapshots (create, list, restore)
- ✅ Email forwarding (create, list, update, delete forwards including catch-all)
- ✅ Record validation (automatic validation for each record type)
- ✅ Safety features (automatic snapshots before bulk changes, confirmation prompts)
Coming Soon (Phase 3+)
- Domain registration
- Multi-organization support (#1)
- Gateway Console configuration (#3)
- Domain renewal management
- DNSSEC configuration
- Certificate management
- Email mailbox management (beyond forwarding)
Setup
Step 1: Create Personal Access Token
⚠️ Security Recommendation: Use the minimum required scopes for your use case.
-
Click "Create a token"
-
Select your organization
-
Choose scopes:
Read-Only (Recommended for viewing only):
- ✅ Domain: read (required for listing domains)
- ✅ LiveDNS: read (required for viewing DNS records)
- ✅ Email: read (required for viewing email forwards)
Write Access (Required for modifications - use with caution):
- ⚠️ LiveDNS: write (enables DNS modification, deletion, bulk operations)
- ⚠️ Email: write (enables email forward creation, updates, deletions)
-
Copy the token (you won't see it again!)
Security Best Practices:
- Create separate tokens for read-only vs. write operations
- Use read-only tokens for routine checks/monitoring
- Only use write tokens when actively making changes
- Rotate tokens regularly (every 90 days recommended)
- Delete unused tokens immediately
- Never share or commit tokens to version control
Step 2: Store Token
Scripts check for credentials in priority order:
GANDI_API_TOKENenvironment variable (checked first)~/.config/gandi/api_tokenfile (fallback if env var not set)
Choose the method that fits your workflow:
Option A: Environment Variable (Recommended for CI/CD)
# Set environment variable (replace YOUR_PAT with actual token)
export GANDI_API_TOKEN="YOUR_PERSONAL_ACCESS_TOKEN"
# Add to shell profile for persistence (~/.bashrc, ~/.zshrc, etc.)
echo 'export GANDI_API_TOKEN="YOUR_PERSONAL_ACCESS_TOKEN"' >> ~/.bashrc
Benefits:
- ✅ CI/CD friendly (standard pattern for automation)
- ✅ Container-ready (no file mounts needed)
- ✅ Works with secret management tools (1Password, Vault, etc.)
- ✅ Easy to switch between multiple tokens
Option B: File-based (Recommended for local development)
# Create config directory
mkdir -p ~/.config/gandi
# Store your token (replace YOUR_PAT with actual token)
echo "YOUR_PERSONAL_ACCESS_TOKEN" > ~/.config/gandi/api_token
# Secure the file (owner read-only)
chmod 600 ~/.config/gandi/api_token
Benefits:
- ✅ Token persists across shell sessions
- ✅ Secure file permissions (0600 = owner read-only)
- ✅ No risk of exposing token in process list
- ✅ Works offline (no external dependencies)
Step 3: Install Dependencies
Required: Node.js >= 18.0.0
cd gandi-skill/scripts
# Install npm dependencies
npm install
# Verify installation
npm list --depth=0
Expected packages:
- axios (HTTP client for Gandi API)
- Any other dependencies listed in package.json
Troubleshooting:
- If
nodeornpmnot found: Install Node.js from nodejs.org - If permission errors: Don't use
sudo- fix npm permissions or use nvm - If package errors: Delete
node_modules/andpackage-lock.json, thennpm installagain
Step 4: Test Authentication
cd gandi-skill/scripts
node test-auth.js
Expected output:
✅ Authentication successful!
Your organizations:
1. Personal Account (uuid-here)
Type: individual
🎉 You're ready to use the Gandi skill!
Step 5: Setup Contact Information (Optional, for Domain Registration)
If you plan to register domains, save your contact information once for reuse:
cd gandi-skill/scripts
node setup-contact.js
The script will prompt for:
- Name (first and last)
- Email address
- Phone number (international format: +1.5551234567)
- Street address
- City
- State/Province (for US: 2-letter code like OH, automatically formatted to US-OH)
- ZIP/Postal code
- Country (2-letter code: US, FR, etc.)
- Type (individual or company)
- Privacy preference: Retain or auto-purge contact after registration
Contact information is saved to:
~/.config/gandi/contact.json- Permissions: 600 (owner read-write only)
- Outside the skill directory (never committed to git)
Privacy Options:
-
RETAIN (default): Keep contact saved for future registrations
- Best for frequent domain registrations
- Setup once, use forever
- Delete manually anytime with
delete-contact.js
-
PURGE: Auto-delete contact after each registration
- Best for privacy-conscious users
- Contact info only exists during registration
- Must re-enter for next registration
Managing saved contact:
# View current contact
node view-contact.js
# Update contact info or privacy preference
node setup-contact.js
# Delete saved contact manually
node delete-contact.js
# Delete without confirmation
node delete-contact.js --force
One-time purge override:
# Register and delete contact (even if preference is "retain")
node register-domain.js example.com --purge-contact
Usage Examples
List Your Domains
node list-domains.js
Output shows:
- Domain names
- Expiration dates
- Auto-renewal status
- Services (LiveDNS, Email, etc.)
- Organization ownership
List DNS Records
node list-dns.js example.com
Output shows:
- All DNS records grouped by type
- TTL values
- Record names and values
- Nameservers
Using from Moltbot
Once configured, you can use natural language:
"List my Gandi domains"
"Show DNS records for example.com"
"When does example.com expire?"
"Is auto-renewal enabled for example.com?"
Domain Availability Checking
Check Single Domain
Check if a specific domain is available for registration:
node check-domain.js example.com
Features:
- Shows availability status (available/unavailable/pending/error)
- Displays pricing information (registration, renewal, transfer)
- Lists supported features (DNSSEC, LiveDNS, etc.)
- Shows TLD information
Example Output:
🔍 Checking availability for: example.com
Domain: example.com
✅ Status: AVAILABLE
💰 Pricing:
1 year: 12.00 EUR (+ 2.40 tax)
2 years: 24.00 EUR (+ 4.80 tax)
📋 Supported Features:
• create
• dnssec
• livedns
🌐 TLD Information:
Extension: com
Smart Domain Suggestions
Find available alternatives with TLD variations and name modifications:
# Check all configured TLDs + variations
node suggest-domains.js example
# Check specific TLDs only
node suggest-domains.js example --tlds com,net,io
# Skip name variations (only check TLDs)
node suggest-domains.js example --no-variations
# Output as JSON
node suggest-domains.js example --json
Name Variation Patterns:
- Hyphenated: Adds hyphens between word boundaries (
example→ex-ample) - Abbreviated: Removes vowels (
example→exmpl) - Prefix: Adds common prefixes (
example→get-example,my-example) - Suffix: Adds common suffixes (
example→example-app,example-hub) - Numbers: Appends numbers (
example→example2,example3)
Example Output:
🔍 Checking availability
---
*Content truncated.*
More by openclaw
View all skills by openclaw →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversSecurely access and manage your emails domains with IMAP Apple and SMTP. Enjoy reliable email delivery with IMAP/SMTP su
Monitor SSL certificates and domains with WHOIS lookup for real-time validation, expiration tracking, and proactive rene
Connect your free email services or Mailchimp for seamless automation. Manage emails efficiently with IMAP and SMTP supp
Manage your emails effortlessly with Gmail, the email management software that organizes, sends, and retrieves messages
Boost productivity with our scheduling app for Outlook. Easily schedule emails, manage calendars, and update attendees w
SmartLead streamlines email outreach and lead management for small businesses with advanced campaign tools and analytics
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.