roboulos simple xano mcp

roboulos simple xano mcp avatar

by roboulos

What is roboulos simple xano mcp

Xano MCP Python SDK

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.

🌟 Features

  • Simple Authentication: Connect with your Xano API token
  • Comprehensive API: Query and manipulate Xano instances, databases, tables, and records
  • Local Deployment: Run as a local MCP server for Claude Desktop or other clients
  • Detailed Logging: Troubleshoot issues with comprehensive logging
  • Portable: Works on macOS, Windows, and Linux

🚀 Quick Start

  1. Clone this repository:

    git clone https://github.com/yourusername/xano-mcp-python.git
    cd xano-mcp-python
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Configure Claude Desktop (if using):

    Edit your Claude Desktop config file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %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"
          }
        }
      }
    }
    
  4. Run the installation script:

    # On macOS/Linux
    ./install.sh
    
    # On Windows
    install.bat
    
  5. Test the installation:

    ./test.py
    

💡 Usage Examples

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

🧰 Available Tools

Instance Management

  • List instances
  • Get instance details
  • Check instance status

Database Operations

  • List databases/workspaces
  • Get workspace details
  • Database schema management

Table Operations

  • Create, update, delete tables
  • Add, modify, and remove fields
  • Index management

Record Management

  • Create, read, update, delete records
  • Bulk operations
  • Complex queries

File Operations

  • List and manage files
  • Upload and download

API Tools

  • API group management
  • API endpoint creation and configuration

🔧 Advanced Configuration

Environment Variables

  • 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 specified

Command Line Options

python xano_mcp_sdk.py --token YOUR_TOKEN --log-level DEBUG

Logging

Logs are written to:

  • macOS: ~/Library/Logs/Claude/mcp*.log
  • Windows: %APPDATA%\Claude\logs\mcp*.log

For direct console output, run:

python xano_mcp_sdk.py --console-logging

🚨 Troubleshooting

If you encounter issues:

  1. Check logs for errors:

    # macOS
    tail -n 100 -f ~/Library/Logs/Claude/mcp*.log
    
    # Windows
    type "%APPDATA%\Claude\logs\mcp*.log"
    
  2. Verify API token is correct and has appropriate permissions

  3. Check network connectivity to Xano servers

  4. Ensure Python environment is properly set up

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgements

  • Xano for their excellent database platform
  • Anthropic for the Model Context Protocol specification
  • Contributors and testers who helped refine this SDK

Leave a Comment

Frequently Asked Questions

What is MCP?

MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications, providing a standardized way to connect AI models to different data sources and tools.

What are MCP Servers?

MCP Servers are lightweight programs that expose specific capabilities through the standardized Model Context Protocol. They act as bridges between LLMs like Claude and various data sources or services, allowing secure access to files, databases, APIs, and other resources.

How do MCP Servers work?

MCP Servers follow a client-server architecture where a host application (like Claude Desktop) connects to multiple servers. Each server provides specific functionality through standardized endpoints and protocols, enabling Claude to access data and perform actions through the standardized protocol.

Are MCP Servers secure?

Yes, MCP Servers are designed with security in mind. They run locally with explicit configuration and permissions, require user approval for actions, and include built-in security features to prevent unauthorized access and ensure data privacy.

Related MCP Servers

chrisdoc hevy mcp avatar

chrisdoc hevy mcp

mcp
sylphlab pdf reader mcp avatar

sylphlab pdf reader mcp

An MCP server built with Node.js/TypeScript that allows AI agents to securely read PDF files (local or URL) and extract text, metadata, or page counts. Uses pdf-parse.

pdf-parsetypescriptnodejs
aashari mcp server atlassian bitbucket avatar

aashari mcp server atlassian bitbucket

Node.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MCP interface.

atlassianrepositorymcp
aashari mcp server atlassian confluence avatar

aashari mcp server atlassian confluence

Node.js/TypeScript MCP server for Atlassian Confluence. Provides tools enabling AI systems (LLMs) to list/get spaces & pages (content formatted as Markdown) and search via CQL. Connects AI seamlessly to Confluence knowledge bases using the standard MCP interface.

atlassianmcpconfluence
prisma prisma avatar

prisma prisma

Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

cockroachdbgomcp
Zzzccs123 mcp sentry avatar

Zzzccs123 mcp sentry

mcp sentry for typescript sdk

mcptypescript
zhuzhoulin dify mcp server avatar

zhuzhoulin dify mcp server

mcp
zhongmingyuan mcp my mac avatar

zhongmingyuan mcp my mac

mcp
zhixiaoqiang desktop image manager mcp avatar

zhixiaoqiang desktop image manager mcp

MCP 服务器,用于管理桌面图片、查看详情、压缩、移动等(完全让Trae实现)

mcp
zhixiaoqiang antd components mcp avatar

zhixiaoqiang antd components mcp

An MCP service for Ant Design components query | 一个减少 Ant Design 组件代码生成幻觉的 MCP 服务,包含系统提示词、组件文档、API 文档、代码示例和更新日志查询

designantdapi

Submit Your MCP Server

Share your MCP server with the community

Submit Now