sling-org-apache-sling
Apache Sling MCP Server
claude mcp add --transport stdio apache-sling-org-apache-sling-mcp-server mvn install feature-launcher:start feature-launcher:stop -Dfeature-launcher.waitForInput \ --env JAVA_HOME="Path to JDK 8+ (optional if JAVA_HOME already set in your environment)"
How to use
Apache Sling MCP Server provides a remote MCP (Model Context Protocol) endpoint for integrating with coding assistants and AI copilots. This server is built on top of the Sling starter and exposes an MCP API that allows tooling to fetch Sling-specific context, bundles, and content to assist with development and automation tasks. To use it, first start the server using the Maven commands described in the installation section; the server will be available at http://localhost:8080/mcp for remote connections. In your coding assistant, configure a remote MCP server pointing to that URL, then begin querying for Sling resources, bundles, and OSGi context information as needed by your tooling.
Once running, you can leverage the MCP server to explore Sling-specific APIs, OSGi bundles, content repositories, and configuration data. Some typical capabilities you might use include retrieving bundle metadata, querying service references, inspecting Sling Resource Resolutions, and integrating with Whiteboard-contributed MCP components to extend the available endpoints.
To connect your tool: add a remote MCP server with location http://localhost:8080/mcp and use the provided MCP endpoints to request information about Sling modules, configurations, and runtime state. The server uses the Sling Whiteboard contributions as a basis for the MCP endpoints, so expect endpoints related to mcp-server-contributions for enhanced functionality.
How to install
Prerequisites:
- Java Development Kit (JDK) 8 or newer
- Apache Maven installed and available on PATH
- Optional: Sling starter environment if you want to run within a Sling-based context
Installation steps:
-
Ensure Java and Maven are installed
- Verify Java: java -version
- Verify Maven: mvn -version
-
Build and start the MCP server using Maven
- Run the commands from the README to build and start: mvn install feature-launcher:start feature-launcher:stop -Dfeature-launcher.waitForInput
- This starts the MCP server endpoint used by tooling at http://localhost:8080/mcp
-
Install and deploy the MCP server contributions bundle (optional but recommended)
- Build and install the contributions bundle included in Sling Whiteboard: mvn -f whiteboard/mcp-server-contributions/ install sling:install
-
Connect your coding assistant tool to the MCP server
- In your tool, configure a remote MCP server with location http://localhost:8080/mcp
Prerequisites recap:
- JDK installed
- Maven installed
- Sufficient network permissions to run and expose port 8080
- Optional Sling Whiteboard contributions for enhanced MCP endpoints
Additional notes
Notes and tips:
- The MCP server is intended to be run in a development or test environment aligned with a Sling Starter setup. The port 8080 should be open for tooling to connect.
- If you encounter port or startup issues, verify that no other process is occupying port 8080 and that Maven can access the necessary repositories.
- The legacy classifier mentioned in the README refers to older SLF4J/servlet configurations; this MCP server primarily targets current Sling Starter usage.
- The exact MCP endpoints may be augmented by the Sling Whiteboard contributions; ensure you have installed those artifacts if you rely on extended MCP features.
Related MCP Servers
mcp-for-beginners
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
langchain4j-aideepin
基于AI的工作效率提升工具(聊天、绘画、知识库、工作流、 MCP服务市场、语音输入输出、长期记忆) | Ai-based productivity tools (Chat,Draw,RAG,Workflow,MCP marketplace, ASR,TTS, Long-term memory etc)
wanaku
Wanaku MCP Router
WigAI
Bitwig Controller Extension that provides an MCP Server for AI Agent control
vertx
A Vert.x MCP Server built on top of MCP Java SDK
slack
Spring AI를 활용한 Slack MCP 서버입니다.