Xano Documentation
  • 👋Welcome to Xano!
  • 🌟Frequently Asked Questions
  • 🔐Security & Compliance (Trust Center)
  • 🙏Feature Requests
  • 💔Known Issues
  • Before You Begin
    • Using These Docs
    • Where should I start?
    • Set Up a Free Xano Account
    • Key Concepts
    • The Development Life Cycle
    • Navigating Xano
    • Plans & Pricing
  • The Database
    • Designing your Database
    • Database Basics
      • Using the Xano Database
      • Field Types
      • Relationships
      • Database Views
      • Export and Sharing
      • Data Sources
    • Migrating your Data
      • Airtable to Xano
      • Supabase to Xano
      • CSV Import & Export
    • Database Performance and Maintenance
      • Storage
      • Indexing
      • Maintenance
      • Schema Versioning
  • 🛠️The Function Stack
    • Building with Visual Development
      • APIs
        • Swagger (OpenAPI Documentation)
      • Custom Functions
        • Async Functions
      • Background Tasks
      • Triggers
      • Middleware
      • Configuring Expressions
      • Working with Data
    • Functions
      • AI Tools
      • Database Requests
        • Query All Records
          • External Filtering Examples
        • Get Record
        • Add Record
        • Edit Record
        • Add or Edit Record
        • Patch Record
        • Delete Record
        • Bulk Operations
        • Database Transaction
        • External Database Query
        • Direct Database Query
        • Get Database Schema
      • Data Manipulation
        • Create Variable
        • Update Variable
        • Conditional
        • Switch
        • Loops
        • Math
        • Arrays
        • Objects
        • Text
      • Security
      • APIs & Lambdas
        • Realtime Functions
        • External API Request
        • Lambda Functions
      • Data Caching (Redis)
      • Custom Functions
      • Utility Functions
      • File Storage
      • Cloud Services
    • Filters
      • Manipulation
      • Math
      • Timestamp
      • Text
      • Array
      • Transform
      • Conversion
      • Comparison
      • Security
    • Data Types
      • Text
      • Expression
      • Array
      • Object
      • Integer
      • Decimal
      • Boolean
      • Timestamp
      • Null
    • Environment Variables
    • Additional Features
      • Response Caching
  • Testing and Debugging
    • Testing and Debugging Function Stacks
    • Unit Tests
    • Test Suites
  • CI/CD
  • File Storage
    • File Storage in Xano
    • Private File Storage
  • Realtime
    • Realtime in Xano
    • Channel Permissions
    • Realtime in Webflow
  • Maintenance, Monitoring, and Logging
    • Statement Explorer
    • Request History
    • Instance Dashboard
      • Memory Usage
  • Building Backend Features
    • User Authentication & User Data
      • Separating User Data
      • Restricting Access (RBAC)
      • OAuth (SSO)
    • Webhooks
    • Messaging
    • Emails
    • Custom Report Generation
    • Fuzzy Search
    • Chatbots
  • Xano Features
    • Snippets
    • Instance Settings
      • Release Track Preferences
      • Static IP (Outgoing)
      • Change Server Region
      • Direct Database Connector
      • Backup and Restore
      • Security Policy
    • Workspace Settings
    • Advanced Back-end Features
      • Xano Link
      • Developer API (Deprecated)
    • Metadata API
      • Master Metadata API
      • Tables and Schema
      • Content
      • Search
      • File
      • Request History
      • Workspace Import and Export
      • Token Scopes Reference
  • Build With AI
    • Building a Backend Using AI
    • Get Started Assistant
    • AI Database Assistant
    • AI Lambda Assistant
    • AI SQL Assistant
    • API Request Assistant
    • Template Engine
    • Streaming APIs
  • Using AI Builders with Xano
  • Build For AI
    • MCP Builder
      • Connecting Clients
      • MCP Functions
    • Xano MCP Server
  • Xano Transform
    • Using Xano Transform
  • Xano Actions
    • What are Actions?
    • Browse Actions
  • Team Collaboration
    • Realtime Collaboration
    • Managing Team Members
    • Branching & Merging
    • Role-based Access Control (RBAC)
  • Agencies
    • Xano for Agencies
    • Agency Features
      • Agency Dashboard
      • Client Invite
      • Transfer Ownership
      • Agency Profile
      • Commission
      • Private Marketplace
  • Enterprise
    • Xano for Enterprise
    • Enterprise Features
      • Microservices
        • Ollama
          • Choosing a Model
      • Tenant Center
      • Compliance Center
      • Security Policy
      • Instance Activity
      • Deployment
      • RBAC (Role-based Access Control)
      • Xano Link
  • Your Xano Account
    • Account Page
    • Billing
    • Referrals & Commissions
  • Troubleshooting & Support
    • Error Reference
    • Troubleshooting Performance
      • When a single workflow feels slow
      • When everything feels slow
      • RAM Usage
      • Function Stack Performance
    • Getting Help
      • Granting Access
      • Community Code of Conduct
      • Community Content Modification Policy
  • Special Pricing
    • Students & Education
    • Non-Profits
  • Security
    • Best Practices
