# docs2mcp MCP server

> Query your own PDFs and documents from AI clients with precise page and region citations.

- Repository: https://github.com/docs2mcp/docs2mcp
- Page: https://hostedmcp.org/servers/docs2mcp/docs2mcp
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 1.0.1

## Install

### Claude Code

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

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

```json
{
  "mcpServers": {
    "docs2mcp": {
      "url": "https://mcp.docs2mcp.com/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "docs2mcp": {
      "type": "http",
      "url": "https://mcp.docs2mcp.com/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"docs2mcp","type":"http","url":"https://mcp.docs2mcp.com/mcp"}'
```

### Codex

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

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

```toml
[mcp_servers.docs2mcp]
url = "https://mcp.docs2mcp.com/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http docs2mcp https://mcp.docs2mcp.com/mcp
```

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

```json
{
  "mcpServers": {
    "docs2mcp": {
      "url": "https://mcp.docs2mcp.com/mcp",
      "type": "http"
    }
  }
}
```

## Tools (5)

- `search_documents`
- `list_documents`
- `get_document`
- `get_element`
- `list_collections`

## FAQ

### Do I need a client ID or secret to connect?

No, you do not need a client ID or secret because the server supports dynamic client registration.

### Why is my document library empty after connecting?

This happens if you approve access in a different browser than the one you used to upload your documents.

### Can I use this with Claude Desktop or Cursor?

Yes, both Claude Desktop and Cursor are supported and have been proven against the live product.
