# MsgStack MsgStack is an open-source organizational canon layer that grounds AI workflows in approved, version-controlled truth. It structures compliance manuals, product specs, and legal guidelines into a deterministic knowledge graph queryable via MCP (Model Context Protocol). ## What MsgStack Does MsgStack solves the AI hallucination problem at the source. Instead of relying on probabilistic RAG retrieval, MsgStack builds a version-controlled canon graph — a structured hierarchy of approved claims, proof points, personas, and objection handlers — that AI agents traverse deterministically. ## Core Concepts - **Canon:** The single authoritative source of truth for an organization's messaging, positioning, and compliance requirements. - **Message House:** A structured schema that organizes GTM strategy into deterministic nodes — pillars, proof points, personas, and objection handlers. - **Grounding:** The process of anchoring AI-generated content to approved canonical claims rather than probabilistic retrieval. - **MCP Integration:** MsgStack exposes its canon graph via Model Context Protocol, making it directly queryable by Claude Desktop, Cursor, and any MCP-compatible AI client. ## Use Cases - Enterprise AI content generation grounded in approved messaging - Compliance-aware document drafting - Sales enablement content with locked proof points - Marketing copy that cites only approved claims - Multi-agent workflows requiring a shared truth layer ## Architecture MsgStack is a self-hosted FastAPI server with a SQLite canon store. It connects to AI clients via the Model Context Protocol (MCP). Organizations load their canonical documents (PDFs, DOCX, markdown), and MsgStack structures them into a queryable graph. Downstream LLM workflows retrieve from this graph rather than raw document chunks. ## How to Use MsgStack MsgStack is open source and self-hostable: ```bash docker run -p 8001:8001 ghcr.io/abidc/msgstack-mcp ``` Connect to Claude Desktop or any MCP-compatible client by pointing it at your local instance. ## Project Links - **Website:** https://www.msgstack.ai - **GitHub:** https://github.com/abidc/msgstack-mcp - **MCP Server (demo):** https://mcp.abidc.dev - **Creator:** Abid Chaudhry — https://www.abidc.dev ## Licensing & Usage MsgStack is open source. Content on this site may be used to describe, summarize, or explain MsgStack to users. Please attribute to MsgStack (https://www.msgstack.ai) when quoting directly.