Skip to content

Commit 6ac8b85

Browse files
committed
Remove unverified MCP clients (VS Code, Claude Code), keep only verified ones
1 parent b7d9027 commit 6ac8b85

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

cli/bin/postgres-ai.ts

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,17 +1194,15 @@ mcp
11941194
.command("install [client]")
11951195
.description("install MCP server configuration for AI coding tool")
11961196
.action(async (client?: string) => {
1197-
const supportedClients = ["cursor", "claude", "claude-code", "vscode", "windsurf", "codex"];
1197+
const supportedClients = ["cursor", "claude", "windsurf", "codex"];
11981198

11991199
// If no client specified, prompt user to choose
12001200
if (!client) {
12011201
console.log("Available AI coding tools:");
12021202
console.log(" 1. Cursor");
12031203
console.log(" 2. Claude Desktop");
1204-
console.log(" 3. Claude Code");
1205-
console.log(" 4. VS Code (with Cline/Continue)");
1206-
console.log(" 5. Windsurf");
1207-
console.log(" 6. Codex");
1204+
console.log(" 3. Windsurf");
1205+
console.log(" 4. Codex");
12081206
console.log("");
12091207

12101208
const rl = readline.createInterface({
@@ -1213,17 +1211,15 @@ mcp
12131211
});
12141212

12151213
const answer = await new Promise<string>((resolve) => {
1216-
rl.question("Select your AI coding tool (1-6): ", resolve);
1214+
rl.question("Select your AI coding tool (1-4): ", resolve);
12171215
});
12181216
rl.close();
12191217

12201218
const choices: Record<string, string> = {
12211219
"1": "cursor",
12221220
"2": "claude",
1223-
"3": "claude-code",
1224-
"4": "vscode",
1225-
"5": "windsurf",
1226-
"6": "codex"
1221+
"3": "windsurf",
1222+
"4": "codex"
12271223
};
12281224

12291225
client = choices[answer.trim()];
@@ -1266,11 +1262,6 @@ mcp
12661262
configDir = path.dirname(configPath);
12671263
break;
12681264

1269-
case "claude-code":
1270-
configPath = path.join(homeDir, ".claude-code", "mcp.json");
1271-
configDir = path.dirname(configPath);
1272-
break;
1273-
12741265
case "vscode":
12751266
configPath = path.join(homeDir, ".vscode", "mcp.json");
12761267
configDir = path.dirname(configPath);

0 commit comments

Comments
 (0)