Skip to main content

Cursor AI

Set up Cursor for your project

Cursor is one of the most popular AI-powered code editors, but it generates better code when it understands your project. Without a .cursorrules file and MCP server configs, Cursor falls back to generic suggestions. Caliber generates both automatically by scanning your codebase.

What Cursor needs to work well

Cursor reads two key configuration files:

Manual Cursor setup vs Caliber

Setting up Cursor manually means writing a .cursorrules file from scratch — documenting every convention, pattern, and preference by hand. Most developers either skip it entirely or write a few lines that barely scratch the surface. MCP configuration is even more tedious: finding the right servers, getting the JSON format correct, and knowing which tools are relevant to your stack.

Caliber eliminates this entirely. It analyzes your actual codebase — your file structure, dependencies, naming conventions, test patterns, and import style — and generates a comprehensive .cursorrules file that reflects how your team actually writes code.

Set up Cursor with Caliber

  1. 1Install Caliber — run npm install -g @rely-ai/caliber
  2. 2Run init — navigate to your project and run caliber init. Caliber detects your framework, language, testing setup, and code patterns
  3. 3Review output — Caliber generates .cursorrules with project-specific conventions and .cursor/mcp.json with recommended MCP servers
  4. 4Keep it fresh — run caliber refresh to update .cursorrules as your project evolves

$ npm install -g @rely-ai/caliber

$ cd your-project

$ caliber init

# .cursorrules and .cursor/mcp.json generated

What Caliber detects for Cursor

Caliber generates configs for every major AI tool from the same scan. Also set up Claude Code or configure all your AI tools at once.

Frequently asked questions

How do I configure Cursor for my project?

Install Caliber with 'npm install -g @rely-ai/caliber', navigate to your project, and run 'caliber init'. Caliber scans your codebase and generates a .cursorrules file with your project's conventions plus .cursor/mcp.json with MCP server configurations — both in Cursor's expected format.

What is a .cursorrules file?

A .cursorrules file provides project-specific instructions to Cursor's AI assistant. It contains your coding conventions, preferred libraries, architecture patterns, import rules, and what to avoid. Cursor reads this file automatically and follows its instructions when generating code.

Does Cursor support MCP servers?

Yes. Cursor supports MCP (Model Context Protocol) servers configured in .cursor/mcp.json. MCP servers extend Cursor with external capabilities like database access, API documentation, and deployment tools. Caliber discovers relevant MCP servers for your stack and writes the config in Cursor's format.

Set up Cursor for your project in 30 seconds.

Get Started