Xano MCP Server
by SarimSiddd
Xano MCP Server
A Model Context Protocol (MCP) server implementation for interacting with the Xano API. This server provides tools and resources for managing Xano database operations through the MCP interface.
Features
- Secure authentication with Xano API
- Type-safe API interactions using TypeScript
- Environment-based configuration
- MCP-compliant interface
- Workspace management tools
- Table content operations (create, read, update)
- Improved error handling with detailed messages
Installation
Copy
Configuration
- Copy the example environment file:
Copy
- Update the
.env
file with your Xano credentials:
Copy
Development
Copy
Project Structure
Copy
Available MCP Tools
Workspace Tools
get_workspaces
: List all available workspaces
Table Tools
create_table
: Create a new table in a workspaceget_table_content
: Get content from a table with pagination supportadd_table_content
: Add new content to a tableupdate_table_content
: Update existing content in a tableget_all_tables
: List all tables in a workspace with detailed information
Usage Examples
Working with Workspaces
Copy
Managing Tables
Copy
Environment Variables
Variable | Description | Required | Default |
---|---|---|---|
XANO_API_KEY | Your Xano API authentication key | Yes | - |
XANO_API_URL | Xano API endpoint URL | Yes | - |
NODE_ENV | Environment (development/production) | No | development |
API_TIMEOUT | API request timeout in milliseconds | No | 10000 |
Error Handling
The server provides detailed error messages for:
- Invalid parameters
- Authentication failures
- API request failures
- Content validation errors
- Unknown tool requests
Security
- Environment variables are used for sensitive configuration
- TruffleHog configuration is included to prevent secret leaks
- API keys and sensitive data are never committed to the repository
Contributing
- Create a feature branch
- Make your changes
- Submit a pull request
License
ISC
This server cannot be installed
Enables interaction with the Xano API through a Model Context Protocol (MCP) interface, providing secure and type-safe management of Xano database operations.