Connect an MCP client

One remote URL and a browser sign-in. No API key, no local server to run.

Connect an agent

JomForm speaks the Model Context Protocol. Point any MCP client at https://mcp.jomform.com/mcp and it discovers the tools on its own.

Note: The connector authenticates with OAuth 2.1 using an authorization code and PKCE. There are no API keys to copy or rotate. Scopes are on OAuth & tokens.

Claude

  1. Open Settings → Connectors and choose Add custom connector.
  2. Paste https://mcp.jomform.com/mcp as the remote MCP server URL.
  3. Claude reads the OAuth metadata itself, so the detected client settings are fine.
  4. Choose Sign in now and approve the JomForm consent screen. The tools then appear in a conversation.

Cursor

  1. Open Settings → Tools & MCP → New MCP Server.
  2. Add https://mcp.jomform.com/mcp as a remote URL, or edit ~/.cursor/mcp.json.
  3. Sign in when Cursor opens the browser; the client stores the token for later calls.
{
  "mcpServers": {
    "jomform": { "url": "https://mcp.jomform.com/mcp" }
  }
}
Cursor's mcp.json entry. The OAuth sign-in opens on the first call.

No browser at all

A headless harness can skip the browser. JomForm supports the device authorization grant, RFC 8628.

The harness asks for a code, JomForm emails it to your account, and you approve it from that email.

Without the email, type the code at Profile → MCP agents — kx9mx5bs and KX9M-X5BS both work.

See OAuth & tokens for the endpoints, the polling rules and the scope ladder.

No browser? Use the CLI

Some MCP clients only implement the browser flow. On a machine with no display they cannot finish. The JomForm CLI runs the device grant in your terminal instead.

  1. Build it once into a directory on your PATH: go build -o "$HOME/.local/bin/jomform" ./cmd/jomform.
  2. Run jomform mcp login --headless. Add --out for a client other than Cursor, and --email to mail the code to a specific address.
  3. Open the printed link on any device — a phone is fine — sign in and press Approve.
  4. The command finishes by itself, stores the grant 0600 and prints the config path.
Careful: Platform-admin accounts cannot use the device grant. No code arrives, and Approve answers 403 ("not valid or has expired"). Use the browser flow in Connect an agent above instead.
$ jomform mcp login --headless
https://jomform.com/profile?tab=mcp&user_code=BCDF-GHJK
BCDF-GHJK
open this link and press Approve — you have 10 minutes
/home/you/.cursor/mcp.json
The link already carries the code; the code is repeated on its own line.

The entry it writes launches the CLI, which holds the token and renews it from ~/.config/jomform/token.json. Nothing secret goes into the config:

{
  "mcpServers": {
    "jomform": {
      "command": "/home/you/.local/bin/jomform",
      "args": ["mcp", "proxy", "--mcp-url", "https://mcp.jomform.com/mcp"]
    }
  }
}
Only the jomform entry is written, and it carries no token.
Note: Most clients read their config file only at startup. Restart the client after the command finishes, then call a tool to check the connection.

Where the CLI writes

The default is Cursor's file. Claude Desktop keeps its own, so pass --out with the path for your client:

  • ~/.cursor/mcp.json — the default.
  • ~/Library/Application Support/Claude/claude_desktop_config.json — Claude Desktop on macOS.
  • ~/.config/Claude/claude_desktop_config.json — Claude Desktop on Linux.

Any other path needs --force, so a typo cannot rewrite an unrelated JSON file.

The entry is merged: every other server in the file keeps its bytes, and the file is written 0600.

Check the grant, and sign out

  • jomform mcp status prints the expiry, the scopes and the account. When the access token has passed, it renews it first.
  • jomform mcp status --out also says whether the harness file carries the entry.
  • jomform mcp logout revokes the refresh token on the server, removes the mcp.json entry and deletes the local copy.
Note: The proxy renews the access token a minute before it expires, so a tool call does not meet a 401. The grant lasts 30 days, then sign in again.
Careful: Moving or deleting the binary named in the entry breaks the connection. Re-run the login command after an upgrade that changes its path.