---
title: Docs MCP Server
---

# Docs MCP Server

The DevHub Docs MCP Server gives coding agents and IDE assistants read access to all documentation pages on DevHub. Agents can discover available pages and fetch individual docs as markdown without leaving the editor.

## Install

Add the server to any supported coding agent (Cursor, Claude Code, VS Code, Codex, and more) with a single command.

Global install (user-level, available across all projects):

```bash
npx add-mcp https://devhub-rjm4v087a-pixelpoint.vercel.app/api/mcp --name devhub-docs -g
```

Project-level install (current directory only):

```bash
npx add-mcp https://devhub-rjm4v087a-pixelpoint.vercel.app/api/mcp --name devhub-docs
```

To target a specific agent, add `-a`:

```bash
npx add-mcp https://devhub-rjm4v087a-pixelpoint.vercel.app/api/mcp --name devhub-docs -g -a cursor
```

Restart your editor after adding the server. Some editors like Cursor require you to navigate to the MCP settings page and toggle the new server as enabled.

## Verify the connection

After installing, confirm the server is working:

1. Check that `devhub-docs` appears in your tool listings.
   - Example: "Do you have the devhub-docs mcp installed?"
2. Ask your agent to call `list_docs_resources` and verify it returns a docs index.
   - Example: "What are the available docs on devhub?"
3. Ask your agent to fetch a specific page with `get_doc_resource`.
   - Example: "What is the content of the start-here page?"

In practice, you don't need to think about calling the tools directly. Just ask your agent to do the work for you and it will call the tools internally.

## Tools reference

The server exposes two read-only tools.

### `list_docs_resources`

Lists all available Databricks developer documentation pages. Returns the documentation index as markdown with page URLs and titles.

No parameters.

```
list_docs_resources()
→ markdown index of all doc pages with slugs and titles
```

### `get_doc_resource`

Fetches a single Databricks developer documentation page as markdown. Use `list_docs_resources` first to discover available slugs.

| Parameter | Type   | Required | Description                                                                                    |
| --------- | ------ | -------- | ---------------------------------------------------------------------------------------------- |
| `slug`    | string | yes      | The docs page slug (path), for example, `start-here`. Use `list_docs_resources` to find slugs. |

```
get_doc_resource(slug: "start-here")
→ full markdown content of the requested page
```

## Where to next

With the [Databricks CLI](https://devhub-rjm4v087a-pixelpoint.vercel.app/docs/tools/databricks-cli), [agent skills](https://devhub-rjm4v087a-pixelpoint.vercel.app/docs/tools/ai-tools/agent-skills), and Docs MCP Server all installed, your coding agent has everything it needs to build and deploy.

Ready to start building? Read about how [templates](https://devhub-rjm4v087a-pixelpoint.vercel.app/docs/templates) can help you quickly scaffold your project or jump right in and browse the [templates catalog](https://devhub-rjm4v087a-pixelpoint.vercel.app/templates).
