Sidaartha/mcp
If you are the rightful owner of mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Spring Boot application implementing the Model Context Protocol (MCP) server, providing AI-powered tools for integration with various platforms.
MY MCP Server
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.
Project Structure
src/main/java/com/sidaartha/mcp/
βββ SpringAiApplication.java
βββ service/
β βββ slack/
β β βββ SlackService.java
β β βββ config/
β β β βββ SlackConfig.java
β β βββ exception/
β β βββ SlackServiceException.java
β βββ [other services]/
βββ [common packages]/
Features
- Slack integration for status updates
- AI-powered tools using Spring AI
- Extensible architecture for adding new services
- Claude Desktop integration support
Setup
- 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
Claude Desktop Integration
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
mcpServers
section:{ "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
Configuration
Slack Configuration
Add the following to your application.properties
:
slack.token=your-slack-token
Adding New Services
To 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
Development
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
Troubleshooting
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)
License
This project is licensed under the MIT Licenseβsee the file for details.