[Home](/index.md) › [MCP servers](/mcp.md) › Fern's MCP server

# Fern's MCP server

MCP server

- 0 callable tools
- 6 capabilities

[Installation guide](https://buildwithfern.com/learn/docs/ai-features/fern-mcp-servers)

## Overview

Fern hosts a private Model Context Protocol server for an organization's Fern data, with context on Fern's documentation and configuration. It works with Fern docs sites, deployments, and reader analytics.

### Capabilities

- Look up docs.yml syntax, components, and CLI commands
- Read docs sites, their configuration, and published Markdown source
- Review deployment history and pull request preview URLs
- Query traffic, 404s, search queries, and LLM bot traffic
- Review Ask Fern conversations, resolution rates, and page feedback
- List the members of an organization

## Works with

The products your agent can work with through this server.

- [Fern](/tools/fern.md): API docs and SDK generator

## Installation

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

### Add Fern's MCP server to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http fern-s https://fai.buildwithfern.com/mcp
```

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

### Add Fern's MCP server 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=fern-s&config=eyJ1cmwiOiJodHRwczovL2ZhaS5idWlsZHdpdGhmZXJuLmNvbS9tY3AifQ%3D%3D)

```json
{
  "mcpServers": {
    "fern-s": {
      "url": "https://fai.buildwithfern.com/mcp"
    }
  }
}
```

### Add Fern's MCP server 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": {
    "fern-s": {
      "type": "http",
      "url": "https://fai.buildwithfern.com/mcp"
    }
  }
}
```

### Add Fern's MCP server to Codex

Run this in your terminal:

```sh
codex mcp add fern-s --url https://fai.buildwithfern.com/mcp
```

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

```toml
[mcp_servers.fern-s]
url = "https://fai.buildwithfern.com/mcp"
```

If the server uses OAuth, sign in with `codex mcp login fern-s`.

### Add Fern's MCP server to Claude

Add it as a custom connector with this URL:

```
https://fai.buildwithfern.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 Fern's MCP server to other clients

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

```
https://fai.buildwithfern.com/mcp
```

[Read the installation guide](https://buildwithfern.com/learn/docs/ai-features/fern-mcp-servers)

## Related MCP servers

Other servers for the same products, or from the same vendor.

- [Fern docs MCP](/mcp/fern-docs.md)

## Sources

Documentation and source code reviewed on 17 November 2026.

- [buildwithfern.com/learn/docs/ai-features/fern-mcp-servers](https://buildwithfern.com/learn/docs/ai-features/fern-mcp-servers)
