Repository navigation
Replies: 1 comment
|
This is a useful developer-experience direction, especially because generic invocation removes the friction of maintaining a local client dependency graph. The staging/production boundary is the part I would make even more explicit: an MCP server turns an AI client into a powerful RPC caller, so its security model should be as deliberate as the Dubbo Admin model. A few guardrails would make the production story easier to trust:
The two-stage discovery approach is valuable for token efficiency, but a published threat model plus a small end-to-end authorization test matrix would likely be the strongest next addition to the project. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Pre-check
Apache Dubbo Component
Java SDK (apache/dubbo)
Details
Background & Motivation
Hi Dubbo community,
When debugging business logic or developing microservices in modern AI coding environments (such as Cursor, Claude Code, Codex, or Windsurf), developers frequently need to inspect and verify the actual runtime responses of internal Dubbo RPC services.
Traditionally, this requires either:
Both approaches disrupt developer flow. To address this, we developed Dubbo-MCP, a standard Model Context Protocol (MCP) server based on Dubbo's native Generic Invocation (
GenericService).Key Features & Implementation
GenericService. No need to import or compile target interface API JARs locally./dubbo/metadatafor parameter DTO structures and method signatures, with sub-millisecondReferenceConfigcaching.Open Source & Discussion
The project is fully open source under the Apache 2.0 license:
👉 GitHub: https://github.com/b1n9bna/dubbo-mcp
We hope this provides a helpful reference for tooling integration in the AI coding era. We welcome any feedback, suggestions, or contributions from the Dubbo community!
项目背景与初衷(中文说明)
各位社区老师与开发者好:
在日常使用 Cursor、Claude Code、Codex 等 AI 编程助手排查业务逻辑或编写微服务业务代码时,我们经常需要在上下文中验证内网 Dubbo RPC 接口的实际返回。
过去常见的调试方式通常是:
两种方式都比较繁琐且容易打断编码心流。因此,我们基于 Dubbo 原生的**泛化调用(GenericService)**开发了 Dubbo-MCP,作为一个标准的 Model Context Protocol (MCP) 服务端。
核心特性与技术实现:
GenericService,本地无需预先安装或引入任何业务接口 API 的依赖 JAR 包;/dubbo/metadata反查复杂 DTO 字段结构与方法签名,支持 sub-millisecond 级别的 ReferenceConfig 缓存;开源仓库:
👉 GitHub: https://github.com/b1n9bna/dubbo-mcp
希望能为 Dubbo 生态在 AI Coding 时代的工具链建设提供一个实用参考,非常欢迎社区老师和开发者试用、交流并提出宝贵建议!
Code of Conduct
All reactions