> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xano.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Desktop

> Install and use the Xano Developer MCP with Claude Desktop

## Prerequisites

* [Node.js](https://nodejs.org/) 18 or later
* [Claude Desktop](https://claude.com/download) installed

## Installation

### Install the MCP Server

Add the Xano Developer MCP to your Claude Desktop configuration file.

> [tab] macOS
>
> Edit `~/Library/Application Support/Claude/claude_desktop_config.json`:

> [tab] Windows
>
> Edit `%APPDATA%\Claude\claude_desktop_config.json`:

```json theme={null}
{
  "mcpServers": {
    "xano": {
      "command": "npx",
      "args": ["-y", "@xano/developer-mcp"]
    }
  }
}
```

Save the file and **fully quit and restart Claude Desktop** so the new server is loaded. Reopening the window is not enough.

### Verify Setup

In Claude Desktop, ask:

> "What version of the Xano Developer MCP is installed?"

Claude should call `mcp_version` and return the current version number.

## Usage

The Developer MCP gives Claude Desktop access to XanoScript documentation, code validation, and CLI/API references. Because Claude Desktop is a chat surface (not a code editor), it's best suited for asking questions, drafting XanoScript snippets, and validating code you paste into the chat.

For example:

```bash theme={null}
Validate this XanoScript and fix any issues:

query users { return db.user.list({}) }
```

**See the result**

Claude calls the `validate_xanoscript` tool, finds the syntax error in the snippet, and rewrites it correctly. The corrected version is returned in the chat for you to copy back into your editor or workspace.

You can also ask it conceptual questions like:

```bash theme={null}
What's the difference between a XanoScript function and a query? When should I use each?
```

For full project-building workflows where the AI writes files directly into your workspace, use [Claude Code](https://docs.xano.com/developer-mcp/clients/claude-code.md) or [VS Code with Claude Code](https://docs.xano.com/developer-mcp/clients/vs-code.md#claude-code) instead.

## What's Next

> [card] [Tools Reference](https://docs.xano.com/developer-mcp/tools.md)
>
> Explore all 6 tools available in the Developer MCP

> [card] [Resources & Library](https://docs.xano.com/developer-mcp/resources.md)
>
> Access MCP resources and use the package as an npm library


## Related topics

- [XanoScript VS Code Extension Deprecation](https://docs.xano.com/vs-code-deprecation.md)
- [Connecting Clients](https://docs.xano.com/ai-tools/mcp-builder/connecting-clients.md)
- [Build from your Local Agent](https://docs.xano.com/getting-started-ai.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.