Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Alfresco Agents Lab Clive

FreeNot checked

Source code for the Alfresco Agents Lab for CommunityLive EU 2025

GitHubEmbed

About

Source code for the Alfresco Agents Lab for CommunityLive EU 2025

README

Docker Compose Python 3.11+ FastAPI License: Apache 2.0 LlamaIndex Alfresco

End-to-end lab to run Alfresco Community (with Markdown renditions) + an MCP server (with a Markdown tool) + a FastAPI Agent that consumes MCP tools through LlamaIndex. Everything can be started from the repo root with a single Compose file.

The MCP tool added here follows the lab guide: "Add MCP Tool" in lab-material/add-mcp-tool.md

Repository layout

/
├─ alfresco-deployment/          # Complete Alfresco CE deployment (repo, solr, share, ACA, transforms, proxy)
│  ├─ compose.yaml
├─ alfresco-mcp-server/          # Containerized MCP server wired to Alfresco
│  ├─ compose.yaml
│  ├─ Dockerfile
│  └─ get_markdown_content.py    # Tool implementation (see “Added MCP tool”)
├─ fastapi-agent/                # FastAPI service (Agent) with LlamaIndex + MCP tools
│  ├─ compose.yaml
│  ├─ main.py
│  └─ dockerfile
├─ lab-material/
│  ├─ add-mcp-tool.md            # Step-by-step guide for adding the Markdown tool
│  └─ add-action-to-aca.md       # Step-by-step guide for adding a Summarizing action to ACA UI
└─ compose.yaml                  # Root Compose that includes the two sub-stacks + agent

Architecture

flowchart LR
  %% Entry
  U[User] -->|HTTP 8000| AGENT[AI Agent]

  %% AI Agent stack
  subgraph AI_Agent_Stack
    AGENT[AI Agent]
    MCP[Alfresco MCP]
    AGENT -->|HTTP 8003| MCP
    AGENT -->|HTTP 11434, gpt-oss| OLLAMA[Ollama runtime]
  end

  %% Alfresco core
  subgraph Alfresco_Repository
    REPO[Alfresco Repository]
    TMD[Transform MD convert2md]
    REPO -->|HTTP 8090| TMD
  end

  %% LLM runtime
  subgraph LLM
    OLLAMA[Ollama runtime]
  end

  %% Cross stack links
  MCP -->|HTTP 8080| REPO
  TMD -->|HTTP 11434,llava| OLLAMA

Running

  1. Prereqs
  • Docker Desktop / Engine with Docker Compose v2 (supports include: in compose.yaml)

  • Ollama running on your host with required models

    # for the Markdown transformer
    ollama pull llava
    ollama pull mxbai-embed-large
    # for the agent (or change OLLAMA_MODEL in .env)
    ollama pull gpt-oss
    

    Ollama should listen on http://localhost:11434 (used via host.docker.internal inside containers)

Note: If you are using Linux, check the specific instructions at https://github.com/aborroy/alfresco-agents-lab-clive/issues/1#issuecomment-3391212961

  1. Up the full stack from the repo root
docker compose up --build
  1. Open the UIs

To login into Alfresco UI use the credentials

user = admin
password = admin

Using the Agent

The Agent consumes MCP tools from alfresco-mcp-server and runs prompts with your chosen LLM

Run an agent turn, like in following samples

curl -sS http://localhost:8000/agent \
  -H "Content-Type: application/json" \
  -d '{"prompt":"What tools do you have?","instructions": "Be helpful and concise"}'
curl -sS http://localhost:8000/agent \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Fetch Markdown for node 947c51e2-6ffd-4eb8-bc51-e26ffd1eb8b6 and summarize it"}'

Lab Guides

The repository includes practical tutorials:

Guide Description
Add MCP Tool Explains how to develop and register a new MCP tool to access Alfresco content
Add Action to ACA Describes how to extend Alfresco Content App to trigger the AI summarization process

Each guide is designed to be followed independently, but together they form a complete learning path from zero to AI-enhanced Alfresco

Development Notes

You can rebuild or tweak individual components using their internal compose.yaml files

For example, to develop and test the MCP server alone:

cd alfresco-mcp-server
docker compose up --build

To run the FastAPI agent in local development mode:

cd fastapi-agent
uvicorn main:app --reload --port 8000

Related Resources

from github.com/aborroy/alfresco-agents-lab-clive

Installing Alfresco Agents Lab Clive

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/aborroy/alfresco-agents-lab-clive

FAQ

Is Alfresco Agents Lab Clive MCP free?

Yes, Alfresco Agents Lab Clive MCP is free — one-click install via Unyly at no cost.

Does Alfresco Agents Lab Clive need an API key?

No, Alfresco Agents Lab Clive runs without API keys or environment variables.

Is Alfresco Agents Lab Clive hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Alfresco Agents Lab Clive in Claude Desktop, Claude Code or Cursor?

Open Alfresco Agents Lab Clive 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

Compare Alfresco Agents Lab Clive with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs