Skip to main content
Every SmartAlex MCP tool call goes from your AI app to the server and back, through the same API gateway the SmartAlex web app uses. On every call the server checks who you are, which workspace you are in and what your role and plan allow. An AI app can never do more than you could do in SmartAlex yourself.
In SmartAlex: the apps making these calls are listed under Settings → Security → Where you’re signed in.

What happens in one tool call?

This diagram follows one request, “Show me yesterday’s calls”, from your AI app to SmartAlex and back.
  1. The AI app picks a tool. It reads the tool names and descriptions SmartAlex gave it when you connected.
  2. The server checks the call. Your token, your membership of the workspace, the rate limit, and whether your role, plan and add-ons allow this tool.
  3. The gateway checks again. The same API gateway as the web app checks the page permission for this action, and limits the read or write to your workspace.
  4. The answer comes back. The app turns the result into a reply.

What changes for an action that asks first?

An action that spends money, contacts people or deletes for good runs in two calls. This diagram shows the preview and the yes. The code works once, only for the same tool and the same inputs, and expires after 10 minutes. Security and permissions lists the 29 actions that ask first.

Is there a session to keep alive?

No. The cloud server is stateless: each request gets a fresh server, handles the call and finishes. If your AI app shows a reconnection notice, reconnect; nothing is lost.

How are workspaces kept apart?

A signed-in AI app works in one workspace at a time. That is the one you last opened in SmartAlex, or another workspace you belong to that you asked it to switch to. Your membership is checked on every request, and the gateway limits every read and write to that workspace. A sign-in can never reach a workspace you do not belong to.

Cloud server or local npm package?

There are two ways to run the SmartAlex MCP server. Both end at the same API gateway. This diagram compares them.

Questions people ask

No. Your membership is checked on every request, and every read and write is limited to the one workspace the app is working in.
Reconnect. The server keeps no session between requests, so nothing is lost and the next request works as normal.
Yes. Each call checks your sign-in, workspace, role, plan and add-ons, and the API gateway checks the page permission again before it reads or changes anything.

Authentication

How the sign-in works, step by step.

Security and permissions

What asks first, and how to disconnect an app.

Tools reference

Every tool, by area.

Error reference

What each error means and how to fix it.
Last modified on November 27, 2026