McpServer Plugin Source Code Analysis
Explore how the ShenYu MCP server plugin registers services as tools, manages sessions, and handles SSE communication.
Explore how the ShenYu MCP server plugin registers services as tools, manages sessions, and handles SSE communication.
This article is based on the source code analysis of version 'shenyu-2.6.1'
Apache ShenYu is an asynchronous, high-performance, cross-language, responsive API gateway.
The ShenYu gateway uses the divide plugin to handle http requests. You can see the official documentation Quick start with Http to learn how to use this plugin.