Skip to content

Commit c4951ec

Browse files
Merge pull request #141 from WarehouseFinds/copilot/add-mcp-integration-bootstrapping
Add out-of-box MCP integration for GitHub and Docker
2 parents 457889b + 6e92ac6 commit c4951ec

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
},
1818
"ghcr.io/devcontainers/features/github-cli:1": {
1919
"version": "latest"
20+
},
21+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
22+
"version": "latest"
2023
}
2124
},
2225

.vscode/mcp.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
// MCP server configurations for GitHub Copilot
3+
// https://code.visualstudio.com/docs/copilot/chat/mcp-servers
4+
"servers": {
5+
// GitHub MCP server - provides tools for interacting with GitHub
6+
// Requires: GitHub CLI (gh) authenticated via 'gh auth login'
7+
// Features: issues, pull requests, repositories, code search, and more
8+
"github": {
9+
"type": "stdio",
10+
"command": "gh",
11+
"args": [
12+
"mcp",
13+
"serve"
14+
]
15+
},
16+
// Docker MCP server - provides tools for interacting with Docker
17+
// Requires: Docker or Rancher Desktop running on the host
18+
// Features: container management, image operations, compose, and more
19+
"docker": {
20+
"type": "stdio",
21+
"command": "docker",
22+
"args": [
23+
"run",
24+
"--rm",
25+
"-i",
26+
"--mount",
27+
"type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock",
28+
"mcp/docker"
29+
]
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)