Skip to main content
Glama

Xano MCP Server

A Model Context Protocol (MCP) server for interacting with Xano's metadata API. This server provides tools that can be used by AI assistants (like Claude) through Cursor or other MCP-compatible clients.

Features

  • Manage Tables: Create, list, and delete tables in your Xano database

  • Schema Operations: View and modify table schemas with comprehensive schema editing capabilities

  • Database Management: Complete toolset for interacting with your Xano database structure

  • Swagger Spec: Extract your API group api details in either JSON or Markdown (reduced token) format

Note this is an early-stage with feedback / requests welcomed.

Related MCP server: Xano MCP Server for Smithery

Prerequisites

  • Node.js (v16 or higher)

  • npm or another Node.js package manager

  • A Xano account with API access

  • Cursor, Claude Desktop, Cline or another MCP client.

Installation

  1. Clone the repository:

git clone https://github.com/lowcodelocky2/xano-mcp.git
cd xano-mcp
  1. Install dependencies:

npm install
  1. Configure your Xano credentials:

    • Edit index.ts and set your Xano credentials:

  2. Build the project:

npm run build

Usage with Claude Desktop

Follow this guide - https://modelcontextprotocol.io/quickstart/user

Update your config with:

{
  "mcpServers": {
    "xano": {
      "command": "node",
      "args": [
        "/path/to/xano-mcp"
      ]
    }
  }
} 

Replace /path/to/xano-mcp with the absolute path to your project directory.

This does not work with the claude web app, only via the desktop app - https://claude.ai/download

Usage with Cursor

  1. Open Cursor

  2. Click "Add MCP Server"

  3. Configure the server:

    • Name: whatever you want to call it

    • Type: command

    • Command: node /path/to/xano-mcp/build/index.js

Replace /path/to/xano-mcp with the absolute path to your project directory.

Example mac
node /Users/your-user/Documents/folder-name/xano-mcp/build/index.js

If you're in your're inside your directory you can run the comman 'pwd' into your terminal to get the absolute path.

Xano MCP Tools Overview

This integration provides a comprehensive set of tools for managing your Xano workspace through the Model Context Protocol (MCP). Here's what you can do:

Database Management

Tables

  • List all tables in your workspace

  • View detailed table schemas

  • Create new tables with custom schemas

  • Delete existing tables

  • Modify table schemas (add/remove/rename columns)

Schema Operations

  • Add new columns with various data types

  • Remove columns

  • Rename columns

  • Update entire table schemas

  • Support for complex data types and relationships

API Management

API Groups

  • Create new API groups

  • List all API groups

  • Browse APIs within groups

  • Enable/disable Swagger documentation

  • Manage API group metadata (tags, branches, etc.)

Individual APIs

  • Add new APIs to groups

  • Configure HTTP methods (GET, POST, PUT, DELETE, PATCH, HEAD)

  • Set up API documentation

  • Add metadata (tags, descriptions)

Documentation

  • Generate API Group specifications in both markdown (reduced tokens) and JSO (full) formats

  • View Swagger documentation

  • Access detailed schema information

This toolset enables complete management of your Xano workspace, allowing you to build and maintain your backend infrastructure programmatically through the MCP interface.

Re-enabling the Delete Table Tool

To re-enable the delete-table functionality in this codebase, follow these step-by-step instructions:

  1. Open the file src/index.ts in your code editor

  2. Locate the commented-out section that starts with:

    // Delete Table Tool
    /*
    server.tool(

    and ends with:

    );
    */
  3. To uncomment this section:

    • Delete the opening /* on the line after "Delete Table Tool"

    • Delete the closing */ before "Edit Table Schema Tool"

    That's it! The delete-table tool will now be active again. (After running a new build)

Example of What the Code Should Look Like After

// Delete Table Tool
server.tool(
  "delete-table",
  "Delete a table from the Xano workspace",
  {
    table_id: z.string().describe("ID of the table to delete")
  },
  async ({ table_id }) => {
    // ... rest of the implementation
  }
);

Verification

After making these changes:

  1. Save the file

  2. Run a new build `npm run build'

  3. Restart your MCP client (Claude / Cursor)

  4. The delete-table tool should now be available in your toolset

Safety Note

The delete-table tool permanently removes tables from your Xano workspace. Make sure you have appropriate backups before using this functionality.

Available Tools

9 tools
add-apiC

Add a new API to an API group

Inputs: apigroup_id (required), name (required), description (required), verb (required), +2 more.

add-tableC

Add a new table to the Xano database

Inputs: name (required), description, schema.

browse-apisC

Browse APIs in a specific API group

Inputs: apigroup_id (required), page, per_page, search, +2 more.

create-api-groupC

Create a new API group in the Xano workspace

Inputs: name (required), description (required), swagger (required), docs, +2 more.

edit-table-schemaC

Edit the schema of an existing table (add, remove, or modify columns)

Inputs: table_id (required), operation (required), schema, column, +2 more.

get-api-specB

Get and convert Swagger specification for an API group to a minified markdown format

Inputs: apigroup_id (required), format.

get-table-schemaC

Browse the schema of a table

Inputs: table_id (required), format.

list-api-groupsC

Browse all API groups in the Xano workspace

Inputs: page, per_page, search, sort, +1 more.

list-tablesB

Browse all tables in the Xano workspace

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting specific resources and actions in the Xano ecosystem. For example, 'add-api' vs 'browse-apis' vs 'get-api-spec' handle different aspects of API management, and table-related tools similarly cover distinct operations like creation, listing, and schema editing.

    Naming Consistency5/5

    All tools follow a consistent verb-noun pattern with hyphen separation, such as 'add-api', 'browse-apis', 'create-api-group', and 'edit-table-schema'. This predictable naming convention makes it easy for agents to understand and select the appropriate tool based on the desired action and resource.

    Tool Count5/5

    With 9 tools, the server is well-scoped for managing APIs and tables in Xano. Each tool serves a clear purpose, covering essential operations like creation, listing, editing, and specification retrieval without unnecessary bloat or redundancy.

    Completeness4/5

    The tool set provides strong coverage for API and table management, including CRUD-like operations (e.g., create, list, edit). A minor gap exists in the lack of explicit delete or update tools for APIs and API groups, but agents can likely work around this using existing editing or creation tools as needed.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with the Xano API through a Model Context Protocol (MCP) interface, providing secure and type-safe management of Xano database operations.
      ISC
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables Claude AI to interact with Xano databases, providing comprehensive database operations, file management, and request history tracking through a standardized interface.
      1
      MIT
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants to interact with Bubble.io applications through the Model Context Protocol for data discovery, CRUD operations, and workflow execution. It provides a standardized interface for managing Bubble database records while respecting privacy rules and security configurations.
      -
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to perform advanced database operations and schema management against PocketBase instances via the Model Context Protocol. Supports collection creation, record CRUD, user authentication and management, and database backups.
      20 npm
      ISC