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 mcp add --transport http dkim-fyi https://dkim.fyi/mcpAdded HTTP MCP server dkim-fyi with URL: https://dkim.fyi/mcp to local configclaude mcp listChecking MCP server health… dkim-fyi: https://dkim.fyi/mcp (HTTP) - √ ConnectedAdd 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).
- Claude Code
- Claude (web and desktop app)
- Cursor
- VS Code (GitHub Copilot)
- Windsurf
- Codex
- ChatGPT
- Gemini CLI
- Zed
- JetBrains AI Assistant
- Cline
- Other clients
Claude Code
One command in a terminal. It adds the server to the current project, for you only.
claude mcp add --transport http dkim-fyi https://dkim.fyi/mcpAdd --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.
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.
- Open Customize, then Connectors.
- Choose Add, then Add custom connector.
- Enter a name (dkim.fyi) and the URL
https://dkim.fyi/mcp. - 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.
Cursor
Use the install link, or add the server to ~/.cursor/mcp.json (every project) or .cursor/mcp.json in a project.
{ "mcpServers": { "dkim-fyi": { "url": "https://dkim.fyi/mcp" } }}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.
code --add-mcp '{"name":"dkim-fyi","type":"http","url":"https://dkim.fyi/mcp"}'{ "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, MCP configuration reference
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.
{ "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
Codex
One command, or two lines in ~/.codex/config.toml. The CLI, the IDE extension and the desktop app share this file.
codex mcp add dkim-fyi --url https://dkim.fyi/mcp[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
ChatGPT
Add it as a custom MCP server on ChatGPT on the web.
- Go to chatgpt.com/plugins, select the plus button, then Add custom MCP server.
- Enter a name, and the Server URL
https://dkim.fyi/mcp. - For Authentication, choose No authentication, confirm, and choose Create as a plugin.
- 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
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.
gemini mcp add --transport http --scope user dkim-fyi https://dkim.fyi/mcp{ "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
Zed
In Settings, AI, MCP Servers, choose Add Server, then Add Remote Server; or add the entry under context_servers in your settings file.
{ "context_servers": { "dkim-fyi": { "url": "https://dkim.fyi/mcp" } }}Source: Model Context Protocol in Zed
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.
{ "mcpServers": { "dkim-fyi": { "url": "https://dkim.fyi/mcp" } }}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.
{ "mcpServers": { "dkim-fyi": { "type": "streamableHttp", "url": "https://dkim.fyi/mcp" } }}Source: Cline 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:
{ "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
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:
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 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 and openapi.json.