Skip to main content
The Xano Developer MCP provides 6 tools for AI-assisted XanoScript development. These tools are automatically available to your AI assistant once the MCP server is connected.

validate_xanoscript

Validates XanoScript code for syntax errors. Returns a list of errors with line and column positions, or confirms the code is valid. The language server auto-detects the object type (table, function, query, etc.) from the code syntax.

Parameters

Response

Examples

Valid code:
Returns:
Invalid code:
Returns errors with the exact line and column where the issue was found, making it easy to pinpoint and fix problems.
Use this tool as you write XanoScript to catch syntax errors before pushing code to Xano. AI assistants will often call this automatically after generating code.

xanoscript_docs

Retrieves XanoScript programming language documentation. Call without parameters for the overview. Use topic for specific documentation, or file_path for context-aware docs based on the file you’re editing.

Parameters

Available Topics

Context-Aware Docs

When file_path is provided, the tool automatically returns all documentation relevant to the type of file you’re editing. For example: The syntax topic is always included as a foundation. The readme topic is never auto-included (call it explicitly for the overview).

Quick Reference Mode

Use mode: "quick_reference" for compact output that only returns the Quick Reference section from each doc. This is recommended when you need to conserve context window space.

Examples


meta_api_docs

Retrieves documentation for Xano’s Meta API, which provides programmatic access to manage workspaces, databases, APIs, functions, agents, and more.

Parameters

Available Topics

Detail Levels

  • overview — Returns just the method, path, and description for each endpoint
  • detailed — Includes parameters, request body details, and response schemas
  • examples — Adds full request/response examples with code blocks

Examples


run_api_docs

Retrieves documentation for Xano’s Run API, which provides runtime execution, session management, and XanoScript execution capabilities.
The Run API uses a fixed base URL: https://app.dev.xano.com/api:run/<endpoint> — this is not your Xano instance URL.

Parameters

Available Topics

Examples


cli_docs

Retrieves documentation for the Xano CLI (@xano/cli), covering local development workflows, code sync, and XanoScript execution from the command line.

Parameters

Available Topics

Examples


mcp_version

Returns the current version of the Xano Developer MCP server.

Parameters

None.

Response

Returns the version string (e.g., "1.0.31").

Example