MsgStack
Developer Documentation

Integrate the Canon Layer into your AI workspace.

MsgStack is built on the Model Context Protocol (MCP). It exposes your organizational truth as a set of tools that any AI assistant (Claude, Cursor, ChatGPT) can use to ground its reasoning.

Connect to Claude Desktop

Add MsgStack to your local AI environment in seconds. Open your Claude configuration file and inject the server endpoint.

claude_desktop_config.json

{
  "mcpServers": {
    "msgstack": {
      "url": "https://mcp.abidc.dev/mcp"
    }
  }
}
Note: For self-hosted deployments, replace the URL with your own server address (e.g., http://localhost:8001/mcp).

5-Minute Quickstart

01
Add the URL

Paste the MsgStack server URL into your MCP client config. No install required for the hosted version.

02
Connect

Reload your MCP client (Claude Desktop, Cursor). MsgStack appears as a connected server.

03
Discover

Run 'list_canon_domains' to see available truth frameworks.

04
Set Active

Select a domain (e.g., 'Message House') to pin your grounding context.

05
Ground

Use 'generate_artifact' to create cited, approved content.

Standard MCP Toolset

The MsgStack server exposes four categories of tools to your AI assistants.

Discovery & Grounding

Identify available truth layers and perform hybrid retrieval.

list_canon_domainssearch_canonget_canon_domain

Artifact Generation

Turn grounded context into marketing, legal, or technical docs.

generate_artifactbuild_ui_artifact

Governance & Review

Audit your canon layer and score third-party text for drift.

check_domain_completenessscore_alignment

Session Management

Manage the stateful grounding context for the current chat.

set_active_domainreset_conversation
Glossary

Concepts & Terminology

To understand MsgStack, you must understand how we distinguish between raw information and governed truth.

The Canon Layer

The organizational layer of approved truth. It sits between your raw data sources and your AI agents, acting as a governance filter for all retrieved context.

Canon Domain

A logical slice of the canon owned by a specific department or team (e.g., the 'Product Marketing Domain' or 'Legal Compliance Domain').

Grounding Type

A schema that defines the shape of a domain. For example, a 'Message House' is a grounding type used by PMMs to structure brand pillars and proof points.

Canon Entry

An individual unit of truth within a domain. An entry could be a single compliance rule, a product feature claim, or an approved headline.

Derived Artifact

Any content generated by an AI agent that is grounded in the canon (e.g., an email sequence, a datasheet, or a technical spec).

Retrieval Fusion

The mechanism of combining deterministic graph traversal (finding exact matches via adjacency) with semantic vector search (finding similar context via embeddings).

Approval-gated Grounding

A governance rule that prevents AI agents from retrieving any canon entries that haven't been explicitly marked as APPROVED or LOCKED.

Governance Lifecycle

The states an entry moves through: DRAFT (private) → IN REVIEW → APPROVED (queryable) → LOCKED (verbatim required) → OUTDATED (archived).

Deeper Reference

Explore the full API documentation, contribution guidelines, and advanced deployment options on GitHub.