xano mcp
Enables AI assistants to manage Xano databases through the Model Context Protocol, allowing users to create, modify, and delete tables, edit schemas, and extract API documentation.
Enables AI assistants to manage Xano databases through the Model Context Protocol, allowing users to create, modify, and delete tables, edit schemas, and extract API documentation.
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.
Note this is an early-stage with feedback / requests welcomed.
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.ts
and 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)Build the project:
npm run build
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
whatever you want to call it
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.
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:
This toolset enables complete management of your Xano workspace, allowing you to build and maintain your backend infrastructure programmatically through the MCP interface.
To re-enable the delete-table functionality in this codebase, follow these step-by-step instructions:
src/index.ts
in your code editorLocate the commented-out section that starts with:
// Delete Table Tool
/*
server.tool(
and ends with:
);
*/
To uncomment this section:
/*
on the line after "Delete Table Tool"*/
before "Edit Table Schema Tool"That's it! The delete-table tool will now be active again. (After running a new build)
// 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
}
);
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
The delete-table tool permanently removes tables from your Xano workspace. Make sure you have appropriate backups before using this functionality.