About
Apache Sling MCP Server
README
Experimental MCP Server implementation for Apache Sling.
Development
Build the project with Maven and start up the MCP server, based on the Apache Sling Starter:
$ mvn install feature-launcher:start feature-launcher:stop -Dfeature-launcher.waitForInput -Dhttp.port=8080
Then build and deploy the MCP server contributions bundle:
$ mvn -f ../org-apache-sling-mcp-server-contributions/pom.xml install sling:install
Then open up your coding assistant tool and add an remote MCP server with location http://localhost:8080/mcp . Access is only
permitted for the admin user therefore basic authentication headers need to be specified. In case of the default credentials
the configuration can look as follows
"aem-cs-sdk": {
"type": "streamable-http",
"url": "http://localhost:8080/bin/mcp",
"headers": {
"Authorization": "Basic YWRtaW46YWRtaW4="
}
}
Please refer to the documentation of your coding assistant tool for details on how to add a remote MCP server and specify authentication headers.
Deployment
The src/main/features/main.json files contains bundles and configurations that are required for deploying on top of the version of the Sling Starter defined in pom.xml.
This file is intended mostly for local development but can also be used as a blueprint for including the bundle in Sling Starter based deployments.
To obtain a ready to use target file:
- build the project with
mvn package - copy the file
target/slingfeature-tmp/main.jsonto your own project - adjust the metadata from the feature file as needed ( id, title, etc )
Legacy artifact
For applications still using the older slf4j 1.x and javax.servlet APIs a bundle with the 'legacy' classifier is built.
This bundle is not included in the feature model used for local development and integration tests and needs to be deployed manually in the applications that consume it.
Installing Sling Org Apache Sling
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/apache/sling-org-apache-sling-mcp-serverFAQ
Is Sling Org Apache Sling MCP free?
Yes, Sling Org Apache Sling MCP is free — one-click install via Unyly at no cost.
Does Sling Org Apache Sling need an API key?
No, Sling Org Apache Sling runs without API keys or environment variables.
Is Sling Org Apache Sling hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Sling Org Apache Sling in Claude Desktop, Claude Code or Cursor?
Open Sling Org Apache Sling on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Sling Org Apache Sling with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
