# pmndrs docs MCP server

> Enables an AI agent to search and read documentation and examples for libraries like react-three-fiber, drei, zustand, and jotai.

- Repository: https://github.com/pmndrs/docs
- Page: https://hostedmcp.org/servers/pmndrs/docs
- Transport: remote
- Stars: 120
- License: MIT
- Latest version: 4.31.0

## Install

### Claude Code

```sh
claude mcp add --transport http docs https://docs.pmnd.rs/api/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "docs": {
      "url": "https://docs.pmnd.rs/api/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "docs": {
      "type": "http",
      "url": "https://docs.pmnd.rs/api/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"docs","type":"http","url":"https://docs.pmnd.rs/api/mcp"}'
```

### Codex

```sh
codex mcp add docs --url https://docs.pmnd.rs/api/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.docs]
url = "https://docs.pmnd.rs/api/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http docs https://docs.pmnd.rs/api/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "docs": {
      "url": "https://docs.pmnd.rs/api/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### How can I search for specific documentation topics?

You can use the search command to find results, which will output one result per line to stdout.

### Can I build documentation into HTML fragments or a full website?

Yes, the tool allows building single HTML fragments, individual HTML files per MDX, or a complete statically exported website.

### How are visual tests handled?

Visual tests are conducted in the cloud using Chromatic Storybook.
