Add local settings for MCP and update command execution

- Created a new settings.local.json file to enable MCP servers with "shadcn".
- Updated .mcp.json to change the command execution from "npx" to "cmd" for better compatibility.
This commit is contained in:
Roberto
2026-02-26 14:22:02 +01:00
parent 50b7fa784c
commit 3ec501388c
8 changed files with 9 additions and 13 deletions

View File

@@ -1,12 +0,0 @@
{
"mcpServers": {
"playwright": {
"type": "stdio",
"command": "npx",
"args": [
"@playwright/mcp@latest"
],
"env": {}
}
}
}

View File

@@ -0,0 +1,6 @@
{
"enabledMcpjsonServers": [
"shadcn"
],
"enableAllProjectMcpServers": true
}

View File

@@ -1,8 +1,10 @@
{ {
"mcpServers": { "mcpServers": {
"shadcn": { "shadcn": {
"command": "npx", "command": "cmd",
"args": [ "args": [
"/c",
"npx",
"shadcn@latest", "shadcn@latest",
"mcp" "mcp"
] ]