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

# Directus docs MCP

MCP server

- 6 callable tools
- Read only
- 5 capabilities

[Installation guide](https://directus.com/docs/mcp)

## Overview

Directus publishes this remote MCP server for working with Directus documentation, source code and website pages. It is hosted by the vendor at directus.com.

### Capabilities

- Search the Directus documentation
- Read and list Directus documentation pages
- Search Directus source code across org GitHub repositories
- Fetch files from allowlisted Directus public GitHub repositories
- Fetch Directus marketing website pages as Markdown

## Works with

The products your agent can work with through this server.

- [Directus](/tools/directus.md): Self-hostable backend and CMS

## Tools

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

### `get-directus-file`

Fetch raw file contents from an allowlisted Directus public GitHub repo at a given ref.

### `get-directus-page`

Fetch a page from the Directus marketing website (directus.com) as Markdown.

### `get-doc`

Fetch a single documentation page by its path.

### `list-docs`

List documentation pages with title, path, description, and URL.

### `search-directus-code`

Search source code across Directus org GitHub repos via the GitHub Code Search API.

### `search-docs`

Full-text search across the Directus documentation.

## Installation

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

### Add Directus docs MCP to Claude Code

Run this in your terminal:

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

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

### Add Directus 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=directus-docs&config=eyJ1cmwiOiJodHRwczovL2RpcmVjdHVzLmNvbS9kb2NzL21jcCJ9)

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

### Add Directus 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": {
    "directus-docs": {
      "type": "http",
      "url": "https://directus.com/docs/mcp"
    }
  }
}
```

### Add Directus docs MCP to Codex

Run this in your terminal:

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

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

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

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

### Add Directus docs MCP to Claude

Add it as a custom connector with this URL:

```
https://directus.com/docs/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 Directus docs MCP to other clients

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

```
https://directus.com/docs/mcp
```

[Read the installation guide](https://directus.com/docs/mcp)

## Related MCP servers

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

- [Directus MCP server](/mcp/directus.md)
