solon-ai
Java AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java25. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks.
claude mcp add --transport stdio opensolon-solon-ai docker run -i solon-ai/mcp-server:latest \ --env JAVA_HOME="path/to/java/home (optional, defaults may apply)" \ --env SOLON_AI_CONFIG="path/to/config (optional)"
How to use
Solon-AI is a Java-based framework that integrates large language model calls, RAG knowledge bases, the MCP (Model Context Protocol), and Agent collaboration into a cohesive development experience. It supports plugging in diverse model dialects, tools, and skills to build autonomous agents, intelligent assistants, and multi-agent workflows. The MCP integration enables sharing tools, prompts, and resources across clients and servers, enabling cross-platform tool use and collaborative reasoning. Typical usage involves running the MCP-enabled server (e.g., via Docker) and connecting MCP clients to expose tools and prompts that can be invoked by chat-model-driven workflows. The framework emphasizes graph-driven orchestration for Agent reasoning, allowing you to model collaborative flows and observe or govern the execution steps.
How to install
Prerequisites:
- Java 8+ (JDK 8/11/17/21+ depending on your environment)
- Maven or Gradle for building Java projects (optional if using prebuilt binaries)
- Docker (recommended for quick setup) or a Java runtime environment if running from source
Option A: Install via Docker (recommended for quick start)
-
Install Docker on your platform.
-
Pull and run the MCP server image:
docker run -d --name solon-ai-mcp -p 8080:8080 solon-ai/mcp-server:latest
-
Ensure the MCP endpoint is accessible at http://localhost:8080/mcp
Option B: Build from Source (requires Java build tools)
-
Install Java (JDK 8+), Maven, and Git.
-
Clone the repository:
git clone https://github.com/opensolon/solon-ai.git cd solon-ai
-
Build the project (example with Maven):
mvn -T 1C -DskipTests package
-
Run the generated server artifact (adjust command to your build output):
java -jar target/solon-ai-server.jar
Prerequisites note: The SOLON-AI project targets multiple Java versions (as shown by supported JDK badges). Ensure your runtime matches the version used during build to avoid compatibility issues.
Additional notes
Tips and common considerations:
- MCP endpoint exposure: The endpoint path is configurable; ensure the /mcp path is accessible from MCP clients.
- Tool and Skill injection: You can augment chat workflows with Tools (for external actions) and Skills (customizable behaviors) to tailor agent capabilities.
- RAG integration: The framework supports a full pipeline from DocumentLoader to EmbeddingModel and RerankingModel for knowledge retrieval; consider indexing your knowledge base for faster responses.
- Agent coordination: Solon AI supports ReAct-style reasoning and multi-agent collaboration; use graph-driven orchestration to model complex workflows.
- Environment variables: If using Docker, you can override config locations or API keys via environment variables (e.g., SOLON_AI_CONFIG, JAVA_HOME).
- Troubleshooting MCP: Ensure client and server channels (e.g., STREAMABLE) align on endpoint paths and channel types; verify network accessibility and CORS settings if applicable.
Related MCP Servers
dexto
A coding agent and general agent harness for building and orchestrating agentic applications.
mcp-graphql
Model Context Protocol server for GraphQL
mesh
One secure endpoint for every MCP server. Deploy anywhere.
git
An MCP (Model Context Protocol) server enabling LLMs and AI agents to interact with Git repositories. Provides tools for comprehensive Git operations including clone, commit, branch, diff, log, status, push, pull, merge, rebase, worktree, tag management, and more, via the MCP standard. STDIO & HTTP.
unity
A Unity MCP server that allows MCP clients like Claude Desktop or Cursor to perform Unity Editor actions.
mcp-graphql-tools
GraphQL MCP server for AI assistants