[Home](/index.md) › [MCP servers](/mcp.md) › Mailgun docs MCP

# Mailgun docs MCP

MCP server

- 3 callable tools
- Read only
- 3 capabilities

[Installation guide](https://documentation.mailgun.com/mcp)

## Overview

Mailgun publishes this remote MCP server for its documentation at documentation.mailgun.com. It gives AI agents access to Mailgun documentation tools and a way to report incorrect pages.

### Capabilities

- Run JavaScript in a sandbox against Mailgun documentation tools
- Look up TypeScript signatures of the sandbox tools
- Report documentation pages that are wrong or incomplete

## Works with

The products your agent can work with through this server.

- [Mailgun](/tools/mailgun.md): Transactional email API

## Tools

The callable functions your agent uses to work with this server.

### `execute`

Run JavaScript in a sandbox against the tools for the documentation at https://documentation.mailgun.com.

### `describe-tools`

Get the exact TypeScript signatures of the sandbox tools available to `execute`.

### `submit-feedback`

Report a documentation page that is wrong or incomplete

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add Mailgun docs MCP to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http mailgun-docs https://documentation.mailgun.com/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add Mailgun docs MCP to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=mailgun-docs&config=eyJ1cmwiOiJodHRwczovL2RvY3VtZW50YXRpb24ubWFpbGd1bi5jb20vbWNwIn0%3D)

```json
{
  "mcpServers": {
    "mailgun-docs": {
      "url": "https://documentation.mailgun.com/mcp"
    }
  }
}
```

### Add Mailgun docs MCP to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "mailgun-docs": {
      "type": "http",
      "url": "https://documentation.mailgun.com/mcp"
    }
  }
}
```

### Add Mailgun docs MCP to Codex

Run this in your terminal:

```sh
codex mcp add mailgun-docs --url https://documentation.mailgun.com/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.mailgun-docs]
url = "https://documentation.mailgun.com/mcp"
```

If the server uses OAuth, sign in with `codex mcp login mailgun-docs`.

### Add Mailgun docs MCP to Claude

Add it as a custom connector with this URL:

```
https://documentation.mailgun.com/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add Mailgun docs MCP to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://documentation.mailgun.com/mcp
```

[Read the installation guide](https://documentation.mailgun.com/mcp)
