RS

roboulos/simple-xano-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

2 stars 5 forks 品質 64 トレンド 4MIT

Xano 用の Python ベースの MCP (Model Context Protocol) サーバーで、Claude のような AI アシスタントが Xano インスタンスと直接やり取りできるようにします.

概要

Xano 用の Python ベースの MCP (Model Context Protocol) サーバーで、Claude のような AI アシスタントが Xano インスタンスと直接やり取りできるようにします。 これは、Claude Desktopや他のMCP互換LLMを使用してローカルで使用するために最適化されたスタンドアローンバージョンです。 - : Xano API トークンと接続 - : Xano インスタンス、データベース、テーブル、レコードのクエリと操作 - : Claude デスクトップまたは他のクライアントのローカル MCP サーバーとして実行 - : 包括的なロギングの問題のトラブルシューティング - : macOS、Windows、Linux で動作します。 3。(使用する場合):Claudeデスクトップコンフィグファイルを編集: - macOS:~/ Library / Application Support/Claude/claude desktop config.json - Windows:%APPDATA%\Claude\claude desktop config.json インストールしたら、Claude または MCP 互換アシスタントで使用できます。 ここにいくつかの例があります。 - : Xanoインスタンス "my-instance" のすべてのテーブルを表示 - : Xanoインスタンス "my-instance" で "products" という新しいテーブルを作成します。 - : "users"テーブルのスキーマは何ですか?

概要(AI 翻訳)

Xano 用の Python ベースの MCP (Model Context Protocol) サーバーで、Claude のような AI アシスタントが Xano インスタンスと直接やり取りできるようにします。 これは、Claude Desktopや他のMCP互換LLMを使用してローカルで使用するために最適化されたスタンドアローンバージョンです。

✔ 機能

  • 簡単な認証: Xano APIトークンに接続する
  • 包括的なAPI: Xanoインスタンス、データベース、テーブル、レコードのクエリと操作
  • ローカル展開: Claude デスクトップや他のクライアントのローカル MCP サーバーとして実行 -Detailed Logging:包括的なロギングによるトラブルシューティングの問題 -Portable:macOS、Windows、Linuxで動作します

すぐにスタート

1.このリポジトリのクローン:

2.依存関係のインストール:

3。Claudeデスクトップの設定(使用する場合):

Claudeデスクトップコンフィグファイルを編集:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • ウィンドウ: %APPDATA%\Claude\claude_desktop_config.json

この設定を追加します。

4.インストールスクリプトを実行:

  1. 取付けをテストして下さい:

✔ 使用例

インストールしたら、Claude または MCP 互換アシスタントで使用できます。 ここにいくつかの例があります。

-Xanoインスタンスの一覧:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "xano": { "command": "python", "args": [ "/path/to/xano-mcp-python/xano_mcp_sdk.py" ], "env": { "XANO_API_TOKEN": "your-xano-api-token" } } } }