Skip to content

Connecting Cursor

Last updated 2026-03-10

What You Need

Before connecting Cursor, make sure you have:

  • A CodeContext account with at least one standard or API spec.
  • An API key from CodeContext (you can create one in Settings).
  • Cursor installed on your machine (version 0.40 or later recommended).

Configure MCP in Cursor

Cursor supports MCP servers natively. To add CodeContext as an MCP server:

  1. Open Cursor MCP settings — In Cursor, go to Settings > Tools & Integrations and find the MCP Tools section. Click "Add new MCP server".
  2. Configure the server — Enter a name like "CodeContext" and paste your MCP server URL. Add your API key to the headers configuration.
  3. Verify the connection — Check that the connection status shows as connected. Your standards are now available to Cursor's AI features.

Verify the Connection

After configuring the MCP server, you can verify it is working by opening a new chat in Cursor and asking something like "What coding standards do we have?" If the connection is working, Cursor will query your CodeContext knowledge base and show relevant standards.

Using Standards in Cursor

Once connected, Cursor will automatically reference your standards when generating code, reviewing pull requests, or answering questions about your codebase. You do not need to do anything special — the AI will pull in relevant standards based on what you are working on.

For best results, make sure your standards are well-tagged and organized so the AI can find the most relevant ones for each context.

Still need help?

Our support team is happy to help with any questions you may have.

support@codecontext.app