Skip to content

Commit f465397

Browse files
authored
fix mcp setup for cursor target (#1443)
1 parent 2ead202 commit f465397

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pkg/mcp/setup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ var claudeCodeConfig = ClientInfo{
128128
}
129129

130130
var cursorConfig = ClientInfo{
131-
configFile: ".cursor/settings.json",
131+
configFile: ".cursor/mcp.json",
132132
useHomeDir: true,
133133
}
134134

src/pkg/mcp/setup_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func TestGetClientConfigPath(t *testing.T) {
133133
{
134134
name: "cursor",
135135
client: MCPClientCursor,
136-
expectedPath: filepath.Join(homeDir, ".cursor", "settings.json"),
136+
expectedPath: filepath.Join(homeDir, ".cursor", "mcp.json"),
137137
},
138138

139139
// Kiro tests - Darwin

0 commit comments

Comments
 (0)