pipeboard-cli is a Go CLI for managing ads across Meta, Google, and TikTok via Pipeboard's MCP servers. All operations go through Pipeboard servers — the CLI is a thin client.
Stack: Go 1.23 + Cobra CLI framework + goreleaser
make build # Build binary to bin/pipeboard
make install # Install to $GOPATH/bin
make test # Run tests
make lint # Run go vetmain.go # Entry point
cmd/ # Cobra commands
root.go # Root command, auth helper, global flags
version.go # Version command
login.go # Browser OAuth flow (TODO)
config.go # Config file management (~/.pipeboard/config.json)
debug.go # Hidden debug command for raw API queries
internal/
client/mcp.go # MCP JSON-RPC client over HTTP
The CLI speaks JSON-RPC 2.0 over HTTP POST to https://mcp.pipeboard.co/<server-path>:
initialize— handshaketools/list— discover available toolstools/call— invoke a tool- Auth:
Authorization: Bearer <token>header
Token resolution order:
PIPEBOARD_API_TOKENenv var~/.pipeboard/config.jsontoken field
Version and commit are injected via ldflags (see Makefile and .goreleaser.yml):
cmd.Versioncmd.Commit