-
Notifications
You must be signed in to change notification settings - Fork 2
Implement automatic VS Code MCP installation #2
Copy link
Copy link
Open
Description
Implement automatic VS Code installation functionality for the MagicUI CLI, similar to how other tools like Cursor and Windsurf handle their installations. This should provide a seamless setup experience for users who want to use MagicUI with VS Code.
- Create functionality to automatically configure VS Code's MCP (Model Context Protocol) settings
- Target file:
~/Library/Application Support/Code/User/mcp.json(macOS) - Handle cross-platform paths for Windows and Linux:
- Windows:
%APPDATA%\Code\User\mcp.json - Linux:
~/.config/Code/User/mcp.json
- Windows:
2. Configuration Format
The MCP configuration should follow this JSON structure:
{
"servers": {
"magicui": {
"command": "npx",
"args": [
"-y",
"@magicuidesign/mcp@latest"
]
}
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels