CLI Agent MCP — Development skill for Claude Code
MCP (stdio) server that lets Claude Desktop drive a local headless CLI coding agent (Claude Code or Cursor) as a streaming background worker — with live progress notifications and inherited VPN/SSH ac.
How to install CLI Agent MCP
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Bytars/cli-agent-mcp and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What CLI Agent MCP does
MCP (stdio) server that lets Claude Desktop drive a local headless CLI coding agent (Claude Code or Cursor) as a streaming background worker — with live progress notifications and inherited VPN/SSH access to internal servers.
Alternatives in Development
README
cli-agent-mcp
[](https://github.com/Bytars/cli-agent-mcp/actions/workflows/ci.yml) [](https://github.com/Bytars/cli-agent-mcp/actions/workflows/release.yml) [](https://github.com/Bytars/cli-agent-mcp/releases/latest) [](https://pkg.go.dev/github.com/Bytars/cli-agent-mcp) [](./LICENSE)
A single-binary **MCP (Model Context Protocol) stdio server** that lets an MCP client — such as **Claude Desktop** — drive a **local headless CLI coding agent** as a background worker, with **live progress streaming**.
Out of the box it drives **Claude Code** and **Cursor**, and any other CLI tool can be wired up with environment variables alone — no code required.
Instead of copy-pasting between a chat window and a terminal agent, the client delegates a task, watches the worker narrate its progress in real time, and gets the result inline — as if it had done the work itself.
Why run the agent locally?
The worker is spawned as a **child process of this server and inherits its environment**. That means it can reach whatever the host machine can reach:
- private networks and VPN routes,
- internal hosts via your SSH agent (1Password,
ssh-agent, Pageant, …), - cloud CLIs, kubeconfigs, and any credentials already set up on the box.
The MCP client never sees your keys or tokens — it just delegates a task to a worker that already has access.
MCP client (e.g. Claude Desktop)
│ MCP over stdio
▼
cli-agent-mcp ← this project
│ spawn (headless)
▼
claude / cursor-agent / your CLI ← inherits env: VPN, S
Related Skills
Codex Headless
Programmatically drive the real OpenAI Codex CLI in a PTY — structured events, live rollout-stream token strea
Claude Code Headless
Programmatically drive the real Claude Code CLI in a PTY — structured semantic/screen/committed events, live t
Runmote
Control any ACP agent on your PC from your phone — OpenCode, Claude Code, Codex and more. No SSH, no VPN, just
Teams Assistant MCP
Stdio MCP server that lets a Claude Code agent read and post in a fixed allowlist of Microsoft Teams group cha
Ntfy MCP Server
Send, manage, and replay ntfy push notifications via MCP. STDIO or Streamable HTTP.
Godzilla MCP Headless
哥斯拉 MCP 无头版:不启动哥斯拉 GUI,直接用 stdio/HTTP 驱动你的 Webshell(生成马 / 命令执行 / 文件管理),兼容 Claude Desktop、Claude Code、Cursor 等
Related Agents
Connect Agent
Use this agent when a target needs to be spawned/connected before recon can start — resolving an HTB machine n
Beardrive Designer
Product designer who reviews the BearDrive web app's visual design, UX, and layout. Drives the real UI with Pl
Yume
Native desktop UI for Claude Code with orchestration, streaming, background agents, and multi-provider support