Connect Cursor
Add Orcha to Cursor as a remote MCP server over OAuth. Then Cursor can search and cite your workspace.
Prerequisites
- You must have an Orcha account. Refer to the Quickstart.
- You must have a Cursor version that supports remote MCP servers over Streamable HTTP.
You do not need an API token. Cursor connects over OAuth.
Add the server
Cursor connects to https://app.tryorcha.com/mcp as a remote MCP server.
These steps follow the Cursor documentation,
Model Context Protocol (MCP).
- Open the MCP configuration file. Use one of these files:
~/.cursor/mcp.jsongives the server to all of your projects..cursor/mcp.jsonin the project folder gives the server to one project.
- Add the Orcha server with only its URL. Do not add a header.
- Save the file.
- Open Cursor Settings > Tools & MCP. The
orchaserver shows that it needs a sign-in. - Click the sign-in control for
orcha. Cursor opens the Orcha sign-in page in your browser. - Sign in to Orcha.
Orcha registers the Cursor client through dynamic client registration.
Thus, you do not copy a client ID or a secret. Do not add an auth object
to the entry.
On the consent screen:
- Select the workspace.
- Select the permissions for the connection:
read,write, anddelete. For questions and citations,readis sufficient. - Approve the connection.
When the server connects, Tools & MCP shows the Orcha tools. To test
the connection, ask "What is in my Orcha workspace?" Cursor must call
get_workspace_overview and describe your content.
Do not add a slash at the end of the URL. Use /mcp, not /mcp/.
Connect with an API token
Use this method only if you cannot use OAuth. For example, you must use a pinned project configuration that runs without a sign-in, your Cursor version does not support OAuth for remote servers, or you must use a token with a fixed folder scope.
- Open the API Tokens page in Orcha. It is in the account menu at the bottom left of the sidebar.
- Create a token with the permissions that you want to give Cursor. For
retrieval,
readis sufficient. Refer to Tokens and scoping. - Copy the token into an environment variable, for example
ORCHA_TOKEN. Orcha shows the token only one time. - Add the token to the server entry as a header:
If you commit .cursor/mcp.json, do not put the token in the file. Other
persons can read the token in the repository. Use an environment variable
that each team member sets locally, as in the example above.
Usage
- "Search my Orcha workspace for the API design decisions"
- "Check my api-spec.json in Orcha and generate TypeScript types"
- "Update my config.json in Orcha with the new settings"