alfresco-mcp-sample
How to use Alfresco MCP Server in a sample project
Install / Use
claude mcp add aborroy -- npx -y github:aborroy/alfresco-mcp-sampleIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
OperationsSupported Platforms
Skill content
View source on GitHubAlfresco MCP Sample
This project demonstrates how to use Alfresco MCP Server in a sample project:
- Run the Alfresco MCP Server
- Call it from a small Spring Boot agent
- Trigger that agent from ACA
Tested With
- Alfresco MCP Server
1.1.0- Alfresco MCP Server image
angelborroy/alfresco-mcp-server:1.1.0
- Alfresco MCP Server image
- Spring AI
1.1.4 - Java
21 - Docker Model Runner model
ai/gpt-oss
Start Here
Prerequisites
- Alfresco Content Services running at
http://localhost:8080 - Docker Desktop with Model Runner enabled
- A model pulled in Model Runner:
docker model pull ai/gpt-oss
1. Configure the repo
cp .env.example .env
For the core demo, the default values are enough in most local setups.
2. Start the core services
docker compose up -d
This starts:
- Phase 1: Alfresco MCP Server on
http://localhost:8003/mcp - Phase 2: Summarization agent on
http://localhost:8081 - Phase 3: ACA extension on
http://localhost:4200
3. Check the agent
curl http://localhost:8081/health
Expected response:
{"status":"ok","mcp_server":"http://host.docker.internal:8003/mcp","model":"ai/gpt-oss"}
4. Get an Alfresco ticket
curl -s -X POST http://localhost:8080/alfresco/api/-default-/public/authentication/versions/1/tickets \
-H "Content-Type: application/json" \
-d '{"userId": "admin", "password": "admin"}'
5. Summarize a document
curl -X POST http://localhost:8081/summarize/<nodeId> \
-H "X-Alfresco-Ticket: TICKET_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
The agent:
- Calls
get_pdf_rendition - Extracts text with PDFBox
- Calls the LLM
- Writes the summary back with
update_node_properties
6. Use the UI
Open http://localhost:4200 and use default credentials admin/admin
Choose action Summarize Description for a document, cm:description will be updated after a while with the summary.
Architecture
POST /summarize/{nodeId}
-> Spring Boot agent
-> MCP tool: get_pdf_rendition
-> LLM summary
-> MCP tool: update_node_properties
All Alfresco operations go through the MCP server. The agent does not call Alfresco REST directly.
Authentication
Tickets are passed at runtime:
- HTTP clients send
X-Alfresco-Ticket - The agent forwards that value as
alf_ticketin each MCP tool call - MCP Inspector users pass
alf_ticketdirectly in tool arguments
Tickets are not stored in .env.
Recommended Reading Order
- phase-1-mcp-server/README.md
- phase-2-agent/README.md
- phase-3-aca-extension/README.md for the UI integration
Related Skills
momen-cursurrules-prompt-file
40.6kCursor rules for building custom frontends with Momen.app as headless BaaS with GraphQL API, actionflows, AI agents, and Stripe integration.
semiotic-react-dataviz-cursorrules-prompt-file
40.6kCursor rules for Semiotic data visualization library with 30+ chart types, MCP server, and AI-assisted chart generation.
Agent-Reach
72.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
68.0k🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
