mirror of
https://github.com/jimeh/.vscode.d.git
synced 2026-02-19 11:26:39 +00:00
feat(mcp/context7): add context7 MCP server for Cursor and VSCode
This commit is contained in:
8
cursor/mcp.json
Normal file
8
cursor/mcp.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"mcpServers": {
|
||||
"context7": {
|
||||
"command": "mise",
|
||||
"args": ["x", "npm:@upstash/context7-mcp", "--", "context7-mcp"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -275,6 +275,25 @@
|
||||
],
|
||||
//
|
||||
// ===========================================================================
|
||||
// MARK: MCP Servers (VSCode)
|
||||
// ===========================================================================
|
||||
//
|
||||
"mcp": {
|
||||
"servers": {
|
||||
"context7": {
|
||||
"type": "stdio",
|
||||
"command": "mise",
|
||||
"args": [
|
||||
"x",
|
||||
"npm:@upstash/context7-mcp",
|
||||
"--",
|
||||
"context7-mcp"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
//
|
||||
// ===========================================================================
|
||||
// MARK: GitHub
|
||||
// ===========================================================================
|
||||
// Extensions:
|
||||
|
||||
5
siren
5
siren
@@ -169,6 +169,11 @@ do_symlink() {
|
||||
backup_and_link "${SCRIPT_DIR}/${path}" "${config_dir}/${path}"
|
||||
done
|
||||
|
||||
# Conditionally add mcp.json for cursor
|
||||
if [[ "${SETUP_EDITOR}" == "cursor" ]]; then
|
||||
STATIC_SYMLINKS["cursor/mcp.json"]="${HOME}/.cursor/mcp.json"
|
||||
fi
|
||||
|
||||
# Create static symlinks to custom locations
|
||||
for source in "${!STATIC_SYMLINKS[@]}"; do
|
||||
target="${STATIC_SYMLINKS[${source}]}"
|
||||
|
||||
Reference in New Issue
Block a user