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/mcpUse the address exactly as written, with no trailing slash.
Sign in
claude mcp login onefoldYour 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".
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 onefoldYour client
| Client | How it connects | Guide |
|---|---|---|
| Claude Code | sign in | Connect Claude Code |
| Claude (web and desktop) | sign in | Connect Claude |
| Codex | sign in | Connect Codex |
| VS Code | sign in | Connect VS Code |
| Cursor | agent credential | Connect 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.