Skip to content

Commit 6e92ac6

Browse files
feat: add out-of-box MCP integration for GitHub and Docker +semver: feature
Agent-Logs-Url: https://github.com/WarehouseFinds/PSScriptModule/sessions/151062ae-f02f-4034-a059-b577096ea794 Co-authored-by: marko-stanojevic <18008492+marko-stanojevic@users.noreply.github.com>
1 parent 9cde038 commit 6e92ac6

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)