Connecting Clients
Last updated
Was this helpful?
Last updated
Was this helpful?
The below instructions will allow you to connect your Xano MCP server to Cursor and make them available across any project. The below method does not support authentication. If you need authentication or want to define per-project MCPs, use these instructions instead.
mcp.json
If the file is blank, start with the basic structure and replace the placeholder values with your own.
{
"mcpServers": {
"xano": {
"command": "npx",
"args": [
"mcp-remote",
"YOUR CONNECTION URL HERE",
"--header",
"Authorization:${AUTH_TOKEN}"
],
"env": {
"AUTH_TOKEN": "Bearer YOUR AUTH TOKEN HERE"
}
}
}
}
You can add multiple entries if you have multiple MCP servers. See the below example.
{
"mcpServers": {
"xano_development": {
"command": "npx",
"args": [
"mcp-remote",
"CONNECTION URL HERE"
]
},
"xano_production": {
"command": "npx",
"args": [
"mcp-remote",
"CONNECTION URL HERE"
]
},
"xano_tools": {
"command": "npx",
"args": [
"mcp-remote",
"CONNECTION URL HERE"
]
}
}
}
You need Node.js installed on your system.
Download the latest installer from the Node.js official website for your specific platform.
Click Edit Config and in the window that opens, open claude_desktop_config.json
in your favorite text or code editor.
If the file is blank, start with the basic structure and replace the placeholder values with your own.
{
"mcpServers": {
"YOUR SERVER NAME HERE": {
"command": "npx",
"args": [
"mcp-remote",
"YOUR CONNECTION URL HERE"
]
}
}
}
If any of your tools require authentication, you can add that to your config file. See the below example.
{
"mcpServers": {
"xano": {
"command": "npx",
"args": [
"mcp-remote",
"YOUR CONNECTION URL HERE",
"--header",
"Authorization: Bearer ${AUTH_TOKEN}"
],
"env": {
"AUTH_TOKEN": "YOUR AUTH TOKEN HERE"
}
}
}
}
Windows Users:
Claude Desktop currently has a bug related to spaces inside of headers. To mitigate this, change the authentication section of your config file to look like the following:
"Authorization:${AUTH_TOKEN}"
],
"env": {
"AUTH_TOKEN": "Bearer YOUR AUTH TOKEN HERE"
You can add multiple entries if you have multiple MCP servers. See the below example.
{
"mcpServers": {
"xano_development": {
"command": "npx",
"args": [
"mcp-remote",
"CONNECTION URL HERE"
]
},
"xano_production": {
"command": "npx",
"args": [
"mcp-remote",
"CONNECTION URL HERE"
]
},
"xano_tools": {
"command": "npx",
"args": [
"mcp-remote",
"CONNECTION URL HERE"
]
}
}
}
If the file is blank, start with the basic structure and replace the placeholder values with your own.
{
"mcpServers": {
"YOUR SERVER NAME HERE": {
"command": "npx",
"args": [
"mcp-remote",
"YOUR CONNECTION URL HERE"
]
}
}
}
If any of your tools require authentication, you can add that to your config file. See the below example.
{
"mcpServers": {
"xano": {
"command": "npx",
"args": [
"mcp-remote",
"YOUR CONNECTION URL HERE",
"--header",
"Authorization: Bearer ${AUTH_TOKEN}"
],
"env": {
"AUTH_TOKEN": "YOUR AUTH TOKEN HERE"
}
}
}
}
You can add multiple entries if you have multiple MCP servers. See the below example.
{
"mcpServers": {
"xano_development": {
"command": "npx",
"args": [
"mcp-remote",
"CONNECTION URL HERE"
]
},
"xano_production": {
"command": "npx",
"args": [
"mcp-remote",
"CONNECTION URL HERE"
]
},
"xano_tools": {
"command": "npx",
"args": [
"mcp-remote",
"CONNECTION URL HERE"
]
}
}
}
Streaming connections allow your MCP server to deliver responses in smaller chunks. Great for emulating the typical chatbot experience, where you can provide the experience of the response being 'typed'.
SSE connections may be more compatible with certain systems, but deliver the entire response as a whole once its ready, instead of in smaller pieces.
It depends on your use case and what you're using to connect to the MCP server. Streaming connections allow for a more organic, "chatbot-like" experience and means that your users won't have to wait as long to start seeing the response. However, whatever is connecting to your MCP server needs to support streaming responses for this to work.
Once you're connected following the instructions above, you should be able to converse with the AI like you would any other, asking real-world questions that the tools you built should be able to answer.
For example, if we have a tool that just returns a true or false, we'd probably be asking yes or no questions, such as "Does this user, john@email.com, have administrator access?"
Check the error message you're receiving for clues. This could be due to one of the following:
An incorrectly formatted configuration file
Your Xano MCP Server is not set to allow connections
You're not providing an authentication token to a server that requires it
In our current testing, we are finding that running multiple MCP clients causes this issue. Our recommendation is to stick with a single client for the time being.
Try these steps:
Close any open MCP clients
Ensure that your authentication token is not expired
On Mac, run
rm -rf ~/.mcp-auth
Restart your MCP client and try connecting again