Basic information
About Mailgun Docs MCP Server
Public MCP server on Mailgun's documentation site that lets AI assistants search the docs and read Mailgun's OpenAPI specs.
Mailgun Docs is a remote MCP server in the Developer Tools category listed in the AddMCP.net directory, published by Mailgun Docs. It exposes 3 tools, including execute, describe-tools, submit-feedback. Supported transport: Streamable HTTP. Related topics: documentation, email-api, mailgun, openapi, sinch.
Connection details
https://documentation.mailgun.com/mcp
Setup
claude mcp add mailgun-docs --transport http https://documentation.mailgun.com/mcp
[mcp_servers.mailgun-docs] url = "https://documentation.mailgun.com/mcp"
{
"mcpServers": {
"mailgun-docs": {
"url": "https://documentation.mailgun.com/mcp"
}
}
}
{
"servers": {
"mailgun-docs": {
"type": "http",
"url": "https://documentation.mailgun.com/mcp"
}
}
}
Mailgun Docs MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mailgun-docs": {
"type": "http",
"url": "https://documentation.mailgun.com/mcp"
}
}
}
Mailgun Docs MCP Server tools
-
execute
— Run JavaScript in a sandbox against the tools for the documentation at https://documentation.mailgun.com. The tools are on the global `tools` object.
The only extra global is `tools` - there is no `fetch`, `console`, `setTimeout`, `require`, or Node.js API; all I/O goes through `tools`.
Workflow - minimize round-trips; one `describe-tools` call plus one `execute` call covers most requests:
1. Analyze the request and decide which sandbox tools it needs.
2. Call `describe-tools` with those names to get their exact TypeScript signatures - inputs, result shapes, and a worked example. NEVER call `execute` with guessed method names, parameter names, enum values, or result field names: read fields off the declared return types, not from assumptions.
3. Batch everything into a SINGLE script: chain tool calls, pass one call's output into the next, process results in plain JavaScript, and `return` only what the request needs.
Available tools (exact signatures come from `describe-tools`):
- listApis — Lists the APIs documented in this project
- getEndpoints — Get all endpoints for a specific API. When several definiti…
- getEndpointInfo — Get comprehensive information about specific endpoint inclu…
- getSecuritySchemes — Get the security schemes for a specific API. When several d…
- getFullApiDescription — Get the complete OpenAPI description. When several definiti…
- search — Search across the documentation to fetch relevant content f…
code:string*, description:string* -
describe-tools
— Get the exact TypeScript signatures of the sandbox tools available to `execute`.
Analyze the user request first, then pass `tools` with only the tool names the request needs (every name is listed in this input schema / description); omit `tools` only when you cannot tell which tools apply.
Always call this before your first `execute` and never guess signatures. Request every tool the task may need in ONE call instead of calling this repeatedly.
tools:array -
submit-feedback
— Report a documentation page that is wrong or incomplete
path:string*, summary:string*, details:string, targetFeature:string
Overview
What is Mailgun Docs?
Mailgun Docs MCP Server is a free, public MCP endpoint on Mailgun's documentation site that lets AI coding assistants search the Mailgun docs and read its OpenAPI definitions. It is read-only, needs no API key, and never sends email or touches your account.
Mailgun, part of Sinch, is an email API for sending, receiving, validating and tracking email. When you write a Mailgun integration with an assistant, the hard part is getting endpoint paths, parameters and regional base URLs right. This docs server answers those questions from Mailgun's own published specs, so the code your assistant writes is based on the current reference instead of memory.
How to use Mailgun Docs?
The server is hosted on Mailgun's documentation site, so there is nothing to install and no credentials to configure:
https://documentation.mailgun.com/mcp
It speaks Streamable HTTP. Our probe connected anonymously and the server identified itself as "Docs MCP server".
Claude Code
claude mcp add --transport http mailgun-docs https://documentation.mailgun.com/mcp
Claude Desktop and claude.ai
Open Settings > Connectors, choose Add custom connector, name it "Mailgun Docs" and paste https://documentation.mailgun.com/mcp. There is no sign-in step.
Cursor
Add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"mailgun-docs": {
"url": "https://documentation.mailgun.com/mcp"
}
}
}
VS Code
Add this to .vscode/mcp.json in your workspace:
{
"servers": {
"mailgun-docs": {
"type": "http",
"url": "https://documentation.mailgun.com/mcp"
}
}
}Key features of Mailgun Docs
- Hosted on documentation.mailgun.com; free to use with no API key, account or OAuth.
- Read-only by design: the sandbox has no network access, so it cannot call the Mailgun API or send mail.
- Full-text search across Mailgun's documentation pages.
- Structured access to the published OpenAPI definitions: the Mailgun API, the Validations Service, the Email Preview API and Alerts.
- Endpoint lookups return parameters, examples, security requirements and the US (
api.mailgun.net) and EU (api.eu.mailgun.net) server URLs. - A "code mode" design: the assistant batches several lookups into one sandboxed script, which keeps round-trips and context use low.
Mailgun Docs tools
Our probe returned two MCP tools, which together give access to a set of documentation functions:
describe-toolsreturns the exact TypeScript signatures of the sandbox functions. The assistant calls it once before its first script so it never guesses parameter names.executeruns a JavaScript snippet in a sandbox whose only global istools. There is nofetch,consoleor Node.js API; all lookups go through these functions:listApislists the API definitions published on the site.getEndpointslists every path and method for one API.getEndpointInforeturns full detail for one endpoint, including parameters, examples and security.getSecuritySchemesandgetFullApiDescriptionreturn an API's auth schemes or its complete OpenAPI document.searchsearches the documentation content.submitFeedbackreports a documentation page that is wrong or incomplete.
Use cases of Mailgun Docs
- Writing send code: "Using the Mailgun docs, show me the endpoint and required fields to send a message with an attachment."
- Checking regions: "What base URL should I use for a domain hosted in Mailgun's EU region?"
- Email validation: "Find the Validations Service endpoint for validating a single address and list its parameters."
- Auth questions: "Which authentication scheme does the Mailgun API use?"
- Reviewing an existing integration against the current reference before an upgrade.
Mailgun Docs MCP Server vs alternatives
Mailgun also publishes the Mailgun MCP Server (@mailgun/mcp-server), which runs locally with your Mailgun API key and performs real account actions such as sending email, reading stats and managing domains. Mailgun's MCP page says that server is local only and not offered as a hosted service. The docs server on this page is the opposite: hosted, keyless and limited to documentation. Use the docs server while building, and the local server when you want the assistant to act on your account.
Troubleshooting Mailgun Docs MCP Server
- The assistant invents function names: ask it to call
describe-toolsfirst. The tool descriptions instruct the model never to guess signatures. - A lookup returns a different API version than expected: several definitions share a title (for example the Validations Service). Results list the alternatives in
otherMatches; pass thefilePathfromlistApisto pick one. - Requests to Mailgun fail inside a script: the sandbox cannot make network calls. Copy the generated code into your project and run it there with your own key.
Frequently asked questions
1 Is Mailgun Docs MCP Server official?
It is served from Mailgun's own documentation domain, documentation.mailgun.com. Mailgun has not published a dedicated setup page for it; its MCP documentation covers the separate local server.
2 Do I need a Mailgun API key?
No. The endpoint accepts anonymous connections, and nothing in it uses your account.
3 Can it send email or change my Mailgun settings?
No. It only reads documentation and API definitions. For account actions use the local Mailgun MCP Server.
4 Is it free?
Yes. Connecting needs no account or payment. Mailgun's own sending plans are separate.
5 Which APIs does it cover?
At the time of our check, listApis returned the Mailgun API, Validations Service, Email Preview API and Alerts definitions, plus a search over the documentation pages.
6 Does it work with Claude Code, Cursor and VS Code?
Yes. Any client that supports remote Streamable HTTP servers can connect with the URL above.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In