Connect Cursor
Add the onefold MCP server to Cursor with an agent credential.
Cursor connects with an agent credential. It cannot sign in to this server.
| Supports sign-in | No. Cursor signs in with dynamic client registration, which onefold does not offer, or a client ID you register in advance; it does not use Client ID Metadata Documents |
| Server address | https://onefold.eitozx.com/api/mcp |
| Configuration | .cursor/mcp.json in a project, or ~/.cursor/mcp.json for every project |
A configuration with only the address fails with:
Incompatible auth server: does not support dynamic client registrationCreate a credential
On the Agents tab of the application or the organization Cursor will work on, choose Create agent, pick the role it acts as and what it may do, and copy the credential it shows. It is shown once. See Agent credentials.
Add the server
{
"mcpServers": {
"onefold": {
"url": "https://onefold.eitozx.com/api/mcp",
"headers": {
"Authorization": "Bearer ${env:ONEFOLD_MCP_CREDENTIAL}"
}
}
}
}${env:ONEFOLD_MCP_CREDENTIAL} reads the credential from an environment variable, which keeps
it out of the file. Set that variable before starting Cursor.
You can write the credential into the file in place of ${env:…}. If you do, use
~/.cursor/mcp.json, not a file inside a repository.
Verify
Open Cursor Settings and go to the MCP section. onefold shows as connected, with its tools
listed. If it sits under a "needs attention" heading, switch it off and on again.
Then open the agent chat and ask it to list your onefold applications.
Connection errors are written to the MCP Logs channel of the Output panel.
Disconnect and reconnect
Choose Revoke agent on the agent's card on the Agents tab. The next
tool call in Cursor fails with not_authenticated.
To connect again, create a new agent, or add a credential to one you kept, and replace the
credential. To remove the server from
Cursor, delete its entry from mcp.json.
Limitations
- No sign-in, so there is no consent screen: creating the credential is the approval.
- Sign-in with a static OAuth client is unverified. Cursor's documentation describes an
authobject inmcp.jsonholding a client ID you supply. That path is not checked with onefold, so this page does not give a configuration for it.
Status: verified with Cursor 3.22.12, agent credential only
An agent credential written into the header: connection, the tool list, a tool call, and refusal
after the agent is revoked. The ${env:…} form and the documentation server are not checked.
Configuration checked against Cursor's MCP documentation
on 2026-11-25.