Zen — Claude Code MCP server for models and CLI workflows
Zen connects AI coding CLIs to multiple models and other CLI tools. Use it to compare approaches or hand a task to an isolated CLI subagent.
no license updated 2026-10-29
Open on GitHubWhat Zen does
Zen lets one CLI consult models from different providers, carry a discussion across tools, and bring their input into later steps. You can ask several models to weigh in on a task, then continue with a chosen direction. Your CLI remains in charge of the workflow.
The clink tool starts separate sessions of external CLIs from the current CLI. For instance, a subagent can inspect code for review and return a final report without sharing the main session’s working context. Available roles include planner and codereviewer; custom roles can use their own system prompts.
The listed platforms are Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI. Check that your CLI is on this list before planning a workflow around it.
What it helps with
- compare suggestions from multiple models
- delegate a code review to a separate CLI session
- carry discussion context between tools
- split investigation and implementation across CLI sessions
Example prompts for the agent
- Ask Gemini and OpenAI to compare these approaches, then continue with the stronger proposal.
- Use
clinkto start acodereviewersession for the authentication module. - Have
planneroutline the work, then hand implementation to an external CLI.
How to install Zen
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Zen
What does Zen do?
Zen connects AI coding CLIs with models from multiple providers and carries context between tools. Its clink tool can start separate sessions of external CLIs.
Which platforms work with Zen?
The listed platforms are Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI.
How does clink handle subagents?
It starts an external CLI in a separate session from the current CLI. The subagent works in an isolated context and returns a final report.