Ubex MCP Server
The Ubex MCP server connects an AI assistant to your Ubex account. Once it is connected, you can ask Claude, Cursor, VS Code or any other MCP client to build on Ubex: create a project, add tables, write and test backend endpoints, change the site and put it live, all from the chat.
https://api.ubex.ai/mcp
MCP, the Model Context Protocol, is the open standard AI assistants use to connect to outside tools. The Ubex server gives an assistant 28 tools, and instructions for using them well.
How access works
- You sign in with OAuth. When an assistant first connects, your browser opens a Ubex page: choose the organization and allow access. There is no API key to create or paste.
- One organization per connection. The connection works in the organization you chose, and in the workspaces you can reach there. To work in another organization, add the server again under another name.
- It acts as you. Everything the assistant does through the server is done with your permissions, as if you did it in the Ubex app.
- Read and write. The server asks for the
readandwritescopes: reading your projects, and changing them. - You can see and revoke every connection. Settings → Account → Connected apps lists each assistant and tool you allowed, such as Claude Code, Cursor or the Ubex CLI, with its organization and when it was last used. Disconnect stops it within a minute. A connected app never sees your password or your Vault secrets.
Connect your assistant
Claude Code
claude mcp add --transport http ubex https://api.ubex.ai/mcp
Then type /mcp in Claude Code and choose ubex to sign in. Add --scope user to the command to have Ubex in every project, or --scope project to share it with your team through the project's .mcp.json.
Claude (web and desktop)
Open Settings → Connectors, choose Add custom connector, name it Ubex and enter https://api.ubex.ai/mcp. Click Connect and sign in. In a chat, turn the connector on from the tools menu.
Cursor
Add the server in Cursor Settings → MCP, or in .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):
{
"mcpServers": {
"ubex": {
"url": "https://api.ubex.ai/mcp"
}
}
}
VS Code
Add it to .vscode/mcp.json in your project, or run MCP: Add Server from the Command Palette:
{
"servers": {
"ubex": {
"type": "http",
"url": "https://api.ubex.ai/mcp"
}
}
}
Use it from Copilot Chat in agent mode.
Other clients
Any client that supports remote MCP servers over HTTP with OAuth sign-in can connect. Give it the address https://api.ubex.ai/mcp, and it discovers how to sign in by itself.
What you can ask
Once connected, talk to the assistant the way you would to a developer who knows Ubex:
- "List my Ubex projects and tell me which ones are deployed."
- "In the Shop workspace, create a project for a booking site with a services table and a bookings table."
- "Add an endpoint that takes name, email and a date, checks them, saves the booking and returns 201. Test it."
- "The contact form on my-shop returns a 500. Find out why and fix it."
- "Add a page that lists the latest bookings, then deploy the site."
How an assistant builds with it
The server gives the assistant instructions along with its tools, so it works the same careful way every time:
- Find its way.
list_projectsshows your projects, thenget_project_contextreads one project in full: its web apps, every endpoint with its exact request and response, and its tables and file buckets. It reads this before writing code, so it reuses what exists. - Start a new app, when you ask for one:
create_projectin a workspace (with its own collection in My Data), thencreate_web_app, which comes with starter files that build. - Build the backend.
create_tablefor the data, thensave_workflowfor each endpoint, written as a route file (see Endpoints in Code). Saving compiles and checks the endpoint, saves it and runs it once, and gives back its address and its request and response contract. - Test it.
call_endpointsends a real request, exactly as the site will.query_rowsconfirms what was stored, andget_execution_logsshows the last run node by node when something is wrong. - Build the site.
pull_web_appreads the files,push_web_appwrites them and checks the app still builds, and the code calls endpoints by path,fetch("/api/<path>"). - Put it live.
deploy_web_appbuilds the site, publishes the workflows it calls that have unpublished changes, and returns once the site is live.
Safe by design
- The live site changes only on a deploy.
push_web_appsaves files without publishing them, anddeploy_web_apppublishes the site together with the endpoints it calls that have unpublished changes. Ask your assistant to deploy only when you are ready. - No lost work. Every file read comes with a hash, and a write must send it back. If the file changed in the meantime (in the Ubex app, by Qira or by a teammate), the write is refused and nothing is saved.
- All or nothing. A
push_web_appwith one refused file saves none of them. - Checked before saved.
save_workflowandedit_workflowrefuse code they cannot compile, naming the line, and save nothing.dry_run: truechecks without saving. - Real requests are real.
save_workflowandedit_workflowrun the endpoint once after saving it, andcall_endpointsends real requests. Both can write real rows, as your app would.
MCP server or CLI?
| MCP server | Ubex CLI | |
|---|---|---|
| Install | Nothing: add an address to your assistant | One command |
| Files | Read and written one at a time through tools | The whole app in a folder |
| Images, fonts, videos | Cannot upload them | ubex push uploads assets/ |
| Local preview | No | ubex dev |
| Best for | Building from a chat, quick changes, checking and debugging | Day-to-day development and larger changes |
When your assistant can run commands on your computer (Claude Code, Cursor), the server tells it to suggest the CLI for working on an app's code, and it can check your installed version with get_cli. The two work together: use the CLI for the files, and the MCP server for get_project_context, query_rows and get_execution_logs.
Troubleshooting
- The sign-in page doesn't open. Start the sign-in from your client again:
/mcpin Claude Code, Connect in Claude's connector settings, or the server's entry in Cursor or VS Code. - A project you expect is missing. The connection works in one organization. Check which one you chose, and that you can reach the project's workspace in the Ubex app.
- A write is refused with a conflict. The file changed on Ubex since the assistant read it. Ask it to read the file again and redo its change.
- An endpoint answers wrongly. Ask the assistant to read
get_execution_logsfor it: the last run, node by node, with each node's input, output and error.
The Ubex MCP server connects your assistant to Ubex. To connect your workflows to other services' MCP servers, such as GitHub, Slack or Notion, use Apps and the MCP Server node.
Next steps
- MCP Tools: all 28 tools, what each does and what it takes
- Endpoints in Code: the route files
save_workflowtakes - Ubex CLI: the whole app in a folder