CLI Forge is an open-source, Bash-native framework for building, bundling, and distributing command-line tools — with first-class MCP server support baked in.
From scaffolding to distribution, CLI Forge handles the infrastructure so you focus on your tool's logic.
Declarative config, dependency resolution, and reproducible builds. Define your tool in cli-forge.json and let CLI Forge handle the rest.
cliforge buildShip an MCP server alongside your CLI with zero extra config. Your tool becomes AI-native out of the box.
mcp-readyCommon tasks — argument parsing, config management, output formatting, logging — all handled by CLI Forge's built-in library.
cliforge/libWrite commands in Bash, Python, Ruby, Node, or any language. CLI Forge orchestrates them all through a unified interface.
multi-langXDG-compliant paths, man pages, shell completions, and package manager manifests. Your tool installs like a first-class citizen.
xdg-compliantLayered configuration from defaults, env vars, config files, and flags. Follows the conventions users already know.
12-factorCLI Forge is fully open source. Inspect the code, contribute features, fork for your own needs — no vendor lock-in, ever.
community-drivenCLI Forge auto-generates an MCP server from your tool's command structure. Every command, flag, and option becomes a tool that AI assistants can discover and invoke.
No protocol boilerplate. No manual tool definitions. Just build your CLI and get MCP for free.
Built on Bash, with intelligent shims for cross-platform compatibility. Write once, install anywhere.
First-class support. Native Bash execution with full access to system package managers and XDG paths.
Homebrew formula generation, launchd integration, and automatic handling of BSD vs. GNU tool differences.
Runs under WSL natively with optional PowerShell shims for seamless Windows-native invocation.
Be the first to know when CLI Forge launches. Get early access and shape the future of CLI tooling.
Opens your email client — no data is collected by this site.