
Xano
STDIOPython MCP server for AI assistants to interact with Xano database platform
Python MCP server for AI assistants to interact with Xano database platform
A Python-based MCP (Model Context Protocol) server for Xano that allows AI assistants like Claude to interact directly with your Xano instance. This is a standalone version optimized for local use with Claude Desktop and other MCP-compatible LLMs.
Clone this repository:
git clone https://github.com/yourusername/xano-mcp-python.git cd xano-mcp-python
Install dependencies:
pip install -r requirements.txt
Configure Claude Desktop (if using):
Edit your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Add this configuration:
{ "mcpServers": { "xano": { "command": "python", "args": [ "/path/to/xano-mcp-python/xano_mcp_sdk.py" ], "env": { "XANO_API_TOKEN": "your-xano-api-token" } } } }
Run the installation script:
# On macOS/Linux ./install.sh # On Windows install.bat
Test the installation:
./test.py
Once installed, you can use it with Claude or any MCP-compatible assistant. Here are some examples:
List your Xano instances:
What Xano instances do I have?
Check database tables:
Show me all tables in my Xano instance "my-instance"
Create a new table:
Create a new table called "products" in my Xano instance "my-instance"
Examine table structure:
What's the schema for the "users" table?
Query records:
Show me the first 5 records in the "users" table
XANO_API_TOKEN
: Your Xano API token (required)XANO_LOG_LEVEL
: Set log level (default: INFO)XANO_DEFAULT_INSTANCE
: Default instance to use when not specifiedpython xano_mcp_sdk.py --token YOUR_TOKEN --log-level DEBUG
Logs are written to:
~/Library/Logs/Claude/mcp*.log
%APPDATA%\Claude\logs\mcp*.log
For direct console output, run:
python xano_mcp_sdk.py --console-logging
If you encounter issues:
Check logs for errors:
# macOS tail -n 100 -f ~/Library/Logs/Claude/mcp*.log # Windows type "%APPDATA%\Claude\logs\mcp*.log"
Verify API token is correct and has appropriate permissions
Check network connectivity to Xano servers
Ensure Python environment is properly set up
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.