@fyow/copilot-everything 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/copilot/mcp-config.json +65 -4
- package/package.json +1 -1
- package/src/commands/init.js +5 -3
package/copilot/mcp-config.json
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"servers": {
|
|
3
|
+
"context7": {
|
|
4
|
+
"command": "npx",
|
|
5
|
+
"args": ["-y", "@upstash/context7-mcp@latest"],
|
|
6
|
+
"env": {
|
|
7
|
+
"CONTEXT7_API_KEY": "${CONTEXT7_API_KEY}"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"playwright": {
|
|
11
|
+
"command": "npx",
|
|
12
|
+
"args": ["-y", "@playwright/mcp@latest"]
|
|
13
|
+
},
|
|
14
|
+
"sequential-thinking": {
|
|
15
|
+
"command": "npx",
|
|
16
|
+
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
|
|
17
|
+
},
|
|
18
|
+
"chrome-devtools": {
|
|
19
|
+
"command": "npx",
|
|
20
|
+
"args": ["-y", "chrome-devtools-mcp"]
|
|
21
|
+
},
|
|
22
|
+
"next-devtools": {
|
|
23
|
+
"command": "npx",
|
|
24
|
+
"args": ["-y", "next-devtools-mcp@latest"]
|
|
25
|
+
},
|
|
3
26
|
"github": {
|
|
4
27
|
"command": "npx",
|
|
5
28
|
"args": ["-y", "@modelcontextprotocol/server-github"],
|
|
@@ -11,10 +34,6 @@
|
|
|
11
34
|
"command": "npx",
|
|
12
35
|
"args": ["-y", "@modelcontextprotocol/server-memory"]
|
|
13
36
|
},
|
|
14
|
-
"sequential-thinking": {
|
|
15
|
-
"command": "npx",
|
|
16
|
-
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
|
|
17
|
-
},
|
|
18
37
|
"firecrawl": {
|
|
19
38
|
"command": "npx",
|
|
20
39
|
"args": ["-y", "firecrawl-mcp"],
|
|
@@ -37,6 +56,48 @@
|
|
|
37
56
|
"cloudflare-docs": {
|
|
38
57
|
"type": "http",
|
|
39
58
|
"url": "https://docs.mcp.cloudflare.com/mcp"
|
|
59
|
+
},
|
|
60
|
+
"filesystem": {
|
|
61
|
+
"command": "npx",
|
|
62
|
+
"args": ["-y", "@modelcontextprotocol/server-filesystem", "${WORKSPACE_PATH}"]
|
|
63
|
+
},
|
|
64
|
+
"git": {
|
|
65
|
+
"command": "uvx",
|
|
66
|
+
"args": ["mcp-server-git"]
|
|
67
|
+
},
|
|
68
|
+
"postgres": {
|
|
69
|
+
"command": "npx",
|
|
70
|
+
"args": ["-y", "@modelcontextprotocol/server-postgres", "${POSTGRES_CONNECTION_STRING}"]
|
|
71
|
+
},
|
|
72
|
+
"sqlite": {
|
|
73
|
+
"command": "npx",
|
|
74
|
+
"args": ["-y", "@modelcontextprotocol/server-sqlite", "--db-path", "${SQLITE_DB_PATH}"]
|
|
75
|
+
},
|
|
76
|
+
"redis": {
|
|
77
|
+
"command": "npx",
|
|
78
|
+
"args": ["-y", "@modelcontextprotocol/server-redis"],
|
|
79
|
+
"env": {
|
|
80
|
+
"REDIS_URL": "${REDIS_URL}"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"puppeteer": {
|
|
84
|
+
"command": "npx",
|
|
85
|
+
"args": ["-y", "@modelcontextprotocol/server-puppeteer"]
|
|
86
|
+
},
|
|
87
|
+
"fetch": {
|
|
88
|
+
"command": "npx",
|
|
89
|
+
"args": ["-y", "@modelcontextprotocol/server-fetch"]
|
|
90
|
+
},
|
|
91
|
+
"docker": {
|
|
92
|
+
"command": "npx",
|
|
93
|
+
"args": ["-y", "mcp-server-docker"]
|
|
94
|
+
},
|
|
95
|
+
"sentry": {
|
|
96
|
+
"command": "npx",
|
|
97
|
+
"args": ["-y", "@modelcontextprotocol/server-sentry"],
|
|
98
|
+
"env": {
|
|
99
|
+
"SENTRY_AUTH_TOKEN": "${SENTRY_AUTH_TOKEN}"
|
|
100
|
+
}
|
|
40
101
|
}
|
|
41
102
|
}
|
|
42
103
|
}
|
package/package.json
CHANGED
package/src/commands/init.js
CHANGED
|
@@ -199,17 +199,19 @@ function init(flags = {}) {
|
|
|
199
199
|
totalErrors.push(...agentsMdResult.errors);
|
|
200
200
|
|
|
201
201
|
// MCP config to ~/.copilot/
|
|
202
|
+
// NEVER overwrite MCP config even with --force, as it contains user's API keys and custom configs
|
|
202
203
|
const homeDir = process.env.HOME || process.env.USERPROFILE;
|
|
203
204
|
const mcpConfigSrc = path.join(PACKAGE_ROOT, 'copilot', 'mcp-config.json');
|
|
204
205
|
const mcpConfigDest = path.join(homeDir, '.copilot', 'mcp-config.json');
|
|
205
206
|
|
|
206
207
|
if (fs.existsSync(mcpConfigSrc)) {
|
|
207
|
-
if (fs.existsSync(mcpConfigDest)
|
|
208
|
+
if (fs.existsSync(mcpConfigDest)) {
|
|
208
209
|
console.log(` ⚠️ MCP config: skipped (${mcpConfigDest} already exists)`);
|
|
209
|
-
console.log(` 💡
|
|
210
|
+
console.log(` 💡 Your existing MCP configuration is preserved`);
|
|
211
|
+
console.log(` 💡 Template available at: ${mcpConfigSrc}`);
|
|
210
212
|
totalSkipped += 1;
|
|
211
213
|
} else {
|
|
212
|
-
const mcpResult = copyFile(mcpConfigSrc, mcpConfigDest,
|
|
214
|
+
const mcpResult = copyFile(mcpConfigSrc, mcpConfigDest, { force: false });
|
|
213
215
|
if (mcpResult.copied > 0) {
|
|
214
216
|
console.log(` ✅ MCP config: installed to ${mcpConfigDest}`);
|
|
215
217
|
}
|