Skip to main content
The Metadata API and MCP Server are experimental and under active development. Using them with AI or automation tools may result in data loss, corruption, or deletion. Do not use in production without full safeguards and backups.
The Xano MCP Server is a collection of tools that you can connect to using your favorite MCP client of choice, such as Anthropic’s Claude, Cursor, or Windsurf, to chat with your Xano backend. The MCP server has a great number of tools available to help you build and manage your workspace with AI. Here are just a few examples:
  • Create database tables and update table schema
  • Generate sample data
  • Build APIs, custom functions, background tasks, AI agents, and any other type of logic or workflow
  • Gather the OpenAPI spec for your workspace to assist with frontend development

Xano MCP Tools

A list of all the tools available in the Xano MCP Server

Using the Xano MCP Server

1

Generate an Access Token

Access Tokens are used for authentication when connecting to the Xano MCP server. Head to your instance selection screen and click the⚙️ icon next to your instance.Choose Metadata API & MCP Server, and click Manage Access Tokens.Click New Access Token.Give your access token a name, and select the scopes you need. Click Create at the bottom of the panel. You can read more about the scopes in our Token Scopes Reference.You’ll only be shown your token once, so make sure to copy it and store it in a safe place.
2

Connect with your client of choice

Right now, we recommend using VS Code over other clients. We’re working to improve the experience across the board, but in our testing, VS Code has performed the best while using the Xano MCP Server with the ChatGPT 4o model.
  • https://mintcdn.com/xano-997cb9ee/GK7krl3WPzHY1W81/images/icons/vscode.svg?fit=max&auto=format&n=GK7krl3WPzHY1W81&q=85&s=c952ed0d880ef6334f8866c78638bcab VS Code
  • https://mintcdn.com/xano-997cb9ee/GK7krl3WPzHY1W81/images/icons/Cursor_light.svg?fit=max&auto=format&n=GK7krl3WPzHY1W81&q=85&s=ed3e11458c9b967f672cf36a62217397 Cursor
  • https://mintcdn.com/xano-997cb9ee/GK7krl3WPzHY1W81/images/icons/Windsurf_light.svg?fit=max&auto=format&n=GK7krl3WPzHY1W81&q=85&s=e03e6a895d56086ebe1ca1f4cbfb04a1 Windsurf
  • https://mintcdn.com/xano-997cb9ee/GK7krl3WPzHY1W81/images/icons/claude-ai-icon.svg?fit=max&auto=format&n=GK7krl3WPzHY1W81&q=85&s=341e247d34c2a957033af11e7c9202cc Claude
  • https://mintcdn.com/xano-997cb9ee/GK7krl3WPzHY1W81/images/icons/OpenAI_light.svg?fit=max&auto=format&n=GK7krl3WPzHY1W81&q=85&s=65e9b63502775b31ecd1ddc965dcd7c0 ChatGPT
You can add an MCP server to a specific project, or to your user configuration to make it available across all projects.MCP Servers in VS Code require access to Copilot.
1

Create a .vscode/mcp.json file in your workspace

2

Select the Add Server button in the editor

xano-mcp-20251011-090416

Add Server button

3

Choose 'HTTP' from the list

xano-mcp-20251011-090514
4

Provide the necessary details

You’ll be asked for the URL to connect to your server, which you can find in the MCP Server panel in your instance settings. Use the streaming URL.
xano-mcp-20251011-090811

Getting the URL

Then, give VS Code a name for your server.
5

Add authentication information

You’ll need to manually add the authentication information for the MCP server. You’ll need the access token you generated earlier.Add a comma after type, and then on a new line, add "headers": {"Authorization": "Bearer token_here"}.
xano-mcp-20251011-091135

Adding authentication information

Save the file.
6

You're ready to use the Xano MCP Server in VS Code

You can now use the Xano MCP Server in VS Code.
xano-mcp-20251011-091409

Using the Xano MCP Server in VS Code

For more details on connecting to MCP servers in VS Code, see the VS Code MCP Server documentation.
I