CLI MCP Server vs Repomix MCP Server
A side-by-side comparison of two Developer Tools servers — tools, transport, auth, maintenance, and copy-paste config for each.
| CLI MCP Server Securely run whitelisted CLI commands within an allowed directory via MCP. Unverified stdio (local) No auth Stale Python | Repomix MCP Server Pack any local or remote repository into one AI-ready file your agent can grep and read incrementally. Unverified stdio (local) No auth TypeScript | |
|---|---|---|
| Category | Developer Tools | Developer Tools |
| Language | Python | TypeScript |
| Transport | stdio (local) | stdio (local) |
| Auth | None | None |
| GitHub stars | 171 | 27k |
| Last commit | 1 year ago | 1 month ago |
| Verified | ||
| Actively maintained | ||
| Install | npx @smithery/cli install cli-mcp-server --client claude | npx -y repomix --mcp |
| Repo | Open | Open |
Verdict
Pick CLI MCP Server if you prefer its approach (securely run whitelisted cli commands within an allowed directory via mcp).
Pick Repomix MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.
Add CLI MCP Server
npx @smithery/cli install cli-mcp-server --client claudePaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"cli-mcp-server": {
"command": "uvx",
"args": [
"cli-mcp-server"
],
"env": {
"ALLOWED_DIR": "</your/desired/dir>",
"ALLOWED_COMMANDS": "ls,cat,pwd,echo",
"ALLOWED_FLAGS": "-l,-a,--help,--version",
"MAX_COMMAND_LENGTH": "1024",
"COMMAND_TIMEOUT": "30",
"ALLOW_SHELL_OPERATORS": "false"
}
}
}
}Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.
Add Repomix MCP Server
npx -y repomix --mcpPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"repomix-mcp-server": {
"command": "npx",
"args": [
"-y",
"repomix",
"--mcp"
]
}
}
}FAQ
CLI MCP Server or Repomix MCP Server — which is better?
Pick CLI MCP Server if you prefer its approach (securely run whitelisted cli commands within an allowed directory via mcp). Pick Repomix MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.
Can I use both CLI MCP Server and Repomix MCP Server?
Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.
Do CLI MCP Server and Repomix MCP Server work with Claude, Cursor and Windsurf?
Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.