Skip to main content
Glama

Xano MCP Server

by SarimSiddd

Xano MCP サーバー

Xano APIと連携するためのモデルコンテキストプロトコル(MCP)サーバー実装。このサーバーは、MCPインターフェースを介してXanoデータベース操作を管理するためのツールとリソースを提供します。

特徴

  • Xano APIによる安全な認証
  • TypeScript を使用した型安全な API のやり取り
  • 環境ベースの構成
  • MCP準拠インターフェース
  • ワークスペース管理ツール
  • テーブルコンテンツの操作(作成、読み取り、更新)
  • 詳細なメッセージによるエラー処理の改善

インストール

# Clone the repository git clone [your-repo-url] cd xano_mcp # Install dependencies npm install

構成

  1. サンプル環境ファイルをコピーします。
cp .env.example .env
  1. Xano 資格情報を使用して.envファイルを更新します。
XANO_API_KEY=your_api_key_here XANO_API_URL=your_xano_api_url NODE_ENV=development API_TIMEOUT=10000

発達

# Build the project npm run build # Run in development mode npm run dev # Start the server npm start

プロジェクト構造

xano_mcp/ ├── src/ │ ├── api/ │ │ └── xano/ │ │ ├── client/ # API client implementation │ │ ├── models/ # Data models and types │ │ ├── services/ # API service implementations │ │ └── utils/ # Utility functions │ ├── mcp/ │ │ ├── server/ # MCP server implementation │ │ ├── tools/ # MCP tool implementations │ │ └── types/ # Tool-specific types │ ├── config.ts # Configuration management │ └── index.ts # Main entry point ├── .env # Environment variables (not in git) ├── .env.example # Example environment variables └── tsconfig.json # TypeScript configuration

利用可能なMCPツール

ワークスペースツール

  • get_workspaces : 利用可能なワークスペースをすべて一覧表示する

テーブルツール

  • create_table : ワークスペースに新しいテーブルを作成する
  • get_table_content : ページ区切りをサポートするテーブルからコンテンツを取得する
  • add_table_content : テーブルに新しいコンテンツを追加する
  • update_table_content : テーブル内の既存のコンテンツを更新する
  • get_all_tables : ワークスペース内のすべてのテーブルを詳細情報とともに一覧表示します

使用例

ワークスペースの操作

// List available workspaces const result = await mcp.use_tool("get_workspaces", {}); console.log('Workspaces:', result);

テーブルの管理

// Create a new table const createResult = await mcp.use_tool("create_table", { workspaceId: 123, name: "MyTable" }); // Add content to a table const addResult = await mcp.use_tool("add_table_content", { workspaceId: 123, tableId: 456, content: { created_at: "2024-01-22T17:07:00.000Z" } }); // Get table content with pagination const getResult = await mcp.use_tool("get_table_content", { workspaceId: 123, tableId: 456, pagination: { page: 1, items: 50 } }); // Update table content const updateResult = await mcp.use_tool("update_table_content", { workspaceId: 123, tableId: 456, contentId: "789", content: { created_at: "2024-01-22T17:07:00.000Z" } }); // List all tables in a workspace const tables = await mcp.use_tool("get_all_tables", { workspaceId: 123 }); console.log('Tables:', tables); // Returns an array of tables with their details: // [ // { // id: number, // name: string, // description: string, // created_at: string, // updated_at: string, // guid: string, // auth: boolean, // tag: string[], // workspaceId: number // }, // ... // ]

環境変数

変数説明必須デフォルト
XANO_API_KEYXano API認証キーはい-
XANO_API_URLXano APIエンドポイントURLはい-
ノード環境環境(開発・生産)いいえ発達
API_タイムアウトAPIリクエストのタイムアウト(ミリ秒)いいえ10000

エラー処理

サーバーは、次の詳細なエラー メッセージを提供します。

  • 無効なパラメータ
  • 認証失敗
  • APIリクエストの失敗
  • コンテンツ検証エラー
  • 不明なツールのリクエスト

安全

  • 環境変数は機密性の高い設定に使用されます
  • 秘密の漏洩を防ぐためにTruffleHogの設定が含まれています
  • APIキーと機密データはリポジトリにコミットされません

貢献

  1. 機能ブランチを作成する
  2. 変更を加える
  3. プルリクエストを送信する

ライセンス

ISC

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

モデル コンテキスト プロトコル (MCP) インターフェイスを介して Xano API との対話を可能にし、Xano データベース操作の安全で型安全な管理を提供します。

  1. 特徴
    1. インストール
      1. 構成
        1. 発達
          1. プロジェクト構造
            1. 利用可能なMCPツール
              1. ワークスペースツール
              2. テーブルツール
            2. 使用例
              1. ワークスペースの操作
              2. テーブルの管理
            3. 環境変数
              1. エラー処理
                1. 安全
                  1. 貢献
                    1. ライセンス

                      Related MCP Servers

                      • -
                        security
                        F
                        license
                        -
                        quality
                        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.
                        Last updated -
                        6
                        TypeScript
                      • -
                        security
                        A
                        license
                        -
                        quality
                        A Model Context Protocol (MCP) implementation for connecting to and working with various database systems.
                        Last updated -
                        23
                        17
                        TypeScript
                        MIT License
                        • Linux
                        • Apple
                      • -
                        security
                        A
                        license
                        -
                        quality
                        A Model Context Protocol server that enables Claude AI to interact with Xano databases, providing comprehensive database operations, file management, and request history tracking through a standardized interface.
                        Last updated -
                        Python
                        MIT License
                        • Linux
                        • Apple
                      • -
                        security
                        A
                        license
                        -
                        quality
                        A simplified Model Context Protocol server that enables Claude to interact with Xano databases through the Xano Metadata API.
                        Last updated -
                        2
                        Python
                        MIT License
                        • Apple
                        • Linux

                      View all related MCP servers

                      MCP directory API

                      We provide all the information about MCP servers via our MCP API.

                      curl -X GET 'https://glama.ai/api/mcp/v1/servers/SarimSiddd/xano_mcp'

                      If you have feedback or need assistance with the MCP directory API, please join our Discord server