z-code-mcp
Click on "Install 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., "@z-code-mcpOrchestrate implementing user authentication with code analysis, code generation, and tests"
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.
Z-Code MCP
MCP (Model Context Protocol) server for orchestrating multiple Claude Code sessions with HEAD/SUB coordination pattern.
Overview
Z-Code MCP enables complex, multi-task coding projects by coordinating multiple Claude Code CLI sessions:
HEAD Phase: Analyzes objectives and creates execution plans
SUB Phase: Executes tasks in parallel with controlled concurrency
Aggregation Phase: Combines results and generates summaries
Related MCP server: Orchestrator MCP Server
Installation
Using npx (Recommended)
npx z-code-mcpFor always getting the latest version:
npx z-code-mcp@latestGlobal Installation
npm install -g z-code-mcpClaude Desktop / Claude Code Configuration
Add to your Claude configuration file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"z-code-mcp": {
"command": "npx",
"args": ["-y", "z-code-mcp@latest"]
}
}
}Local Development Configuration
For testing local changes without publishing:
{
"mcpServers": {
"z-code-mcp-dev": {
"command": "node",
"args": ["C:/path/to/z-code-mcp/build/index.js"]
}
}
}Environment Variables
Variable | Description | Default |
| Claude CLI command |
|
| Max concurrent processes (1-10) |
|
| Temp directory for outputs | System temp |
| Keep temp files on error |
|
| Custom templates directory | Built-in |
| Log level (debug/info/warn/error) |
|
Available Task Templates
Template | Description |
| Analyze existing code structure and patterns |
| Generate new code based on specifications |
| Write tests for existing code |
| Create documentation |
| Security analysis and vulnerability detection |
| Code improvements and refactoring |
| Use custom template |
Usage Example
Once configured, the MCP exposes an orchestrate tool:
{
"objective": "Implement user authentication feature",
"workingDirectory": "/path/to/project",
"tasks": [
{
"id": "analyze",
"type": "code_analysis",
"description": "Analyze current auth implementation"
},
{
"id": "implement",
"type": "code_generation",
"description": "Implement JWT authentication",
"dependencies": ["analyze"]
},
{
"id": "test",
"type": "test_writing",
"description": "Write auth tests",
"dependencies": ["implement"]
}
],
"coordination": {
"strategy": "dependency-based",
"maxConcurrent": 3
}
}Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
# Run MCP Inspector
npm run inspectorAuto-Update Behavior
npx caches packages: Use
npx z-code-mcp@latestto force latest versionLocal development: Use direct path reference for immediate updates after build
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zeliper/z-code-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server