Skip to content

Commit e359743

Browse files
tmakdyoshikawadyoshikawa-claw
authored
Add Cursor MCP support for global mode (#1273)
* feat: Add Cursor MCP support for global mode * fix: add descriptive error handling for JSON parsing in CursorMcp * ✅ PR #1273 mergeable, med/low issues only Co-authored-by: dyoshikawa-claw <dyoshikawa-claw@users.noreply.github.com> --------- Co-authored-by: dyoshikawa <dyoshikawa1993@gmail.com> Co-authored-by: dyoshikawa-claw <dyoshikawa-claw@users.noreply.github.com>
1 parent d13787b commit e359743

8 files changed

Lines changed: 368 additions & 66 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ See [Quick Start guide](https://dyoshikawa.github.io/rulesync/getting-started/qu
7171
| Gemini CLI | geminicli | ✅ 🌏 || ✅ 🌏 | ✅ 🌏 | 🎮 | ✅ 🌏 | ✅ 🌏 |
7272
| Goose | goose | ✅ 🌏 || | | | | |
7373
| GitHub Copilot | copilot | ✅ 🌏 | ||||||
74-
| Cursor | cursor ||| | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 ||
74+
| Cursor | cursor ||| ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 ||
7575
| Factory Droid | factorydroid | ✅ 🌏 | | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 |
7676
| OpenCode | opencode | ✅ 🌏 | | ✅ 🌏 🔧 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 |
7777
| Cline | cline |||| ✅ 🌏 | | ✅ 🌏 | |

docs/reference/supported-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Rulesync supports both **generation** and **import** for All of the major AI cod
1111
| Gemini CLI | geminicli | ✅ 🌏 || ✅ 🌏 | ✅ 🌏 | 🎮 | ✅ 🌏 | ✅ 🌏 |
1212
| GitHub Copilot | copilot | ✅ 🌏 | ||||||
1313
| Goose | goose | ✅ 🌏 || | | | | |
14-
| Cursor | cursor ||| | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 ||
14+
| Cursor | cursor ||| ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 ||
1515
| Factory Droid | factorydroid | ✅ 🌏 | | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 |
1616
| OpenCode | opencode | ✅ 🌏 | | ✅ 🌏 🔧 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 |
1717
| Cline | cline |||| ✅ 🌏 | | ✅ 🌏 | |

skills/rulesync/supported-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Rulesync supports both **generation** and **import** for All of the major AI cod
1111
| Gemini CLI | geminicli | ✅ 🌏 || ✅ 🌏 | ✅ 🌏 | 🎮 | ✅ 🌏 | ✅ 🌏 |
1212
| GitHub Copilot | copilot | ✅ 🌏 | ||||||
1313
| Goose | goose | ✅ 🌏 || | | | | |
14-
| Cursor | cursor ||| | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 ||
14+
| Cursor | cursor ||| ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 ||
1515
| Factory Droid | factorydroid | ✅ 🌏 | | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 |
1616
| OpenCode | opencode | ✅ 🌏 | | ✅ 🌏 🔧 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 |
1717
| Cline | cline |||| ✅ 🌏 | | ✅ 🌏 | |

src/e2e/e2e-mcp.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ describe("E2E: mcp (global mode)", () => {
9494

9595
it.each([
9696
{ target: "claudecode", outputPath: join(".claude", ".claude.json") },
97+
{ target: "cursor", outputPath: join(".cursor", "mcp.json") },
9798
{ target: "geminicli", outputPath: join(".gemini", "settings.json") },
9899
{ target: "opencode", outputPath: join(".config", "opencode", "opencode.jsonc") },
99100
])("should generate $target mcp in home directory", async ({ target, outputPath }) => {

0 commit comments

Comments
 (0)