paulbennet/afk-mode-mcp
Platform-specific configuration:
{
"mcpServers": {
"afk-mode-mcp": {
"command": "npx",
"args": [
"-y",
"afk-mode-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Monitor and respond to VS Code Copilot from your phone.
When Copilot's agent mode runs long tasks, it frequently pauses for user input. If you step away, the session stalls. AFK Mode bridges Copilot and your phone through an MCP server — so you can watch progress, get notifications, and respond to prompts without being at your desk.
Run this in your project folder:
npx afk-mode-mcp --setupThis creates .vscode/mcp.json and .github/prompts/afk-workflow.prompt.md — done. Copilot will start AFK Mode automatically when it needs it.
/afk-workflow — Copilot routes all progress and decisions to your phonePush notifications work automatically — no extra setup needed.
If you prefer to configure manually, add this to .vscode/mcp.json in your workspace:
{
"servers": {
"afk-mode-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "afk-mode-mcp"],
"env": {
"AFK_PORT": "7842"
}
}
}
}AFK Mode is a single Node.js process that serves two roles simultaneously:
┌──────────────┐ stdio ┌──────────────────────┐ WebSocket ┌──────────────┐
│ VS Code │◄──────────────►│ MCP + Web Server │◄────────────────►│ Mobile Web │
│ Copilot │ │ (single process) │ HTTP (static) │ App (PWA) │
│ Agent Mode │ │ │◄────────────────►│ │
└──────────────┘ └──────────────────────┘ └──────────────┘Loading reviews...