Solon
๐ฅ Java enterprise application development framework for full scenario: Restrained, Efficient, Open, Ecologicalll!!! 700% higher concurrency 50% memory savings Startup is 10 times faster. Packing 90% smaller; Compatible with java8 ~ java25; Supports L
What is Solon?
Solon is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ๐ฅ java enterprise application development framework for full scenario: restrained, efficient, open, ecologicalll!!! 700% higher concurrency 50% memory savings startup is 10 times faster. packing 90% ...
๐ฅ Java enterprise application development framework for full scenario: Restrained, Efficient, Open, Ecologicalll!!! 700% higher concurrency 50% memory savings Startup is 10 times faster. Packing 90% smaller; Compatible with java8 ~ java25; Supports L
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- ๐ฅ Java enterprise application development framework for full
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx solonConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Solon
Solon is a lightweight, high-performance Java enterprise application framework designed as an alternative to Spring Boot, offering dramatically faster startup times, lower memory consumption, and higher concurrency without the Servlet API or Spring's heavyweight dependency tree. It supports Java 8 through Java 25 and GraalVM native image compilation, ships with an IoC/AOP container, a micro-web server, an MCP server module for exposing Solon services as Model Context Protocol tools, and a rich extension ecosystem covering cloud, AI, and integration scenarios. Java backend teams use Solon when they need Spring-compatible patterns โ dependency injection, annotations, microservices โ with a fraction of the resource overhead.
Prerequisites
- Java 8 or newer (Java 17+ recommended; GraalVM 21+ for native image compilation)
- Maven 3.6+ or Gradle 7+ as your build tool
- An MCP client such as Claude Desktop or Claude Code if using Solon's MCP server module
- Optional: Docker for containerized deployment of Solon services
- Optional: IntelliJ IDEA or VS Code with the Solon plugin for IDE support
Add Solon to your Maven project
Add the Solon BOM and the core web starter to your pom.xml. The BOM manages all Solon module versions consistently.
<!-- pom.xml -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.noear</groupId>
<artifactId>solon-parent</artifactId>
<version>3.4.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.noear</groupId>
<artifactId>solon-web</artifactId>
</dependency>
</dependencies>Write a minimal Solon application
Create your main class annotated with @SolonMain and a controller annotated with @Controller. The structure is intentionally similar to Spring Boot to reduce the migration learning curve.
import org.noear.solon.annotation.SolonMain;
import org.noear.solon.annotation.Controller;
import org.noear.solon.annotation.Get;
import org.noear.solon.annotation.Mapping;
@SolonMain
public class App {
public static void main(String[] args) {
Solon.start(App.class, args);
}
}
@Controller
public class HelloController {
@Get
@Mapping("/hello")
public String hello() {
return "Hello, Solon!";
}
}Add the Solon MCP server module
Include the solon-ai-mcp dependency to expose Solon beans and services as MCP tools that AI assistants can call.
<dependency>
<groupId>org.noear</groupId>
<artifactId>solon-ai-mcp</artifactId>
</dependency>Annotate a service as an MCP tool
Use Solon's @McpServerEndpoint and @Tool annotations to expose a service method as an MCP tool. The framework auto-generates the tool schema from the method signature.
import org.noear.solon.ai.annotation.McpServerEndpoint;
import org.noear.solon.ai.annotation.Tool;
@McpServerEndpoint
public class SearchService {
@Tool(description = "Search the product catalog")
public String searchProducts(String query, int maxResults) {
// implementation
return "results...";
}
}Configure the MCP server endpoint
Set the MCP server transport and port in app.yml (Solon's config file). By default the MCP server uses SSE transport on the same port as the web server.
# app.yml
server:
port: 8080
solon.ai.mcp:
server:
enabled: true
path: /mcpConnect an MCP client to your Solon MCP server
Point your Claude Desktop or Claude Code config at the Solon application's MCP endpoint. The server exposes all @Tool-annotated methods as callable MCP tools.
{
"mcpServers": {
"solon-app": {
"url": "http://localhost:8080/mcp"
}
}
}Solon Examples
Client configuration
Claude Desktop MCP configuration connecting to a running Solon application's MCP SSE endpoint.
{
"mcpServers": {
"solon-app": {
"url": "http://localhost:8080/mcp"
}
}
}Prompts to try
Once a Solon application's MCP tools are connected, use prompts matching your exposed @Tool methods.
- "Search the product catalog for wireless headphones with a max of 10 results"
- "List all available MCP tools exposed by this Solon service"
- "Call the createOrder tool with product ID 42 and quantity 3"
- "What Java version and Solon version is this service running?"Troubleshooting Solon
MCP client cannot connect to the Solon MCP endpoint
Verify the Solon application is running and the solon.ai.mcp.server.enabled property is set to true in app.yml. Also confirm the path matches (default /mcp) and no firewall is blocking the port. Check the application log for MCP server startup messages.
Compilation errors after adding solon-ai-mcp dependency
Ensure all Solon modules use the same version managed by the solon-parent BOM. Mixing versions commonly causes ClassNotFoundException or method signature mismatches. Run `mvn dependency:tree` to spot version conflicts.
Startup is slow despite Solon's performance claims
Solon's fast startup requires not loading unused modules. Check your dependency list for heavyweight extras (e.g., solon-data-* with connection pools) that initialize on boot. Remove or lazy-initialize modules you don't need, or profile startup with solon.app.startupLog=true.
Frequently Asked Questions about Solon
What is Solon?
Solon is a Model Context Protocol (MCP) server that ๐ฅ java enterprise application development framework for full scenario: restrained, efficient, open, ecologicalll!!! 700% higher concurrency 50% memory savings startup is 10 times faster. packing 90% smaller; compatible with java8 ~ java25; supports l It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Solon?
Follow the installation instructions on the Solon GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Solon?
Solon works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Solon free to use?
Yes, Solon is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.
Solon Alternatives โ Similar Developer Tools Servers
Looking for alternatives to Solon? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
โ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
โ 155.8kJava ้ข่ฏ & ๅ็ซฏ้็จ้ข่ฏๆๅ๏ผ่ฆ็่ฎก็ฎๆบๅบ็กใๆฐๆฎๅบใๅๅธๅผใ้ซๅนถๅใ็ณป็ป่ฎพ่ฎกไธ AI ๅบ็จๅผๅ
Gemini CLI
โ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
โ 87.3kโญ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
โ 86.0kModel Context Protocol Servers
CC Switch
โ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Solon in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Solon?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.