---
title: "Developer MCP server"
description: "One MCP server for the coding agent that builds your app: doctor, the capabilities, the env, the catalog and the functions, the docs, and the Convex, Polar, Resend and Vercel consoles, on your existing logins, with every write confirmed by you."
canonical_url: "https://nuxt-backend.dev/docs/develop/agents/developer-mcp"
---
# Developer MCP server

> One MCP server for the coding agent that builds your app: doctor, the capabilities, the env, the catalog and the functions, the docs, and the Convex, Polar, Resend and Vercel consoles, on your existing logins, with every write confirmed by you.

Version: nuxt-backend 0.6.x · Tab: Develop · Kind: reference · 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/src/mcp/server.ts)

`npx nuxt-backend mcp` starts one MCP server for the coding agent that builds your app. It answers three kinds of question an agent asks while it works: what state the project is in, what the docs say, and what a provider holds. For the last, it passes the agent through to Convex, Polar, Resend and Vercel, on the logins and keys your project already has, so there is one server to connect rather than five. It runs on your machine over stdio, acts on the deployment your project points at, and asks you before any tool changes something.

## Connect it

`npx nuxt-backend init` writes it into the project's `.mcp.json`, which Claude Code and most agents read ([Agent files](https://nuxt-backend.dev/docs/develop/agents/agent-files)). The server runs on the MCP SDK, `@modelcontextprotocol/sdk`, an optional peer of `nuxt-backend`, so apps that never start it don't install it. `init` adds it to your `devDependencies`. If you add the server by hand, install the SDK first:

```bash
npm install -D @modelcontextprotocol/sdk
```

To add the server by hand in Claude Code:

```bash
claude mcp add --scope project nuxt-backend -- npx nuxt-backend mcp
```

In Cursor, `.cursor/mcp.json`:

```json [.cursor/mcp.json]
{
  "mcpServers": {
    "nuxt-backend": {
      "command": "npx",
      "args": ["nuxt-backend", "mcp"]
    }
  }
}
```

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

```json [.vscode/mcp.json]
{
  "servers": {
    "nuxt-backend": {
      "type": "stdio",
      "command": "npx",
      "args": ["nuxt-backend", "mcp"]
    }
  }
}
```

