solon-ai-mcp-embedded-examples
About
solon ai(&mcp) embedded examples。支持 MCP_2025_06_18(mcp streamable)。示例项目包括各种框架嵌入:(Solon、SpringBoot、jFinal、Vert.X、Quarkus、Micronaut)
Details
- Author
- opensolon
- GitHub stars
- 9
- Downloads
- 354
- Categories
- Other, AI
Jump to
- Covers LLM basics: chat, tool call, skills, RAG
- Full MCP examples: server & client, SSE & streamable transports
- Supports Java 8, 11, 17, 21, 25 (Java 8+)
- Integrates solon-ai into 10+ framework environments
- Includes unit tests for LLM and MCP components
- Adheres to the MCP_2025_03_26 protocol
Clone the repository and navigate to the desired sub‑example. For LLM examples, you must modify the constants in llm/_Constants before running. MCP examples require a Solon container. The project is updated frequently; sync often to get the latest examples.
solon-ai-embedded-examples
solon-ai & solon-ai-mcp & solon-ai-flow & solon-ai-agent 同时支持:java8、java11、java17、java21、java25(java8+)
本示例项目会经常更新,建议经常同步。
说明
示例内容包括:
llm(需要修改 llm/_Constants 下的常量配置,否则启动会出错)
chatModel 基本使用,及单测
tool call 基本使用,及单测
skills(solon ai skills)基本使用及单测
rag 基本使用,及单测(embeddingModel,repository,splitter)
mcp (含 sse, streamable 示例;支持 MCP_2025_03_26 协议)
server 基本使用(需要 solon 容器支持)
client 基本使用,及单测
示例
| 示例 | 说明 |
|-----------------------------|-------------------|
| solon-ai-in-jfinal | |
| solon-ai-in-jfinal-newstyle | |
| solon-ai-in-quarkus | |
| solon-ai-in-solon | |
| solon-ai-in-springboot2 | |
| solon-ai-in-springboot3 | |
| solon-ai-in-springboot4 | |
| solon-ai-in-springmvc | |
| solon-ai-in-vertx | |
| | |
| solon-ai-in-webflux2-llm | 只有 llm 示例(没有 mcp) |
| solon-ai-in-webflux3-llm | 只有 llm 示例(没有 mcp) |
| solon-ai-in-webflux4-llm | 只有 llm 示例(没有 mcp) |
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




