Cloud Native 14 min read

A Comprehensive Look at Nacos 3.0 Architecture and Its Evolution for AI‑Era Service Registries

The article compares Nacos 2.0 and 3.0 architectures, highlights a ten‑fold performance boost via gRPC, discusses scalability and security challenges, introduces the AI Registry’s model‑tool‑application layers, explains the MCP Registry and Router, and outlines the roadmap toward a zero‑trust, AI‑native cloud‑native platform.

Alibaba Middleware
Alibaba Middleware
Alibaba Middleware
A Comprehensive Look at Nacos 3.0 Architecture and Its Evolution for AI‑Era Service Registries

1. Nacos 2.0 Architecture Review

Performance was improved by switching communication from HTTP short‑lived connections to gRPC long‑lived connections, achieving roughly a 10× throughput increase . Extensibility was added via a plugin architecture allowing custom plugins.

Security issue: all HTTP OpenAPI endpoints share port 8848 and a single authentication switch, leading to deployments exposing the port without authentication.

2. Nacos 3.0 Architecture Overview

Core modules (consistency protocol, communication layer) remain, while new components include a registration center, configuration center, AI Registry, and protocol enhancements. Multi‑language SDKs bridge ecosystem components. Plugins and extension components form the outer layers of the diagram.

2.1 AI Registry Architecture

Model layer : manages dynamic AI model parameters (prompt, learning rate, network parameters) using the same dynamic configuration mechanisms as cloud‑native applications.

Tool layer : enables automatic discovery, registration, and retrieval of MCP tools for LLMs, reusing service discovery capabilities to filter irrelevant tools and reduce token consumption.

Application layer : supports AI‑to‑AI (A2A) collaboration; agents can register themselves, discover peers, and distribute tasks, integrating with Spring AI Alibaba.

2.2 Security Architecture

Nacos 3.0 introduces an independent console deployment , split authentication switches , and default‑on authentication for control‑plane APIs . Combined with a configuration‑encryption plugin and TLS transport, it implements a zero‑trust security model . Integration with Druid, Spring AI Alibaba, and KMS‑based credential rotation enables automatic, lossless credential updates for downstream services.

3. Nacos MCP Registry

Nacos 3.0 adds a dedicated MCP Registry that supports three registration patterns:

Automatic conversion of existing HTTP/RPC services to MCP services via Higress protocol conversion (zero‑code migration).

Automatic registration of new MCP services through SDKs in frameworks such as Spring AI or Nacos‑MCP.

Import of third‑party or pre‑built MCP services for dynamic description, tool‑list, and schema management.

3.1 Nacos MCP Router

The MCP Router offers two operating modes:

Dynamic routing : filters registered MCP services based on LLM‑provided keywords, selecting only relevant services to reduce context length.

Dynamic proxy : converts stdio and sse MCP protocols into a unified streamable protocol, applying tool descriptions before returning the list to the LLM.

4. Roadmap

The roadmap aims to evolve Nacos into a comprehensive AI‑native platform. Planned extensions include prompt management, automatic AI agent registration, LLM parameter hosting, additional protocol support (e.g., DNS, Mesh), and deeper integration with cloud‑native ecosystems.

5. Technical References

Official site: https://nacos.io/

GitHub repository: https://github.com/alibaba/nacos

Zero‑code API‑to‑MCP conversion documentation: https://nacos.io/docs/latest/manual/user/ai/api-to-mcp/

MCP auto‑registration documentation: https://nacos.io/docs/latest/manual/user/ai/mcp-auto-register/

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Cloud NativeMCPService DiscoveryConfiguration ManagementNacosZero TrustAI Registry
Alibaba Middleware
Written by

Alibaba Middleware

Aliware Alibaba Middleware Official Account

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.