# Rebuilding the CircleCI CLI from scratch

DevFeed: [Rebuilding the CircleCI CLI from scratch](<https://devfeed.tech/articles/rebuilding-the-circleci-cli-from-scratch-13354.md>)

Original publisher: [Read original article](<https://circleci.com/blog/rebuilding-the-circleci-cli-from-scratch/>)

Author: Pete Steyert-Woods

Published: 2026-07-07T16:00:00Z

Content type: article

Language: en

Sources: [The CircleCI Blog Feed | CircleCI](<https://devfeed.tech/sources/the-circleci-blog-feed-circleci.md>)

Topics: [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [MCP Server](<https://devfeed.tech/topics/mcp-server.md>), [OAuth](<https://devfeed.tech/topics/oauth.md>), [Text-based user interface](<https://devfeed.tech/topics/tui.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [YAML](<https://devfeed.tech/topics/yaml.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>)

Tags: [ai-development](<https://devfeed.tech/tags/ai-development.md>), [ci](<https://devfeed.tech/tags/ci.md>), [circleci-cli](<https://devfeed.tech/tags/circleci-cli.md>), [cli](<https://devfeed.tech/tags/cli.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [go](<https://devfeed.tech/tags/go.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [terminal](<https://devfeed.tech/tags/terminal.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

## AI overview

CircleCI rebuilt its CLI from scratch in Go, focusing on human-first terminal output, predictable JSON, stable exit codes, browser OAuth login, debugging features, and an MCP server for coding agents.

## Source excerpt

We rebuilt the CircleCI CLI from the ground up in Go: human-first output, -json everywhere, browser OAuth login, a built-in debugging TUI, and an MCP server for your coding agent.