← What I'm learning

MCP vs. CLI

I'm learning when MCP actually helps and when running a command is simpler. They aren't two versions of the same thing: a CLI is a command-line interface, while MCP is a protocol for connecting AI applications to tools and other context.

With a CLI, the caller runs a named program with arguments. For example, git status reports changes in a working tree. Its porcelain output is designed for scripts that need a stable, machine-readable format. Git documentation: git status

With MCP tools, a client can discover tool names and input schemas through tools/list, then invoke a tool through tools/call. The server returns the result through the protocol. That standardized discovery is different from an assistant already knowing a shell command. MCP specification: tools

Neither interface automatically makes an operation appropriate or safe. The MCP specification calls for visible tool use and a human's ability to deny actions. The question I'm working through is where that extra integration helps, and where it adds a layer without solving the problem. MCP specification: tools