component-patterns — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited component-patterns (Rules) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A local MCP server that gives Claude Code (and any MCP-compatible AI tool) native understanding of Cursor's context ecosystem — rules, agents, and skills.
Most teams aren't all-in on one AI tool. Some developers prefer Cursor, others use Claude Code, and some switch between both depending on the task. But Cursor's context system — rules, agents, and skills — only works inside Cursor. Claude Code ignores .cursor/ entirely and reads only CLAUDE.md.
That leaves teams with a choice: maintain parallel context systems that drift apart, or pick one tool and lose the other's strengths. Cursor Bridge eliminates this by making Cursor's context files consumable by any MCP-compatible AI tool. Write your conventions once in .cursor/rules/, define your agents in .cursor/agents/, package your skills in .cursor/skills/ — and every developer on the team gets the same context regardless of which tool they use.
Cursor Bridge reads .cursor/rules/, .cursor/agents/, and .cursor/skills/, applies Cursor's activation logic (glob matching, always-apply, description-based discovery), and serves the right context to any AI tool on demand.
The fastest way to get running — no install needed:
{
"mcpServers": {
"cursor-bridge": {
"command": "npx",
"args": ["cursor-bridge-mcp"]
}
}
}Add this to .claude/settings.json (Claude Code) or .cursor/mcp.json (Cursor). That's it — npx downloads and runs the latest version automatically.
npm install -g cursor-bridge-mcpThen use "command": "cursor-bridge-mcp" in your MCP config instead of npx.
git clone https://github.com/theamazingwolf/cursor-bridge-mcp.git
cd cursor-bridge-mcp
npm install
npm run build
npm linkThen use "command": "cursor-bridge-mcp" in your MCP config, or point directly to the build:
{
"mcpServers": {
"cursor-bridge": {
"command": "node",
"args": ["/path/to/cursor-bridge-mcp/dist/index.cjs"]
}
}
}get_active_rulesReturns rules that apply to your current files and/or task. This is the primary tool — call it when starting work or switching file context.
{
"files": ["src/components/Button.tsx"],
"task_description": "Refactoring the button component"
}Rules are matched by activation mode:
alwaysApply: true rules are always includedglobs patterns are included when files matchget_context_indexReturns a lightweight menu of all available rules, agents, and skills — descriptions only, no content. Use this to discover what's available.
{
"types": ["rule", "agent", "skill"]
}get_ruleFetches the full content of a specific rule by name.
{ "name": "data-models-relationships" }get_agentFetches the full definition of a Cursor agent — including its system prompt / instructions.
{ "name": "security-auditor" }get_skillFetches the full content of a skill package.
{
"name": "pdf-processing",
"include_supporting_files": true
}get_skill_fileFetches a specific supporting file from within a skill directory.
{
"skill_name": "pdf-processing",
"file_path": "scripts/extract-text.py"
}Add a CLAUDE.md to any project with a .cursor/ directory to tell Claude Code to use the bridge automatically. Here's a template:
## Cursor Bridge MCP
When the cursor-bridge MCP is connected, use it to read Cursor context files
instead of reading .cursor/ files directly.
- On session start, call `get_context_index` to discover available context
- When working on files, call `get_active_rules` with current file paths and/or
a task description to get relevant rules with full content
- Use `get_rule`, `get_agent`, `get_skill` to load specific items by name
- Use `get_skill_file` to load supporting files from skill packages
The bridge applies Cursor's activation logic (glob matching, always-apply,
description relevance) so you get the right context automatically.This way Claude Code knows to call the MCP tools rather than manually reading and interpreting .cursor/ files. The bridge handles the routing logic — which rules apply, which don't — so the AI doesn't have to.
.cursor/rules/)Standard .mdc or RULE.md files with YAML frontmatter:
---
description: "React component conventions"
globs: "src/components/**/*.tsx"
alwaysApply: false
---
# Component Patterns
Your conventions here...Both .mdc files directly in the rules directory and RULE.md files in subdirectories are supported.
.cursor/agents/)Markdown files with agent metadata in frontmatter:
---
description: "Reviews code for security vulnerabilities"
model: inherit
readonly: true
is_background: true
---
You are a security specialist....cursor/skills/)Directory-based packages with a SKILL.md and optional scripts/, references/, assets/ subdirectories:
.cursor/skills/pdf-processing/
├── SKILL.md
├── scripts/extract-text.py
└── references/form-fields.mdOptionally create .cursor-bridge/config.yaml to customize directory paths:
rules_directory: ".cursor/rules"
agents_directory: ".cursor/agents"
skills_directory: ".cursor/skills"All paths are relative to the workspace root. If no config file exists, the defaults above are used.
get_rule, get_active_rules for matched rules). The index itself never loads content.npm install
npm run build
npm test~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.