Skip to main content

Setup

ToolJet MCP connects your AI client to your ToolJet workspace, so your agent can build and modify applications in the instance you already use, whether that's ToolJet Cloud or your own self-hosted domain.

Setting up has two parts: choose how your client authenticates with ToolJet, then follow the guide for your client. Each client guide covers both methods.

Choose an Authentication Method​

ToolJet MCP supports two ways to connect. With either one, the agent works in a single workspace and can't go beyond your own permissions in it.

OAuthPersonal access token (PAT)
Available onToolJet CloudToolJet Cloud and self-hosted
How you authenticateSign in to your workspace in the browser, with password or SSO, and approve accessCreate a token in Profile settings and add it to your client's environment or configuration
Where the MCP server runsHosted by ToolJet, so there's nothing to install or run locallyOn your machine, which needs Node.js 20 or newer
App-builder skillInstalled separately, as the tooljet-app-builder-skills pluginIncluded in the tooljet-app-builder plugin
How long access lasts30 days, or until the client goes unused for 7 days. Then you reconnect from your clientUntil the token expires or you revoke it
Where you revoke accessProfile settings > Connected AI clientsProfile settings > Personal access tokens

Which one should you use?

  • On ToolJet Cloud, use OAuth if your client supports it. There's no token to create or store and no local server to run.
  • On a self-hosted instance, use a personal access token. OAuth isn't available on self-hosted instances.
  • For Microsoft 365 Copilot, use a personal access token. Its setup uses a token on both Cloud and self-hosted.

Select Your AI Client​

Each guide walks you through both methods your client supports.

ClientOAuth (Cloud)Personal access tokenGuide
Claude CodeYesYesSet up ToolJet MCP in Claude Code
CodexYesYesSet up ToolJet MCP in Codex
Cursor, Cline, and other MCP clientsYes, if the client supports remote MCP servers with OAuthYesSet up ToolJet MCP in other MCP clients
Microsoft 365 CopilotNoYesSet up ToolJet MCP in Microsoft 365 Copilot

OAuth Connections​

Available on ToolJet Cloud

OAuth connections are available on ToolJet Cloud only.

What You Approve​

When your client connects with OAuth, ToolJet opens a consent screen in your browser. It shows the client's name, the account you're signed in with, the workspace, and the permissions the client is requesting:

PermissionWhat it allows
AppsCreate and manage apps and their components.
Data sources & databaseAccess data sources, run queries, and manage ToolJet Database.
WorkflowsCreate, manage, and run workflows.
Users & access controlManage workspace users and custom groups.

The client can make changes only within your existing workspace permissions. Approving a permission doesn't give a viewer edit rights or a builder admin rights.

The callback address appears under the Allow access and Cancel buttons. ToolJet doesn't verify the client's name, so continue only if you started the connection and recognize the address.

A connection is bound to the workspace you approved it in. To use the agent in another workspace, connect again with that workspace's server URL.

Manage Connected Clients​

To see the clients you've authorized in the current workspace, go to Profile settings > Connected AI clients. Each entry lists the client's name and the permissions it was granted. Click Disconnect to revoke a client's access. The change applies to the client's next request.

A connection expires after 30 days, or sooner if the client goes unused for 7 days. To keep working, reconnect from your client and approve access again. ToolJet also disconnects clients automatically when:

  • Your password changes, or an administrator ends your sessions.
  • You're removed from or disabled in the workspace, or the workspace is archived.
  • The workspace's login or SSO settings change.

Signing out of ToolJet in your browser doesn't disconnect your AI clients.



Need Help?​