Powered by GitBook
On this page
  • What is the Xano MCP Server?
  • Connecting to the Xano MCP Server
  • From the Instance selection screen, click the icon next to your instance, and choose Metadata API & MCP Server
  • Generate an Access Token
  • Choose your connection method
  • Connect using your client of choice
  • Available Tools
  • User Authentication
  • Workspace Management
  • Table Management
  • Table Content Management
  • API Management
  • Request Management

Was this helpful?

  1. Build For AI

Xano MCP Server

Manage your Xano data using your favorite MCP client

Last updated 28 days ago

Was this helpful?

Need a primer on MCP? Read this first:

Quick Summary

The Xano MCP Server allows you to interact with your Xano instance and workspaces using MCP. This enables you to do things like...

  • Create database tables and update table schema

  • Generate sample data

  • Parse and search your request history

...all from your favorite MCP client, such as Claude, Cursor, or Windsurf.

The Xano MCP Server is powered by our Metadata API, and we expect to eventually allow for all of the methods present there to be used as tools within the Xano MCP Server.

Connect to the Xano MCP Server from your instance settings -> Metadata API & MCP Server

What is the Xano MCP Server?

The Xano MCP Server, powered by our Metadata API, enables you to interact with your Xano instance and workspaces without leaving your favorite MCP client.

Connecting to the Xano MCP Server

1

From the Instance selection screen, click the icon next to your instance, and choose Metadata API & MCP Server

2

Generate an Access Token

Access Tokens are used for authentication when connecting to the Xano MCP server. For more information on generating access tokens, see this reference:

3

Choose your connection method

For most clients, at this time, SSE is likely the method that you'll want to choose. However, we have made a streaming connection available as well. Click the URL to copy it to your clipboard.

4

Connect using your client of choice

For more information on connecting your clients to an MCP server, refer to Connecting Clients or to your client's documentation for the most up to date information.

The instructions linked above are for connecting an MCP server built using Xano's MCP builder, but are fundamentally the same for the Xano MCP Server — just replace the URL with what you copied in step 3.

Available Tools

User Authentication

  • getLoggedInUser - Validates the provided Access Token and returns the associated account details.

Workspace Management

  • listWorkspaces - Lists all workspaces accessible by the authenticated user.

  • getWorkspace - Retrieves detailed information about a specific workspace.

  • getWorkspaceBranches - Lists all branches (e.g., development, production) within the specified workspace.

  • workspaceGetDataSources - Lists all external data sources connected to the specified workspace.

  • workspaceRealtimeDetails - Retrieves Realtime information for the specified workspace.

Table Management

  • addTable - Creates a new table within the specified workspace.

  • getTables - Lists all tables within a specific workspace.

  • getTable - Retrieves the details of a specific table within the workspace.

  • deleteTable - Deletes a specific table and all data it contains from the workspace.

  • updateTableMeta - Modifies the metadata (e.g., schema, field definitions, descriptions) of the specified table.

  • updateTableSecurity - Updates the security rules for the specified table.

Table Content Management

  • getTableContent - Retrieves a list of records from the specified table.

  • getTableContentItem - Retrieves a single, specific record from the table using its ID.

  • updateTableContentItem - Updates an existing record in the table using its ID.

  • deleteTableContentItem - Deletes a single, specific record from the table using its ID.

  • searchTableContent - Searches for records within the table using complex filter criteria and sorting options.

  • patchTableContentBySearch - Updates fields of all records in the table that match the specified search criteria.

  • deleteTableContentBySearch - Deletes all records from the table that match the specified search criteria.

  • addTableContentBulk - Adds multiple new records to the table in a single operation.

  • patchTableContentBulk - Updates multiple existing records in the table in a single bulk operation.

  • deleteTableContentBulk - Deletes multiple records from the table in bulk, based on a list of record IDs.

API Management

  • listAPIGroups - Lists all API groups within the specified workspace.

  • getApiGroup - Retrieves details for a specific API group within the workspace.

  • listAPIs - Lists all individual API endpoints defined within a specific API group.

  • getApiGroupSwagger - Returns the JSON version of the Swagger (OpenAPI Documentation) for a specific API group

  • getApiSwagger - Returns the JSON version of the Swagger (OpenAPI Documentation) for a specific API

Request Management

  • getRequestHistory - Lists the history of API requests made to the specified workspace.

  • searchRequestHistory - Performs an advanced search of the workspace's API request history using filters and sorting.

⚙️
Introduction to building MCP Servers in Xano
Generate an Access Token