MCP quickstart

Connect an MCP client to onefold, sign in, call a tool, and disconnect.

This walks through one complete connection with Claude Code. The steps are the same in every client that supports sign-in; only the first command differs. Pick your client at the end.

You need a developer account on onefold and at least one application, so there is something to look at.

Add the server

There is nothing to register first. Give the client the server's address:

claude mcp add --transport http onefold https://onefold.eitozx.com/api/mcp

Use the address exactly as written, with no trailing slash.

Sign in

claude mcp login onefold

Your browser opens on the onefold sign-in page. Sign in with your developer account.

Approve the request

The consent screen names the client and lists what it is asking for:

  • Look at your applications and their settings, as far as you allow
  • Change your applications and their settings, as far as you allow

Below them, one line says what the client will be able to do and where, such as Read and write, on every application. Choose Change to narrow it to Read, or to the applications you pick. See What you approve.

Choose Authorize. The browser hands the result back to the client, which prints Authenticated with "onefold".

Check the connection

claude mcp get onefold

Status: ✔ Connected means the server accepted the client.

Call a tool

Start Claude Code and ask:

List my onefold applications.

Your AI agent calls list_applications and answers with what it found. From here it can do anything on the tools list that your role allows.

See it in the portal

Open the Agents tab of an application the client reaches. The client is listed under Connected by members as Connected by sign-in, with what it was granted. It is listed as soon as you approve it.

Disconnect

Choose Disconnect on that card. The client's access and refresh tokens stop working at once. To connect it again, repeat the sign-in step and approve it again.

To remove the server from the client as well:

claude mcp remove onefold

Your client

ClientHow it connectsGuide
Claude Codesign inConnect Claude Code
Claude (web and desktop)sign inConnect Claude
Codexsign inConnect Codex
VS Codesign inConnect VS Code
Cursoragent credentialConnect Cursor

Add the documentation server too

It needs no sign-in, and it lets the agent read this documentation while it works. See The documentation server.

On this page