---
title: "Docs MCP"
description: "These docs as an MCP server for coding agents: search, every page as Markdown, and lookups of doctor findings, env names, composables, components and renamed names, read-only and with no sign-in."
canonical_url: "https://nuxt-backend.dev/docs/develop/agents/docs-mcp"
---
# Docs MCP

> These docs as an MCP server for coding agents: search, every page as Markdown, and lookups of doctor findings, env names, composables, components and renamed names, read-only and with no sign-in.

Version: nuxt-backend 0.6.x · Tab: Develop · Kind: how-to · Status: stable

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

Commands use npm; use your project's package manager.

- [Source](https://github.com/qruto/nuxt-backend/blob/main/website/server/docs-mcp/tools.ts)

The docs answer as an MCP server, for the coding agent that builds your app. Everything a client needs is one URL:

```text
https://mcp.nuxt-backend.dev/mcp
```

Transport is streamable HTTP, and there is nothing to authorize: no sign-in, no key. Every tool only reads, and every answer describes the release line these docs describe, the one the version chip in the header names.

Inside a project, the [developer MCP server](https://nuxt-backend.dev/docs/develop/agents/developer-mcp) answers the same searches and pages beside your project's state, so an agent there needs only that one. Connect the docs MCP for an agent outside a project, or one that only reads.

## Claude Code

```bash
claude mcp add --transport http nuxt-backend-docs https://mcp.nuxt-backend.dev/mcp
```

Add `--scope project` to write it into the project's `.mcp.json`, so everyone who opens the project gets it. `claude mcp list` shows it connected.

## Cursor

In `.cursor/mcp.json` for one project, or `~/.cursor/mcp.json` for every project:

```json [.cursor/mcp.json]
{
  "mcpServers": {
    "nuxt-backend-docs": {
      "url": "https://mcp.nuxt-backend.dev/mcp"
    }
  }
}
```

## VS Code

In `.vscode/mcp.json`, for Copilot's agent mode:

```json [.vscode/mcp.json]
{
  "servers": {
    "nuxt-backend-docs": {
      "type": "http",
      "url": "https://mcp.nuxt-backend.dev/mcp"
    }
  }
}
```

## Claude.ai and Claude Desktop

Open **Settings → Connectors → Add custom connector**, name it, and paste the URL. There is no OAuth step: the tools appear as soon as it connects.

## Any MCP client

Anything that speaks MCP over streamable HTTP works: point its HTTP transport at the URL, and send nothing else. The server is stateless:

- each request is a `POST` of one JSON-RPC message, answered with JSON rather than a stream; a batch answers `400`;
- it hands out no session, so `GET` and `DELETE` answer `405`;
- a call needs no `initialize` before it, though clients send one anyway.

```bash
curl -s https://mcp.nuxt-backend.dev/mcp \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get-diagnostic","arguments":{"id":"auth-secret"}}}'
```

Opened in a browser, the URL brings you to this page.

## Tools

<table>
<thead>
  <tr>
    <th>
      Tool
    </th>
    
    <th>
      Takes
    </th>
    
    <th>
      Answers
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        list-pages
      </code>
    </td>
    
    <td>
      <code>
        locale
      </code>
      
       (optional)
    </td>
    
    <td>
      Every docs page with its title, path, description and URL.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        get-page
      </code>
    </td>
    
    <td>
      <code>
        path
      </code>
    </td>
    
    <td>
      A page as Markdown, by its path from <code>
        list-pages
      </code>
      
       or <code>
        search
      </code>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        search
      </code>
    </td>
    
    <td>
      <code>
        query
      </code>
      
      , <code>
        limit
      </code>
    </td>
    
    <td>
      Full-text search over every section of the docs, sections written by hand ranked first.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        get-diagnostic
      </code>
    </td>
    
    <td>
      <code>
        id
      </code>
    </td>
    
    <td>
      A <code>
        doctor
      </code>
      
       finding by its id: what it checks, its severity, why it matters and its fix.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        get-env-var
      </code>
    </td>
    
    <td>
      <code>
        name
      </code>
    </td>
    
    <td>
      An environment variable: its capability, where it is read, whether a deploy needs it, what it takes and what happens without it.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        get-composable
      </code>
    </td>
    
    <td>
      <code>
        name
      </code>
    </td>
    
    <td>
      A composable or auto-imported helper: its tab, tier, summary and API page.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        get-component
      </code>
    </td>
    
    <td>
      <code>
        name
      </code>
    </td>
    
    <td>
      A component: what it is, its contract, its props and its accessibility.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        get-upgrade-guide
      </code>
    </td>
    
    <td>
      <code>
        name
      </code>
      
       (optional)
    </td>
    
    <td>
      The rename map: what an old name became, and the Upgrade section that explains it.
    </td>
  </tr>
</tbody>
</table>

`list-pages` and `get-page` are Docus's own docs tools, answering as Docus ships them, with their inputs bounded; `get-page` returns the same Markdown as the page's [twin](https://nuxt-backend.dev/docs/develop/agents/docs-for-agents#markdown-twins). The lookups answer from the same registries the reference pages are generated from, so a lookup says what its page says: [Diagnostics](https://nuxt-backend.dev/docs/reference/cli/diagnostics), [Environment variables](https://nuxt-backend.dev/docs/reference/configuration/environment-variables), [Composables](https://nuxt-backend.dev/docs/reference/nuxt/composables), the [component pages](https://nuxt-backend.dev/docs/reference/components), and the rename map of [Upgrade to a new version](https://nuxt-backend.dev/docs/ship/releases/upgrade). A name a lookup doesn't have comes back as an error that lists the closest names it does.

The docs host serves an MCP server card of its own, `https://mcp.nuxt-backend.dev/.well-known/mcp/server-card.json`, which describes this server and lists the same tools.

## Limits

- **Rate:** 120 requests a minute per IP, in a window that opens with a request and runs a minute. A tool call is one request, and so are `initialize` and `tools/list`. After the first request of a window, each answer carries `x-ratelimit-limit`, `x-ratelimit-remaining` and `x-ratelimit-reset`, the last as a timestamp in milliseconds, and a request past the budget answers `429` until then. The limiter spends nothing on the request that opens an IP's first window, so that one window admits 121.
- **At the edge:** on nuxt-backend.dev, the Vercel Firewall also counts the docs MCP per IP, at the docs host's `/mcp` and at the site's `/api/docs-mcp` alike, with the same budget in fixed one-minute windows, across every server instance: past it, a request answers `429` with `retry-after` ([Deploy to Vercel](https://nuxt-backend.dev/docs/ship/deploy/vercel#rate-limit-at-the-edge)).
- **Size:** a request is one JSON-RPC message of 16 KiB at most, and every argument is bounded: a name, a path or a query is at most 200 characters.
- **Read-only:** no tool changes anything, and none takes anything but the name or words you pass it. The rate limit counts requests per IP for the window and keeps nothing else.

The site serves the same server at `/api/docs-mcp`, and the docs host answers from that route. The site's docs assistant reads the docs through that route too, in-process, under each visitor's own budget.

CI builds the site and calls every tool against the build, and checks that a caller past the budget gets `429` while another does not. The same check calls the live host every week.

## Related

- [Docs for agents](https://nuxt-backend.dev/docs/develop/agents/docs-for-agents): the same docs as Markdown, `/llms.txt` and the twins
- [Build with a coding agent](https://nuxt-backend.dev/docs/develop/agents): the skills an agent loads before it writes code
- [Developer MCP server](https://nuxt-backend.dev/docs/develop/agents/developer-mcp): one server for your project's state, these docs and your providers' consoles


## Sitemap

See the full [sitemap](https://nuxt-backend.dev/sitemap.md) for all pages.
