Skip to content

Commit 2bcccd9

Browse files
committed
Merge commit '6207dbca7d586e90545013241143f3a4e628a7fe'
2 parents d21f172 + 6207dbc commit 2bcccd9

4 files changed

Lines changed: 49 additions & 6 deletions

File tree

INDEX.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ These consolidated files group related configurations for single-fetch efficienc
4040
@github https://raw.githubusercontent.com/dantman/stack/refs/heads/main/INDEX.md
4141
```
4242

43-
*Generated: Fri Jun 13 09:48:22 PDT 2025*
43+
*Generated: Sun Jul 27 00:42:25 UTC 2025*
4444
*Repository: https://github.com/dantman/stack*

consolidated/tooling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,5 +387,5 @@ npm run format
387387

388388
---
389389

390-
*Consolidated from multiple source files on Fri Jun 13 09:48:22 PDT 2025*
390+
*Consolidated from multiple source files on Sun Jul 27 00:42:25 UTC 2025*
391391
*Source files: tooling/prettier/setup.md tooling/dependabot.md tooling/package-scripts.md*

consolidated/vscode.md

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,14 +272,14 @@ Create `.vscode/mcp.json` in your project root:
272272
- No Docker or PAT required for most users
273273
- Simplifies setup and works out-of-the-box with Copilot-enabled accounts
274274

275-
## Git MCP Server
275+
## Git MCP Server (Local)
276276

277277
For local Git repository integration:
278278

279279
```json
280280
{
281281
"servers": {
282-
"git-mcp-server": {
282+
"git": {
283283
"command": "npx",
284284
"args": [
285285
"-y",
@@ -295,6 +295,49 @@ For local Git repository integration:
295295
- Node.js and npm installed
296296
- Git repository initialized
297297

298+
## Git MCP Server in Devcontainers (Recommended)
299+
300+
> **Note:** When using a devcontainer, npx-based MCP servers are often broken. Instead, run the Git MCP server as a background task and connect to it via HTTP.
301+
302+
**Add this task to your `.vscode/tasks.json`:**
303+
304+
```json
305+
// @note npx based MCP servers are broken in devcontainers so we run them as tasks
306+
{
307+
"type": "process",
308+
"label": "mcp-server: git",
309+
"command": "npx",
310+
"args": [
311+
"-y",
312+
"@cyanheads/git-mcp-server"
313+
],
314+
"options": {
315+
"env": {
316+
"MCP_TRANSPORT_TYPE": "http"
317+
}
318+
},
319+
"problemMatcher": [],
320+
"runOptions": {
321+
"runOn": "folderOpen"
322+
}
323+
}
324+
```
325+
326+
**And use this in your `.vscode/mcp.json`:**
327+
328+
```json
329+
{
330+
"servers": {
331+
"git": {
332+
"url": "http://localhost:3010/mcp/"
333+
}
334+
}
335+
}
336+
```
337+
338+
- This approach is only needed when a devcontainer setup is present.
339+
- The task will start the MCP server in HTTP mode, and the client connects to it via `localhost:3010`.
340+
298341
## Atlassian Jira MCP Server
299342

300343
For Jira issue tracking integration (use only if project uses Jira):
@@ -375,5 +418,5 @@ These extensions are recommended for specific workflows or environments:
375418

376419
---
377420

378-
*Consolidated from multiple source files on Fri Jun 13 09:48:22 PDT 2025*
421+
*Consolidated from multiple source files on Sun Jul 27 00:42:25 UTC 2025*
379422
*Source files: tooling/vscode/settings.md tooling/vscode/tasks.md tooling/vscode/mcp-servers.md tooling/vscode/extensions.md*

consolidated/workspace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ You are setting up a new project workspace. Your job is to configure the workspa
5757

5858
---
5959

60-
*Consolidated from multiple source files on Fri Jun 13 09:48:22 PDT 2025*
60+
*Consolidated from multiple source files on Sun Jul 27 00:42:25 UTC 2025*
6161
*Source files: tooling/WorkspaceSetup.prompt.md*

0 commit comments

Comments
 (0)