---
title: "DKIM MCP server · dkim.fyi"
description: "Add dkim.fyi to Claude, Cursor, VS Code, Windsurf, Codex or another MCP client: one URL, no key. Validate DKIM records and find selectors from your assistant."
url: "https://dkim.fyi/mcp-server"
---

MCP server

# Use dkim.fyi from your AI assistant

dkim.fyi runs a remote MCP server. Add its URL to an MCP client such as Claude Code, Cursor or VS Code, and the assistant can check DKIM records, find the selectors a domain publishes and verify message headers, with the same code and data as this site.

- **Endpoint**: `https://dkim.fyi/mcp`
- **Transport**: Streamable HTTP, POST only
- **Sign-in**: None: no key, no account
- **Access**: Read-only: five tools that look things up in public DNS
- **Rate limit**: 120 requests a minute per client, shared with the API

Claude Code

```
claude mcp add --transport http dkim-fyi https://dkim.fyi/mcp
Added HTTP MCP server dkim-fyi with URL: https://dkim.fyi/mcp to local config
claude mcp list
Checking MCP server health…
 
dkim-fyi: https://dkim.fyi/mcp (HTTP) - √ Connected
```

## Add it to your client

Every client below takes the same URL and no credentials. Each section links the client’s own documentation. The client names are their owners’ trademarks, and dkim.fyi is not affiliated with any of these products (see [Trademarks](https://dkim.fyi/about#trademarks)).

- [Claude Code](https://dkim.fyi/mcp-server#claude-code)
- [Claude (web and desktop app)](https://dkim.fyi/mcp-server#claude)
- [Cursor](https://dkim.fyi/mcp-server#cursor)
- [VS Code (GitHub Copilot)](https://dkim.fyi/mcp-server#vscode)
- [Windsurf](https://dkim.fyi/mcp-server#windsurf)
- [Codex](https://dkim.fyi/mcp-server#codex)
- [ChatGPT](https://dkim.fyi/mcp-server#chatgpt)
- [Gemini CLI](https://dkim.fyi/mcp-server#gemini-cli)
- [Zed](https://dkim.fyi/mcp-server#zed)
- [JetBrains AI Assistant](https://dkim.fyi/mcp-server#jetbrains)
- [Cline](https://dkim.fyi/mcp-server#cline)
- [Other clients](https://dkim.fyi/mcp-server#other)

### Claude Code

One command in a terminal. It adds the server to the current project, for you only.

Terminal

```
claude mcp add --transport http dkim-fyi https://dkim.fyi/mcp
```

Add `--scope user` to use it in every project, or `--scope project` to write it to the project’s `.mcp.json` and share it with everyone who works on the project. `claude mcp list` checks the connection.

Source: [Connect Claude Code to tools via MCP](https://code.claude.com/docs/en/mcp)

### Claude (web and desktop app)

Add it as a custom connector. Claude connects to the server from its own cloud, so this works the same in the browser and the desktop app.

1. Open Customize, then Connectors.
2. Choose Add, then Add custom connector.
3. Enter a name (dkim.fyi) and the URL `https://dkim.fyi/mcp`.
4. For authentication, choose No sign-in, then add the connector.

Custom connectors are available on the Free, Pro, Max, Team and Enterprise plans; Free accounts can add one. On Team and Enterprise, an owner adds it under Organization settings, Connectors, and members then connect to it under Customize, Connectors.

Source: [Get started with custom connectors using remote MCP](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp)

### Cursor

Use the install link, or add the server to `~/.cursor/mcp.json` (every project) or `.cursor/mcp.json` in a project.

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=dkim-fyi&config=eyJ1cmwiOiJodHRwczovL2RraW0uZnlpL21jcCJ9)

~/.cursor/mcp.json

```
{
  "mcpServers": {
    "dkim-fyi": {
      "url": "https://dkim.fyi/mcp"
    }
  }
}
```

Sources: [Model Context Protocol (MCP)](https://cursor.com/docs/context/mcp) , [MCP install links](https://cursor.com/docs/context/mcp/install-links)

### VS Code (GitHub Copilot)

Use the install link, run `MCP: Add Server` from the Command Palette, or add the server from a terminal. The `type` field is required.

[Install in VS Code](vscode:mcp/install?%7B%22name%22%3A%22dkim-fyi%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fdkim.fyi%2Fmcp%22%7D)

Terminal

```
code --add-mcp '{"name":"dkim-fyi","type":"http","url":"https://dkim.fyi/mcp"}'
```

.vscode/mcp.json

```
{
  "servers": {
    "dkim-fyi": {
      "type": "http",
      "url": "https://dkim.fyi/mcp"
    }
  }
}
```

`code --add-mcp` writes to your user profile. VS Code’s Add Server flow now marks `.vscode/mcp.json` as deprecated but still reads it; its newer files (`~/.copilot/mcp-config.json`) take the same entry under `mcpServers`. On Copilot Business and Enterprise, an admin has to turn on the MCP servers policy first; it is off by default.

Sources: [Add and manage MCP servers in VS Code](https://code.visualstudio.com/docs/copilot/customization/mcp-servers) , [MCP configuration reference](https://code.visualstudio.com/docs/agents/reference/mcp-configuration)

### Windsurf

Open Settings, Tools, Windsurf Settings and choose Add Server, or use Open MCP config file in Cascade. The file is `~/.config/devin/mcp_config.json` on macOS and Linux and `%AppData%/devin/mcp_config.json` on Windows. Press refresh afterwards.

~/.config/devin/mcp_config.json

```
{
  "mcpServers": {
    "dkim-fyi": {
      "serverUrl": "https://dkim.fyi/mcp"
    }
  }
}
```

Older guides give `~/.codeium/windsurf/mcp_config.json`; current versions use the file above. On Enterprise, MCP must be turned on in settings, and a team allowlist blocks servers not on it.

Source: [Cascade MCP integration](https://docs.devin.ai/windsurf/plugins/cascade/mcp)

### Codex

One command, or two lines in `~/.codex/config.toml`. The CLI, the IDE extension and the desktop app share this file.

Terminal

```
codex mcp add dkim-fyi --url https://dkim.fyi/mcp
```

~/.codex/config.toml

```
[mcp_servers.dkim-fyi]
url = "https://dkim.fyi/mcp"
```

A trusted project can carry its own `.codex/config.toml`. `codex mcp list` shows what is configured.

Source: [Model Context Protocol in Codex](https://learn.chatgpt.com/docs/extend/mcp.md?surface=cli)

### ChatGPT

Add it as a custom MCP server on ChatGPT on the web.

1. Go to chatgpt.com/plugins, select the plus button, then Add custom MCP server.
2. Enter a name, and the Server URL `https://dkim.fyi/mcp`.
3. For Authentication, choose No authentication, confirm, and choose Create as a plugin.
4. Install the plugin, then call it with @ in a Work chat.

Which plans and workspace roles may add a custom server is set by OpenAI and by your workspace admin; check OpenAI’s page for your plan. Every dkim.fyi tool is marked read-only, so ChatGPT does not treat its calls as write actions.

Source: [Connect from ChatGPT](https://developers.openai.com/plugins/deploy/connect-chatgpt.md)

### Gemini CLI

One command, or an entry in `~/.gemini/settings.json`. Use `httpUrl`: Gemini CLI reads a plain `url` as the older SSE transport, which this server does not offer.

Terminal

```
gemini mcp add --transport http --scope user dkim-fyi https://dkim.fyi/mcp
```

~/.gemini/settings.json

```
{
  "mcpServers": {
    "dkim-fyi": {
      "httpUrl": "https://dkim.fyi/mcp"
    }
  }
}
```

Without `--scope user` the command writes to the current project’s `.gemini/settings.json`. Google’s page says unpaid-tier and Google One users moved from Gemini CLI to Antigravity CLI on 18 June 2026.

Source: [MCP servers with the Gemini CLI](https://geminicli.com/docs/tools/mcp-server/)

### Zed

In Settings, AI, MCP Servers, choose Add Server, then Add Remote Server; or add the entry under `context_servers` in your settings file.

settings.json

```
{
  "context_servers": {
    "dkim-fyi": {
      "url": "https://dkim.fyi/mcp"
    }
  }
}
```

Source: [Model Context Protocol in Zed](https://zed.dev/docs/ai/mcp)

### JetBrains AI Assistant

In Settings, Tools, AI Assistant, Model Context Protocol (MCP), choose Add, then connect to the server over HTTP, paste the entry and apply.

Server configuration

```
{
  "mcpServers": {
    "dkim-fyi": {
      "url": "https://dkim.fyi/mcp"
    }
  }
}
```

Source: [Model Context Protocol (MCP) in AI Assistant](https://www.jetbrains.com/help/ai-assistant/mcp.html)

### Cline

In the MCP Servers panel, open Remote Servers, enter the name and URL and choose the Streamable HTTP transport. In the settings file, set `type`: without it Cline uses the older SSE transport.

cline_mcp_settings.json

```
{
  "mcpServers": {
    "dkim-fyi": {
      "type": "streamableHttp",
      "url": "https://dkim.fyi/mcp"
    }
  }
}
```

Source: [Cline MCP overview](https://docs.cline.bot/mcp/mcp-overview)

### Other clients

Any client that supports remote servers over Streamable HTTP needs only the URL `https://dkim.fyi/mcp` and no credentials. For a client that runs only local (stdio) servers, the mcp-remote package bridges to it:

MCP configuration

```
{
  "mcpServers": {
    "dkim-fyi": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://dkim.fyi/mcp"
      ]
    }
  }
}
```

mcp-remote is a third-party package that runs on your machine through npx; its README describes its options. It tries Streamable HTTP first, which this server speaks.

Source: [mcp-remote on npm](https://www.npmjs.com/package/mcp-remote)

## Tools


| Tool | What it does | Same as |
| --- | --- | --- |
| `validate_dkim_record` | Checks one selector of a domain: verdict, tags, key type and size, findings, CNAME chain and likely provider. | `GET /api/v1/validate` |
| `plan_selector_discovery` | Lists the selectors worth trying for a domain, most likely first, from its MX, SPF and DMARC records. | `GET /api/v1/enumerate/plan` |
| `check_selectors` | Looks up one chunk of the plan’s selectors (up to 40 per call) and reports which ones answer. | `POST /api/v1/enumerate/check` |
| `analyze_message_headers` | Parses the DKIM-Signature headers of a pasted message, looks up each key and verifies the signatures. | `POST /api/v1/message` |
| `list_providers` | Searches the selector dataset by provider, product or selector name. | `GET /api/v1/dataset, trimmed` |

Each tool runs the same code as the API endpoint it names and returns its JSON (with compact records for `list_providers`), plus a short text summary. To find a domain’s selectors, the assistant asks for a plan, then checks its candidates one chunk per call.

## Things to ask

- Is the DKIM record at selector1 for example.com valid?
- Which DKIM selectors does example.com publish?
- Here are the headers of a message that failed DKIM. Why did it fail?
- What selectors does Mailgun use, and are they CNAMEs or TXT records?

## Try it without a client

The server answers plain JSON-RPC over HTTP, so one `curl` call shows what a tool returns. This is the real answer for GitHub’s `selector1` on 2026-10-27:

Terminal

```
curl -s https://dkim.fyi/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"validate_dkim_record","arguments":{"domain":"github.com","selector":"selector1"}}}' \
  | jq -r '.result.content[0].text'
selector1._domainkey.github.com: verdict valid.
Key: rsa, 1024 bits, strength acceptable.
CNAME: selector1._domainkey.github.com -> selector1-github-com._domainkey.microsoft.onmicrosoft.com.
warning: The key is a 1024-bit RSA key. It still works, but is considered weak and may be rejected by strict receivers.
Provider attribution: Microsoft (selector name and CNAME target, high).
```

## Limits and privacy

- Every request stands alone: there are no sessions, and nothing about the caller is stored. Lookups go to public DNS-over-HTTPS resolvers, as on the rest of the site.
- 120 requests a minute per client (an IPv4 address or an IPv6 /64), shared with the JSON API. Past that, requests get 429 and a Retry-After header.
- Web pages on other sites cannot call it: a cross-site browser request gets 403. MCP clients and servers send no Origin header and are not affected.
- Protocol versions 2025-03-26, 2025-06-18 and 2025-11-25 (with `initialize`) and 2026-07-28. The older HTTP+SSE transport is not offered.
- A selector that is not found does not show that a domain has no DKIM: custom and rotating selectors cannot be guessed. The [email check](https://dkim.fyi/email) reads the real ones from a test message.

The steps above were checked against each client’s documentation on 2026-10-27. Menus and file paths change; if one no longer matches, the client’s own page is the reference. The HTTP API is described in [agents.md](https://dkim.fyi/agents.md) and [openapi.json](https://dkim.fyi/openapi.json).

---

This is the text version of https://dkim.fyi/mcp-server. The index of every page is https://dkim.fyi/llms.txt.
