You can copy the URL from Settings → API & MCP → Connect your agent.
What happens when you connect
- You add the URL to your MCP client.
- The client opens your browser and asks you to sign in to Mora (if you aren’t already).
- If you belong to more than one organization, Mora asks you to Choose an organization for the agent to work in.
- You review the request and click Authorize. The authorization screen has an organization switcher if you want to change your pick.
- The client stores the token and refreshes it on its own. Mora’s tools appear in the agent’s tool list.
The token is bound to the organization you selected. To point the agent at a different organization, reconnect and choose the other one, see Switching organizations.
Cursor
Add Mora to~/.cursor/mcp.json (all projects) or .cursor/mcp.json in a project:
Claude Code
/mcp to complete the browser sign-in. Add --scope user to make the server available in every project.
Claude desktop & web
In Claude’s settings, open Connectors, add a custom connector, and paste the URL above. Claude will walk you through the Mora sign-in and consent screens.ChatGPT
In ChatGPT’s settings, open Connectors and add the URL above as a custom MCP connector. Availability depends on your ChatGPT plan.Any other client
Mora implements the standard MCP authorization spec (OAuth 2.1 with PKCE and dynamic client registration) over Streamable HTTP. Any compliant client works with just the URL. For clients that cannot sign in through a browser, use an API key instead.Verify the connection
Ask your agent something that requires Mora, for example:List the datasources in my Mora organization.It should call
list_datasources and return the datasources you see under Settings → Datasources. From there, try:
Search the Mora catalog for tables about orders, then run a query counting orders per month.
Switching organizations
Access is granted per organization. To move an agent from one organization to another:- Disconnect or remove the Mora server in your MCP client (this discards the stored token).
- Add it again and start the sign-in.
- On the authorization screen, use the organization switcher to select the organization you want, then click Authorize.
Troubleshooting
The client asks for a client ID and secret
The client asks for a client ID and secret
Leave them blank. Mora registers clients automatically. If the client requires values, it may not support dynamic registration, use an API key instead.
The agent is looking at the wrong organization
The agent is looking at the wrong organization
The token is bound to the organization chosen at sign-in. Reconnect and pick the right one on the authorization screen. See Switching organizations.
A query comes back as 'still running'
A query comes back as 'still running'
The query exceeded the 60-second response budget while the datasource stayed healthy. It keeps running in the background, but the agent won’t get rows inline. Narrow it with filters, a smaller date range, or a smaller
LIMIT.Nothing shows up in the client at all
Nothing shows up in the client at all
Confirm the URL ends in
/api/mcp, that the entry uses url (not a local command), and restart the client. Some clients only re-read their config on startup.