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

# PlanetScale docs MCP

MCP server

- 3 callable tools
- Read only
- 3 capabilities

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

## Overview

PlanetScale publishes this server, which gives AI agents access to PlanetScale's documentation, code examples, API references and guides.

### Capabilities

- Search PlanetScale documentation, code examples and API references
- Run read-only queries over PlanetScale documentation pages and OpenAPI specs
- Send a problem report about the documentation site to the docs team

## Works with

The products your agent can work with through this server.

- [PlanetScale](/tools/planetscale.md): Managed MySQL and Postgres

## Tools

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

### `search_planet_scale`

Search across the PlanetScale knowledge base to find relevant information, code examples, API references, and guides.

### `query_docs_filesystem_planet_scale`

Run a read-only shell-like query against a virtualized, in-memory filesystem rooted at `/` that contains ONLY the PlanetScale documentation pages and OpenAPI specs.

### `submit_feedback`

Report a problem with this documentation site so the docs team can fix it.

## Installation

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

### Add PlanetScale docs MCP to Claude Code

Run this in your terminal:

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

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

### Add PlanetScale 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=planetscale-docs&config=eyJ1cmwiOiJodHRwczovL3BsYW5ldHNjYWxlLmNvbS9kb2NzL21jcCJ9)

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

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

### Add PlanetScale docs MCP to Codex

Run this in your terminal:

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

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

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

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

### Add PlanetScale docs MCP to Claude

Add it as a custom connector with this URL:

```
https://planetscale.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 PlanetScale docs MCP to other clients

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

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

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

## Related MCP servers

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

- [PlanetScale MCP server](/mcp/planetscale.md)

## Sources

Documentation and source code reviewed on 10 November 2026.

- [planetscale.com/docs/mcp](https://planetscale.com/docs/mcp)
- [planetscale.com/docs/mcp-server.md](https://planetscale.com/docs/mcp-server.md)
