Prerequisites
If you don’t have opencode yet:Installation
Install the MCP Server
You can add the Xano Developer MCP with opencode’s interactive CLI, or by editing your config file directly.Option 1: Interactive CLI
Run the guided add command, which walks you through adding a local or remote MCP server: When prompted, enter:- Name:
xano - Type: Local
- Command:
npx -y @xano/developer-mcp
Option 2: Edit the config file
opencode is configured through JSON. Add the Xano Developer MCP as a local MCP server in your opencode config file at~/.config/opencode/opencode.json:
mcp block in an opencode.json file at your project root. When opencode starts, it looks for a config file in the current directory and traverses up to the nearest Git directory, and project config overrides your global defaults.
Restart any active opencode sessions so the new server is picked up.
Verify Setup
In opencode, ask:“What version of the Xano Developer MCP is installed?”opencode should call
mcp_version and return the current version number.
Usage
The Developer MCP lets opencode write and validate XanoScript using your local Xano workspace as context. Before asking opencode to make changes, pull a workspace locally with the Xano CLI. If you haven’t installed and authenticated with the CLI yet, do that now before continuing. Then select or create a workspace and run:xano sandbox review opens your sandbox in the browser — verify everything looks right, then promote the changes to production from there.
What’s Next
Tools Reference
Explore all 6 tools available in the Developer MCP
Resources & Library
Access MCP resources and use the package as an npm library