Cursor Guide
Connect Cursor once. Control repository access in Secure Git Bridge.
Install the Secure Git Bridge MCP connector in Cursor once, then authorize each intended Cursor session to one approved repository with a fresh one-time code and local Confirm.
1. Install Secure Git Bridge once
Add the Git repositories you want Secure Git Bridge to protect. Each repository keeps its own isolated helper, rotating broker capability, protected-file policy, audit chain, and patch proposal store.
2. Connect Cursor once
Open Cursor in Secure Git Bridge and choose Connect Cursor. Secure Git Bridge opens Cursor's Add MCP Server prompt with the provider-wide Secure Git Bridge connector. Approve it once. Secure Git Bridge remains Setup pending until Cursor actually connects and exposes the Secure Git Bridge MCP tools.
The provider connector contains no repository path, repository ID, or repository broker credential. Provider setup and repository authority are separate.
3. Authorize the intended Cursor session
Select the approved repository in Secure Git Bridge and choose Copy One-Time Connection Message. Paste that exact message into the intended Cursor session. The session calls activate_session with the short-lived code, but the code alone grants no repository access. Verify the matching session code in the Secure Git Bridge desktop app and click Confirm. Only then is that exact session pinned to the selected repository. Cursor cannot enumerate, choose, or switch repositories through its connector.
To use another repository, revoke or unbind the current session, select the next repository, and authorize the intended session with a fresh one-time code plus local Confirm. The provider connector stays installed; no reinstall is required.
4. Work through the Secure Git Bridge tools
- Read only policy-permitted repository content.
- Protected files and path escapes remain blocked.
- Git status, log, and diff remain repository-scoped.
- The AI may create patch proposals for local review.
- There is no Secure Git Bridge shell, repository picker, approval, rejection, or Apply tool for the AI.
Apply remains human-only inside Secure Git Bridge.
Cursor's normal editor and terminal capabilities are outside Secure Git Bridge's boundary. Repository operations intended to be protected by SSGB must go through the Secure Git Bridge MCP tools.
Disconnect without reinstalling
Unbind revokes Cursor's confirmed session route while leaving the provider connector configured. A later AI session requires a fresh one-time code and local Confirm. Disconnect This Repository revokes every AI route to that repository. Disconnect All AI Access revokes all repository routes. Provider connectors can remain installed and be used again without reinstalling.
What “Connected,” “Bound,” and “Active” mean
Setup pending means setup was handed off but the provider has not yet verified the Secure Git Bridge MCP tools. Connector ready means the connector was actually verified and still has no repository authority. Bound means the local developer confirmed one exact AI session for one repository. Active is shown only while that confirmed session has live provider MCP traffic.
Provider account and data flow
Your Cursor account, plan, usage, retention, and provider-side privacy terms remain with the provider. Repository content you intentionally authorize the AI to inspect can be transmitted to that provider through the normal AI interaction. Secure Git Bridge controls the local repository boundary and records access; it does not claim provider-side data handling.
Next steps
Download Secure Git Bridge Open the quick start
For the trust boundary and release model, see Security and How It Works.