Claude Code Manager WAN
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Claude Code Manager WANlist the files in my project directory"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Claude Code Manager WAN
An ISLI v2.0 skill that lets ISLI agents (Hermes, OpenClaw, ISLI Core) dispatch natural-language coding and terminal tasks to a locally-installed Claude Code CLI. It also exposes those capabilities through an MCP bridge so any MCP client can list and invoke the tools.
What it does
One-shot execution — run a single task in a workspace directory.
Persistent sessions — start a long-lived Claude Code process, send follow-up tasks, and inspect its output.
MCP bridge — expose
tools/listandtools/callendpoints compatible with mcp-cli-adapter / MCPShell.
Related MCP server: claude-cli-mcp
ISLI v2.0 endpoints
Method | Path | Tool name |
GET |
| health check |
GET |
| manifest |
POST |
|
|
POST |
|
|
POST |
|
|
POST |
|
|
POST |
|
|
POST |
|
|
POST |
|
|
All endpoints except /health and /.well-known/isli-manifest require a valid X-Internal-Auth JWT signed with JWT_SECRET.
Quick start
1. Install Claude Code locally
This skill assumes the claude binary is available on the host. Install or locate it, then note the path.
2. Build and run the skill
docker build -t claude-code-manager-wan .
docker run -d \
--name claude-code-manager-wan \
--network isli_default \
-p 8000:8000 \
-e JWT_SECRET=your-jwt-secret \
-e CLAUDE_CODE_PATH=/usr/local/bin/claude \
-e CLAUDE_CODE_TIMEOUT_SECONDS=120 \
-v /path/to/claude:/usr/local/bin/claude:ro \
-v /path/to/your/workspaces:/workspaces:rw \
claude-code-manager-wan3. Test health
curl http://localhost:8000/health4. Execute a task
curl -X POST http://localhost:8000/execute \
-H "Content-Type: application/json" \
-H "X-Internal-Auth: $(python -c "import jwt; print(jwt.encode({}, 'your-jwt-secret', algorithm='HS256'))")" \
-d '{
"workspace": "/workspaces/my-project",
"task": "List the files in this directory",
"allow_write": false,
"timeout_seconds": 60
}'Docker notes
Claude Code binary: The image does not include Claude Code. Mount a Linux-compatible
claudebinary (or a wrapper script) into the container and setCLAUDE_CODE_PATH. A Windows.exewill not run inside the Linux container.Port conflicts: If
localhost:8000is already in use, map a different host port (e.g.,-p 8001:8000) and adjust your test URLs.Workspaces: Mount the directories you want Claude Code to operate on as volumes. The skill validates that the workspace exists and, if
ALLOWED_WORKSPACESis set, that it is within an allowed prefix.Integration test fixtures: The
tests/mock-claude*files provide a minimal fake Claude CLI for validating the skill in CI/Docker without a real Anthropic account.Custom launch command: Use
CLAUDE_CODE_LAUNCH_COMMANDto wrap or proxy the binary. The skill splits the command with shlex and appends its own arguments (--dangerously-skip-permissionsifallow_write=true,-p <task>for one-shot mode). Examples:ollama launch claude --model glm-5.2:cloud/usr/local/bin/claude-wrapper --agent hermes
Environment variables
Variable | Default | Description |
| — | Required. Secret used to verify |
|
| Path to the Claude Code binary. Used when |
| — | Optional full launcher command. Overrides |
|
| Default subprocess timeout. |
| — | Optional comma-separated list of allowed workspace directory prefixes. Empty = no restriction. |
|
| Maximum number of persistent Claude Code sessions. |
|
| Logging level. |
Persistent sessions
Start a session:
curl -X POST http://localhost:8000/session/start \
-H "Content-Type: application/json" \
-H "X-Internal-Auth: ..." \
-d '{"session_id":"proj-a","workspace":"/workspaces/my-project","allow_write":true}'Send follow-up tasks:
curl -X POST http://localhost:8000/session/send \
-H "Content-Type: application/json" \
-H "X-Internal-Auth: ..." \
-d '{"session_id":"proj-a","task":"Create a README.md"}'Check status:
curl -X POST http://localhost:8000/session/status \
-H "Content-Type: application/json" \
-H "X-Internal-Auth: ..." \
-d '{"session_id":"proj-a","tail_lines":50}'Stop:
curl -X POST http://localhost:8000/session/stop \
-H "Content-Type: application/json" \
-H "X-Internal-Auth: ..." \
-d '{"session_id":"proj-a","force":false}'MCP bridge
The /mcp/v1/tools/list and /mcp/v1/tools/call endpoints follow the Model Context Protocol shape. Configure Hermes or OpenClaw with mcp-cli-adapter pointing to this skill's HTTP endpoint and passing the X-Internal-Auth header.
Example tools/list response:
{
"tools": [
{
"name": "claude_code_execute",
"description": "Run a one-shot natural-language task through Claude Code...",
"inputSchema": { "type": "object", "required": ["workspace", "task"], "properties": { ... } }
}
]
}Example tools/call:
curl -X POST http://localhost:8000/mcp/v1/tools/call \
-H "Content-Type: application/json" \
-H "X-Internal-Auth: ..." \
-d '{
"name": "claude_code_execute",
"arguments": {
"workspace": "/workspaces/my-project",
"task": "Show git status",
"allow_write": false
}
}'Security
allow_writedefaults tofalse; set it totrueonly when the agent needs to edit files or run git commands.Use
ALLOWED_WORKSPACESto restrict which directories Claude Code can touch.Never expose
JWT_SECRETor the skill port publicly.The
--dangerously-skip-permissionsClaude Code flag is used only whenallow_write=true.
Registering in ISLI
Add this entry to medelmouhajir/isli-skills-registry/index.json:
{
"id": "claude-code-manager-wan",
"name": "Claude Code Manager WAN",
"description": "Control Claude Code from ISLI agents. Dispatch one-shot and persistent terminal/coding tasks, and expose them via an MCP bridge.",
"author": "ISLI AI",
"git_url": "https://github.com/medelmouhajir/claude-code-manager-wan",
"tags": ["automation", "claude-code", "mcp", "terminal", "coding"],
"version": "v1.0.0"
}License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Source-checked CLI guides and model-aware planning for Claude Code, Codex, and Grok Build.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to spawn and control Codex CLI and Claude Code sessions on the host machine, with session management and filesystem access.4MIT
- AlicenseAqualityDmaintenanceWraps Anthropic Claude Code CLI as tools, allowing MCP clients to invoke headless Claude Code sessions.2972 npmMIT
- FlicenseNot gradedqualityBmaintenanceProvides a secure interface to run Anthropic's Claude Code CLI as an MCP server, enabling task execution, persistent memory, and integration with MCP-enabled IDEs.-
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients like Claude Code to delegate coding tasks to the local Cursor Agent CLI, with persistent per-workspace sessions that resume across calls.12 npmMIT