CtxCore Brain · Integration
Connect Cursor to your company’s rules
Developers turn business rules into code: discount limits, approval thresholds, deadlines. With CtxCore Brain connected to Cursor over MCP, the coding agent can check code against the rules your company has approved.
What it looks like in daily work
A developer changes the checkout logic and asks Cursor whether the new discount calculation matches company policy. Cursor looks up the discount rule in Brain, compares it with the code and points out where they differ.
If the code shows that a rule is unclear or outdated, Cursor can flag it to the person responsible. The rule itself only changes once that person approves it.
How to connect
- 01
Set up your company context in Brain and publish the first business rules.
- 02
Add Brain’s MCP address in Cursor’s MCP settings or in mcp.json.
- 03
Sign in with your CtxCore login or use a personal token, then ask Cursor to check code against your rules.
What the AI receives
The business rules and skills that apply today, with the version and approval behind them. Drafts and open proposals stay out.
What you need
Cursor with MCP support, plus a CtxCore login or a personal token from Brain. Cursor and Brain have separate accounts and billing.
How the connection works in Cursor
You add Brain as a remote MCP server in Cursor, either in the settings or in mcp.json, globally for all your projects or in one project’s .cursor folder.
Sign in with your CtxCore login when Cursor asks. Alternatively, use a personal token from Brain, sent as an Authorization header and kept in an environment variable rather than in the file.
By default Cursor asks before it runs an MCP tool. In the approval settings you decide which Brain tools may run without asking.
Good to know before you start
- Never commit a token in a project’s mcp.json. Reference an environment variable instead.
- Cloud agents don’t read your global mcp.json. For them, add Brain through the team settings on cursor.com.
- A personal token from Brain expires after 90 days by default. Then create a new one.
- If the connection fails, the MCP logs in Cursor’s output panel usually show why.
Questions about the connection
Does Brain read our code?
No. Cursor reads your code locally and asks Brain for the rules. Brain only receives the question Cursor sends.
Can I use a token instead of signing in?
Yes. Create a personal token in Brain under Connections and send it as an Authorization header. Brain shows it only once.
Does this work with other coding tools?
Yes. VS Code with GitHub Copilot and your own agents connect to Brain the same way over MCP.
