A Spring Boot application that implements the Model Context Protocol (MCP) server, providing AI-powered tools for different platforms. This server can be integrated with Claude Desktop and other MCP-compatible clients.
src/main/java/com/sidaartha/mcp/
├── SpringAiApplication.java
├── service/
│ ├── slack/
│ │ ├── SlackService.java
│ │ ├── config/
│ │ │ └── SlackConfig.java
│ │ └── exception/
│ │ └── SlackServiceException.java
│ └── [other services]/
└── [common packages]/
- Slack integration for status updates
- AI-powered tools using Spring AI
- Extensible architecture for adding new services
- Claude Desktop integration support
- Clone the repository
- Copy the example properties file:
cp src/main/resources/application-example.properties src/main/resources/application.properties
- Configure the application properties in
src/main/resources/application.properties - Build the project using Maven:
./mvnw clean package -DskipTests
To use this MCP server with Claude Desktop:
-
Build the project:
./mvnw clean package -DskipTests
-
Configure Claude Desktop by editing the configuration file:
- MacOS/Linux:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%AppData%\Claude\claude_desktop_config.json
- MacOS/Linux:
-
Add the following configuration to the
mcpServerssection:{ "mcpServers": { "my-mcp": { "command": "/path/to/java", "args": [ "-jar", "/absolute/path/to/mcp/target/mcp-0.0.1-SNAPSHOT.jar" ] } } }Replace the paths with your actual Java path and JAR location.
-
Restart Claude Desktop
-
Verify the integration:
- Look for the hammer icon in Claude Desktop
- The available tools should be listed when you click the icon
Add the following to your application.properties:
slack.token=your-slack-tokenTo add a new service:
- Create a new package under
service/for your service - Create the necessary service class, configuration, and exception classes
- Register the service in
SpringAiApplication.java
The project follows these best practices:
- Separation of concerns with dedicated service packages
- Configuration properties for external services
- Custom exception handling
- Proper logging
- Clean architecture principles
If the MCP server is not showing up in Claude Desktop:
- Check the configuration file syntax
- Verify the paths in the configuration are absolute
- Ensure the JAR file exists at the specified location
- Check the logs in
~/Library/Logs/Claude/mcp*.log(MacOS/Linux) or%AppData%\Claude\logs\mcp*.log(Windows)
This project is licensed under the MIT License—see the LICENSE file for details.
