
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...
概览
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. - : Create, list, and delete tables in your Xano database - : View and modify table schemas with comprehensive schema editing capabilities - : Complete toolset for interacting with your Xano database structure - : Extract your API group api details in either JSON or Markdown (reduced token) format Note this is an early-stage with feedback / requests welcomed. - 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. 3. Configure your Xano credentials: - Edit index.ts and set your Xano credentials: - XANO_API_KEY: Your Xano API key - XANO_WORKSPACE: Your Xano workspace ID - XANO_API_BASE: Your Xano instance API URL (e.g., https://your-instance.xano.
README
以下为原文 README 节选,完整内容请查看原文。
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.
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
- Clone the repository:
git clone https://github.com/lowcodelocky2/xano-mcp.git
cd xano-mcp
- Install dependencies:
npm install
-
Configure your Xano credentials:
- Edit
index.tsand set your Xano credentials:XANO_API_KEY: Your Xano API keyXANO_WORKSPACE: Your Xano workspace IDXANO_API_BASE: Your Xano instance API URL (e.g., https://your-instance.xano.io/api:meta)
- Edit
-
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
- Open Cursor
- Click “Add MCP Server”
- Configure the server:
- Name:
whatever you want to call it - Type:
command - Command:
node /path/to/xano-mcp/build/index.js
- Name:
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
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"xano": {
"command": "node",
"args": [
"/path/to/xano-mcp"
]
}
}
}