# Gandi MCP by usefulapi

> Gandi MCP by usefulapi is an MCP server. List domains and expiry dates; read, create and update LiveDNS records in Gandi. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://usefulapi.io/gandi/
- **Repository:** https://github.com/m190/usefulapi-mcp/tree/HEAD/servers/gandi
- **MCP Registry name:** io.usefulapi/gandi
- **Listing updated:** 2026-11-13

## About

List domains and expiry dates; read, create and update LiveDNS records in Gandi.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http gandi https://gandi.usefulapi.io/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://gandi.usefulapi.io/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gandi": {
      "url": "https://gandi.usefulapi.io/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "gandi": {
      "type": "http",
      "url": "https://gandi.usefulapi.io/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "gandi": {
      "serverUrl": "https://gandi.usefulapi.io/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "gandi": {
      "type": "http",
      "url": "https://gandi.usefulapi.io/mcp"
    }
  }
}
```

## Tools

- `gandi_list_domains`: List the domains owned by the token's user, with status, registry dates, autorenew and nameserver type. Gandi API: GET /v5/domain/domains.
- `gandi_get_domain`: Get one domain with its status, life-cycle dates (registry_ends_at, renew_begins_at, hold_begins_at), autorenew and nameserver mode. Gandi API: GET /v5/domain/domains/{domain}.
- `gandi_list_expiring_domains`: List domains whose registry end date falls within the next N days (or has passed), soonest first. Reads up to max_pages pages of 100 domains; check complete in the result. Built from GET /v5/domain/domains.
- `gandi_list_livedns_domains`: List the domains whose DNS is hosted in Gandi LiveDNS. Gandi API: GET /v5/livedns/domains.
- `gandi_list_zone_records`: List all DNS record sets in a LiveDNS zone, with name, type, TTL and values. Gandi API: GET /v5/livedns/domains/{fqdn}/records.
- `gandi_get_zone_record`: Get one DNS record set by zone, name and type. Returns 404 when the name and type pair does not exist. Gandi API: GET /v5/livedns/domains/{fqdn}/records/{rrset_name}/{rrset_type}.
- `gandi_create_zone_record`: Create a DNS record set in a LiveDNS zone. It changes live DNS for the domain. Fails when the name and type pair already exists; use gandi_update_zone_record to change it. Gandi API: POST /v5/livedns/domains/{fqdn}/records/{rrset_name}/{rrset_type}.
- `gandi_update_zone_record`: Replace all values (and optionally the TTL) of one DNS record set. It changes live DNS for the domain and drops the old values. Safe to repeat with the same input. Gandi API: PUT /v5/livedns/domains/{fqdn}/records/{rrset_name}/{rrset_type}.

## FAQ

### How do I add Gandi MCP by usefulapi to Claude Code?

Run this command in your terminal: claude mcp add --transport http gandi https://gandi.usefulapi.io/mcp

---
Source: https://ai-powered.com/mcp/gandi-mcp-by-usefulapi
