Alfresco Mcp Sample
БесплатноНе проверенHow to use Alfresco MCP Server in a sample project
Описание
How to use Alfresco MCP Server in a sample project
README
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
Установка Alfresco Mcp Sample
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/aborroy/alfresco-mcp-sampleFAQ
Alfresco Mcp Sample MCP бесплатный?
Да, Alfresco Mcp Sample MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Alfresco Mcp Sample?
Нет, Alfresco Mcp Sample работает без API-ключей и переменных окружения.
Alfresco Mcp Sample — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Alfresco Mcp Sample в Claude Desktop, Claude Code или Cursor?
Открой Alfresco Mcp Sample на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: 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
автор: mcpdotdirectCompare Alfresco Mcp Sample with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
