Solon

v1.0.0โ€ขDeveloper Toolsโ€ขstable

๐Ÿ”ฅ 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

aop-frameworkioc-frameworkjavallmmcp-server
Share:
2,737
Stars
0
Downloads
0
Weekly
0/5

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

Java enterprise framework with high concurrency
IoC and AOP framework for microservices
opensolon

Maintainer

LicenseApache-2.0
Languagejava
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx solon

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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>
2

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!";
    }
}
3

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>
4

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...";
    }
}
5

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: /mcp
6

Connect 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.

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.

Quick Config Preview

{ "mcpServers": { "solon": { "command": "npx", "args": ["-y", "solon"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide โ†’

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides