You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -463,13 +469,13 @@ The agent container mounts the HOME directory, so this config file is automatica
463
469
```
464
470
465
471
**Key Requirements:**
466
-
- ✅ **`"tools": ["*"]`** - Required field. Use `["*"]` to enable all tools, or list specific tool names
467
-
- ⚠️ Empty array `[]` means NO tools will be available
468
-
- ✅ **`"type": "local"`** - Required to specify local MCP server type
472
+
- ✅ **`"type": "stdio"`** - Uses stdio transport (not Docker)
469
473
- ✅ **`"env"` section** - Environment variables must be declared here with `${VAR}` syntax for interpolation
470
-
- ✅ **Environment variable in args** - Use bare variable names in `-e` flags (e.g., `"GITHUB_PERSONAL_ACCESS_TOKEN"` without `$`)
471
474
- ✅ **Shell environment** - Variables must be exported in the shell before running awf
472
475
- ✅ **MCP server name** - Use `"github"` as the server name (must match `--allow-tool` flag)
476
+
- ✅ **npx availability** - The agent container includes Node.js 22 with npx pre-installed
477
+
478
+
**Note:** As of v0.9.1, Docker-in-Docker support was removed ([PR #205](https://github.com/githubnext/gh-aw-firewall/pull/205)). Use stdio-based MCP servers instead of Docker-based ones.
473
479
474
480
### Running Copilot CLI with Local MCP Through Firewall
475
481
@@ -498,17 +504,17 @@ sudo -E awf \
498
504
1.`awf` needs sudo for iptables manipulation
499
505
2.`-E` preserves GITHUB_TOKEN and GITHUB_PERSONAL_ACCESS_TOKEN
500
506
3. These variables are passed into the agent container via the HOME directory mount
501
-
4. The GitHub MCP server Docker container inherits them from the agent container's environment
507
+
4. The stdio-based MCP server (running via npx) inherits them from the agent container's environment
502
508
503
509
### Troubleshooting
504
510
505
511
**Problem:** MCP server starts but says "GITHUB_PERSONAL_ACCESS_TOKEN not set"
506
-
-**Cause:** Environment variable not passed correctly through sudo or to Docker container
512
+
-**Cause:** Environment variable not passed correctly through sudo
507
513
-**Solution:** Use `sudo -E` when running awf, and ensure the variable is exported before running the command
Copy file name to clipboardExpand all lines: README.md
+81Lines changed: 81 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,87 @@ A network firewall for agentic workflows with domain whitelisting. This tool pro
10
10
-**L7 Domain Whitelisting**: Control HTTP/HTTPS traffic at the application layer
11
11
-**Host-Level Enforcement**: Uses iptables DOCKER-USER chain to enforce firewall on ALL containers
12
12
13
+
## Breaking Changes
14
+
15
+
### v0.9.1 - Docker-in-Docker Support Removed
16
+
17
+
[PR #205](https://github.com/githubnext/gh-aw-firewall/pull/205) removed Docker-in-Docker support to simplify the architecture and improve security. This change affects users who were running Docker commands or Docker-based MCP servers within the firewall.
0 commit comments