Nacos CLI
$ nacos Official Med RiskNacos CLI (nacos / nacos-cli) is the official Go command-line tool from nacos-group/nacos-cli for inspecting and managing Nacos configuration centers, namespaces, service instances, and AI skills/agent specs. It supports multi-profile endpoints (profile set) and multiple auth modes (none, nacos, aliyun, sts-hiclaw), installable via @nacos-group/cli or installer scripts.
npm install -g @nacos-group/cli nacos connects directly to private/VPC Nacos servers using saved connection profiles without exposing registry credentials through an intermediate MCP server.
At a Glance
- Command
- $ nacos
- FCRS-1.0 Score
- 69/100 (Usable w/ Caveats)
- Evidence Tier
- Medium Confidence
- CLI vs MCP
- CLI Preferred vs MCP
- Reviewed Date
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Provides non-interactive profile set and subcommand flags, though it is early-stage and lacks universal --json and --dry-run flags across commands.
- Non-interactive
profile setsubcommands - Early-stage CLI lacking universal
--jsonoutput across subcommands
Supports named profiles and nacos/aliyun/sts-hiclaw auth modes to scope access, though lacks built-in dry-run previews for config overwrites.
- Named connection profiles and
nacos/aliyun/sts-hiclawauth modes
Cross-platform Go binary installable via npm install -g @nacos-group/cli, official installer script, or go build.
- Available via
@nacos-group/clion npm and Nacos installer scripts
Covers core Nacos config, namespace, and AI spec operations cleanly without writing custom curl scripts against Nacos HTTP APIs.
- Wraps Nacos config, namespace, and AI skill/spec management
Official nacos-group/nacos-cli repository maintained by the Nacos team, though still an emerging project (44 stars).
- Official
nacos-group/nacos-clirepo (44 stars)
Documented in Nacos latest docs and --help, though edge-case flags and examples remain concise.
- Nacos CLI reference page on nacos.io
Security, Auth & Guardrails
Stores server host, port, and auth mode (nacos, aliyun, sts-hiclaw) in local Nacos CLI profile config under ~/.nacos/.
Open-source and free (Apache-2.0); connects to self-hosted Nacos or Alibaba Cloud MSE Nacos.
# Nacos CLI Agent Rules - Always verify active profile host, port, and namespace before reading or publishing configs. - Target staging namespaces explicitly before modifying production Nacos configuration keys. - Require user approval before deleting configs or deregistering service instances.
Agent-Ready Command Recipes
Safe Read-Only Queries
nacos-cli --help
Lists available configuration, service, and profile management subcommands.
Controlled Writes & Previews
nacos-cli profile set default host=127.0.0.1
Pins the default profile host to a local Nacos instance before issuing commands.
Strengths for Agents
- + Supports multiple auth backends (
none,nacos,aliyun,sts-hiclaw) and named profiles. - + Easy installation via
npm install -g @nacos-group/clior Nacos installer script. - + Replaces fragile hand-rolled curl calls for Nacos configs and AI specs.
Caveats & Pitfalls
- ! Early-stage project (44 stars) with limited
--jsonoutput standardization and sparse examples. - ! Binary may be invoked as
nacosornacos-clidepending on installation method.
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Cloud & Infra
View category hub →High-Performance server for NATS.io, the cloud and edge native messaging system
Nelm is a Helm 3 alternative. It is a Kubernetes deployment tool that manages Helm Charts and deploys them to Kubernetes
MongoDB Atlas CLI and MongoDB CLI enable you to manage your MongoDB in the Cloud
Kubernetes tool for scanning clusters for network policies and identifying unprotected workloads
CNCF policy engine CLI for evaluating, testing, and formatting Rego policies as JSON.