Description
Enterprise teams store domain knowledge in Confluence. When they try to use AI agents, the agents can't read Confluence effectively — it was written for humans, not machines. Teams end up duplicating docs into markdown, creating a single-source-of-truth problem.
Context Blocks should ingest directly from Confluence spaces, run DDC extraction, and produce typed entities — no manual export or duplication needed. This positions CB as a layer above Confluence, not a replacement.
Nobody in the OSS ecosystem has solved Confluence → typed entity extraction. Existing tools only do Confluence → flat markdown chunks. They lose diagram semantics, entity typing, quality classification, and gap detection.
Phased approach
Phase 1 — Document the export workflow (no code)
- Document using
confluence2md or confluence-markdown-exporter as a pre-step, then cb extract as normal
- Add to README as a supported ingestion workflow
- Immediate value, zero engineering effort
Phase 2 — MCP connector (recommended primary path)
- Atlassian's official remote MCP server went GA Feb 2026 — Claude can read/write Jira + Confluence via MCP
- Add
cb ingest --source confluence-mcp --space <SPACE> that pulls pages via MCP protocol
- Runs pages through DDC extraction pipeline → typed entities
- No markdown export step, no doc duplication
Phase 3 — Diagram recovery (hard, novel, roadmap)
- draw.io diagrams embedded in Confluence are lost during export (become image references or are dropped)
- Extract draw.io XML via API → pass to LLM → get back Mermaid
- LLM-based XML → Mermaid conversion works well per community reports
- Genuinely novel capability — no existing tool does this
Existing tools to leverage (don't reinvent)
| Tool |
Language |
Notes |
confluence2md |
Go CLI |
Zero deps, embedded pandoc, "LLM/RAG-ready output" |
confluence-markdown-exporter |
Python |
API-based, recursive child pages |
confluence-rag-indexer |
Python |
pip install, pg_vector, skips "Meeting Notes" |
| Atlassian MCP server (official) |
Remote |
GA Feb 2026, read/write Jira + Confluence |
cosmix/confluence-mcp |
Community |
Unofficial MCP server |
| Mermaid AI |
SaaS |
Screenshot → Mermaid via image recognition |
| FlowForge |
Research |
draw.io → Mermaid conversion |
Acceptance Criteria
Out of Scope
- Writing back to Confluence
- Real-time sync / webhook-based updates
- Jira ingestion (separate issue, related)
Description
Enterprise teams store domain knowledge in Confluence. When they try to use AI agents, the agents can't read Confluence effectively — it was written for humans, not machines. Teams end up duplicating docs into markdown, creating a single-source-of-truth problem.
Context Blocks should ingest directly from Confluence spaces, run DDC extraction, and produce typed entities — no manual export or duplication needed. This positions CB as a layer above Confluence, not a replacement.
Nobody in the OSS ecosystem has solved Confluence → typed entity extraction. Existing tools only do Confluence → flat markdown chunks. They lose diagram semantics, entity typing, quality classification, and gap detection.
Phased approach
Phase 1 — Document the export workflow (no code)
confluence2mdorconfluence-markdown-exporteras a pre-step, thencb extractas normalPhase 2 — MCP connector (recommended primary path)
cb ingest --source confluence-mcp --space <SPACE>that pulls pages via MCP protocolPhase 3 — Diagram recovery (hard, novel, roadmap)
Existing tools to leverage (don't reinvent)
confluence2mdconfluence-markdown-exporterconfluence-rag-indexercosmix/confluence-mcpAcceptance Criteria
cb ingest --source confluencepulls pages from a Confluence space and extracts entitiesOut of Scope