The [agent plugin](https://nuxt-backend.dev/docs/develop/agents/plugin) brings it with the skills, for every project at once.

## Tools

Each tool answers as data, not as the text a command prints. The names of a group share a prefix, named for what it does rather than for the provider behind it.

### Project state

<table>
<thead>
  <tr>
    <th>
      Tool
    </th>
    
    <th>
      What it answers
    </th>
    
    <th>
      Built on
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        doctor
      </code>
    </td>
    
    <td>
      Every finding with its fix, for one capability or all
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/develop/doctor">
        <code>
          doctor --json
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        status
      </code>
    </td>
    
    <td>
      Each <a href="https://nuxt-backend.dev/docs/start/concepts/capabilities">
        capability
      </a>
      
      's state: <code>
        live
      </code>
      
      , <code>
        test
      </code>
      
       or <code>
        missing
      </code>
    </td>
    
    <td>
      <code>
        status
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        env
      </code>
    </td>
    
    <td>
      The env names the app and its deployment need, which are set, and what a missing one turns off. Never a value
    </td>
    
    <td>
      The <a href="https://nuxt-backend.dev/docs/reference/configuration/environment-variables">
        env registry
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        catalog
      </code>
    </td>
    
    <td>
      Your billing catalog, and what <code>
        billing sync
      </code>
      
       would create, change or leave as drift
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/build/billing/catalog">
        <code>
          billing sync --dry-run
        </code>
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        functions
      </code>
    </td>
    
    <td>
      Every function the scaffold exports: whether the deployment has it, and what a call takes (a recent sign-in, no administrator acting as the account, the limits it spends)
    </td>
    
    <td>
      The function contract <code>
        doctor
      </code>
      
       checks
    </td>
  </tr>
</tbody>
</table>

### Docs

<table>
<thead>
  <tr>
    <th>
      Tool
    </th>
    
    <th>
      What it answers
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        search-docs
      </code>
    </td>
    
    <td>
      The docs sections that match a query, written-by-hand sections first
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        get-page
      </code>
    </td>
    
    <td>
      A docs page as Markdown, by its path
    </td>
  </tr>
</tbody>
</table>

They answer from the [docs MCP](https://nuxt-backend.dev/docs/develop/agents/docs-mcp)'s index, so an agent with this server needs no second one. The docs describe the current release line: when your project installed another, each answer says so, and points at the skills in `node_modules/nuxt-backend/skills`, which match the installed version.

### Providers

<table>
<thead>
  <tr>
    <th>
      Group
    </th>
    
    <th>
      Provider
    </th>
    
    <th>
      Signs in with
    </th>
    
    <th>
      What it covers
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        data-*
      </code>
    </td>
    
    <td>
      Convex
    </td>
    
    <td>
      Your Convex CLI login (<code>
        npx convex login
      </code>
      
      )
    </td>
    
    <td>
      Tables and documents, a one-off query, running a function, the logs, the names of the deployment's env vars, insights
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        billing-*
      </code>
    </td>
    
    <td>
      Polar
    </td>
    
    <td>
      <code>
        BILLING_ACCESS_TOKEN
      </code>
      
       from <code>
        .env.local
      </code>
      
      : your sandbox
    </td>
    
    <td>
      Products, customers, subscriptions, usage events and webhook deliveries
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        email-*
      </code>
    </td>
    
    <td>
      Resend
    </td>
    
    <td>
      <code>
        EMAIL_API_KEY
      </code>
      
       from <code>
        .env.local
      </code>
    </td>
    
    <td>
      Sent emails and their last events, the <a href="https://nuxt-backend.dev/docs/develop/dev-inbox">
        dev inbox
      </a>
      
      's sign-in codes, domains, contacts and segments, and a test email to a test address
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        hosting-*
      </code>
    </td>
    
    <td>
      Vercel
    </td>
    
    <td>
      Your Vercel CLI login (<code>
        vercel login
      </code>
      
      ), on the project <code>
        vercel link
      </code>
      
       linked
    </td>
    
    <td>
      Deployments, their build logs, the names of the env vars and the firewall rules
    </td>
  </tr>
</tbody>
</table>

The tools of each group:

- **data-*:** `data-tables`, `data-documents`, `data-functions`, `data-query`, `data-run`, `data-logs`, `data-insights`, `data-env`, `data-env-set` and `data-env-remove`.
- **billing-*:** `billing-products`, `billing-customers`, `billing-subscriptions`, `billing-events` and `billing-webhook-deliveries`.
- **email-*:** `email-sent`, `email-get`, `email-inbox`, `email-domains`, `email-contacts`, `email-segments` and `email-send-test`.
- **hosting-*:** `hosting-deployments`, `hosting-logs`, `hosting-env` and `hosting-firewall`.

The `data-*` tools are the Convex CLI's own MCP tools (`npx convex mcp start`), run for this project and passed through with two changes: the env tools answer names, never values, and the tables of the package's component, which hold sessions, codes and tokens, stay out of reach, since the tools read the app's own tables and no argument the Convex tool does not declare reaches it. The deployment is the one your project points at, so an agent never picks one. The rest call each provider's API with the key or login named here: the hosting tools go through the Vercel CLI's own `vercel api`, so no token passes through the server. A provider you have not signed in to keeps its tools listed, and each answers with the command that signs you in.

## What it changes, and where

- **Every write asks first.** A tool that changes something, `data-run`, `data-env-set`, `data-env-remove` and `email-send-test`, asks you to confirm before it runs, through the client's MCP elicitation prompt. The prompt names what it passes: the function and its arguments for `data-run`, the variable's name but never its value for `data-env-set`. A client that cannot show one gets the write refused, with the command to run it yourself. `email-send-test` sends only to the provider's test addresses.
- **A one-off query asks too.** `data-query` changes nothing, but a query can read the deployment's env values as well as its tables. It shows you the query and runs it only once you accept.
- **Development by default.** The tools act on your dev deployment, your Polar sandbox and Resend's test addresses. Started with `npx nuxt-backend mcp --prod`, the project, billing, email and hosting tools read production, the `data-*` tools read only its logs and insights, and no tool that writes is listed. Polar's production needs a production token in the env the server starts with, as `billing sync --env production` does. One Resend key usually serves both, so without `--prod` the email tools answer only the emails sent to Resend's test addresses and the contacts that are one, and `--prod` reads every one.
- **Sign-in codes stay in development.** `email-inbox` reads codes only on a deployment whose `BACKEND_ENVIRONMENT` is `development`, and refuses anywhere else ([Environments](https://nuxt-backend.dev/docs/start/concepts/environments)).
- **Secrets never leave.** No tool returns a key, a token or an env value on its own: `env` and `data-env` say which names are set, never what they hold. Only a one-off query you accept could read one.
- **Local and over stdio.** Nothing listens on a port, and only the agent that started the server reaches it.

## Related

- [Build with a coding agent](https://nuxt-backend.dev/docs/develop/agents): the skills that tell the agent when to call these tools.
- [Agent files](https://nuxt-backend.dev/docs/develop/agents/agent-files): `.mcp.json`, where `init` wires the server.
- [Docs MCP](https://nuxt-backend.dev/docs/develop/agents/docs-mcp): the docs alone, over HTTP, for an agent outside a project.
- [CLI](https://nuxt-backend.dev/docs/reference/cli): the commands behind the project tools.


## Sitemap

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