agent-cli-mcp-bridges
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
agent-cli-mcp-bridges
A small MCP (Model Context Protocol) server that exposes a headless coding agent CLI — Claude Code, Hermes, Grok Build, or any similar binary — over Streamable HTTP and SSE.
The shared pattern is: a new CLI process per request, optional session resume,
a configurable project root, and no tokens in the repo. An optional notify
tool POSTs a JSON body to WEBHOOK_URL if you set one; there is no built-in
messaging integration.
Stack
Node.js 20+, @modelcontextprotocol/sdk, Express, zod.
Related MCP server: romate-mcp-server
Setup
npm install
cp .env.example .env
# write a token file (mode 600), or export MCP_TOKEN for local testing only
mkdir -p ~/.config/agent-cli-mcp
# example: openssl rand -hex 24 > ~/.config/agent-cli-mcp/token
# chmod 600 ~/.config/agent-cli-mcp/token
export MCP_TOKEN_FILE=~/.config/agent-cli-mcp/token
export AGENT_PROFILE=claude
export PROJECT_ROOT="$PWD"
npm startPoint an MCP client at http://127.0.0.1:8790/mcp with
Authorization: Bearer <token>. SSE is at /sse.
Tools
Tool | Purpose |
| Binary path, profile, default cwd, timeout |
| Run the CLI headless with a prompt, optional cwd/model/resume |
| Optional. POST |
Config
See .env.example. AGENT_PROFILE selects default flags:
claude—claude --print --permission-mode <mode> --add-dir <cwd>hermes—hermes --print(plus cwd/model/resume when set)grok—grok --prompt-file <tempfile>(the prompt is never put on the argv)custom—AGENT_BINis required; the prompt is written to a temp file and passed as the last argument unless you setAGENT_PROMPT_FLAG
Licence
MIT, Copyright (c) 2026 Emil Senkel.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP server exposing SMI Aware tools, resources, and skills over Streamable HTTP.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceExposes any stdio-based MCP server to the internet via HTTP/SSE transport, enabling remote agents to access MCP tools over a network.MIT
- FlicenseNot gradedqualityCmaintenanceThis server exposes local stdio MCP tools as HTTP/SSE endpoints, enabling remote clients like Claude Desktop to call them. It supports single-tool and aggregated modes with authentication, auto-restart, and hot reload.-
- AlicenseNot gradedqualityDmaintenanceExposes authorized ChatGPT, DeepSeek, Kimi, and Grok web sessions to agents as MCP tools, including chat and local file attachments over HTTP or stdio.7MIT
- FlicenseNot gradedqualityBmaintenanceEnables MCP-compatible AI clients to invoke CLI-driven agent tools over Streamable HTTP, including shell execution, file operations, patching, image viewing, web search, and nested agent tasks, with permission modes and real-time progress streaming.-