Skip to content

MCP citation visualisation #4

@sourcehawk

Description

@sourcehawk

Visualise citations inline in chat windows so the operator can verify the agent's sources without leaving the session. Two providers:

Slack — when a Slack token is configured:

  • Read the citations from the tool call output.
  • Resolve each one via the Slack API (not the MCP).
  • Render a collapsed view with citations shown as circular Slack icons.
  • Expanding a citation reveals the message or thread rendered for human readability — username, timestamp, message body, etc.

GitHub — citations come back from the git MCP:

  • Render a collapsed view with citations shown as circular GitHub icons.
  • Expanding shows the filename (and PR/issue title where applicable) so the operator can click through to open it on GitHub.

This applies everywhere chats are rendered: playbook editors, wiki editors, live session chats, and archived sessions loaded from upstream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions