Skip to main content
Glama

ContextBridge: Incident-to-PR Context Graph and Rovo/MCP Copilot

Built for Atlassian Codegeist 2026 (Apps for Software Teams, Best Rovo Agent, Best App with Atlassian MCP, Best Teamwork Graph Integration).

ContextBridge Jira Issue Panel Preview

ContextBridge connects Jira incidents, historical Confluence postmortems, Bitbucket/GitHub pull requests, and service runbooks into a deterministic multi-hop Incident Context Graph inside Jira, Rovo, and external MCP clients.

What It Solves

During a SEV-1 outage, responders waste critical minutes jumping across Jira tickets, stale Confluence runbooks, old postmortems, and recent pull requests. ContextBridge indexes those cross-product relationships once and exposes them everywhere:

  1. Jira Issue Panel (jira:issuePanel): Interactive SVG Context Graph, Blast Radius & Runbook Drift KPIs, Timeline, Stale-Doc Detector, Rovo Prompt Simulator, and 1-click Confluence RCA Draft preview.

  2. Rovo Agent (rovo:agent + action): ContextBridge Incident Copilot with 4 grounded actions (get-incident-context-graph, draft-confluence-rca, detect-stale-runbooks, create-followup-tasks).

  3. Atlassian Forge MCP Server (rovo:mcp): 4 typed tools whose manifest keys are list-incident-context, trace-decision-lineage, draft-postmortem-rca, and audit-stale-runbooks. The same names are in skill.md. Rovo action keys stay separate: get-incident-context-graph, draft-confluence-rca, detect-stale-runbooks, create-followup-tasks.

  4. Teamwork Graph connector (src/graph/teamworkGraph.ts): Maps Jira issues, Confluence pages, pull requests, Compass components, and owners into ARIs. Each record sets discoveredVia to teamwork-graph-api or seeded-demo-graph. The standalone fixture path writes seeded-demo-graph. The GitHub Pages preview is that seeded graph, not a live Teamwork Graph read.

Related MCP server: mcp-lab

Project Structure

manifest.yml                   # Atlassian Forge manifest (nodejs24.x, panel, rovo:agent, rovo:mcp)
skill.md                       # Open-source Atlassian MCP Agent Skill
DEPLOY_CHECKLIST.md            # 3-minute Forge CLI deploy & Devpost share-link steps
src/
  types.ts                     # Shared graph, Rovo, MCP, ADF, and Teamwork Graph types
  data/demoFixtures.ts         # Deterministic incident fixtures (INC-402, INC-389, fallback)
  graph/contextEngine.ts       # Multi-hop BFS traversal, blast-radius & stale-runbook scoring
  graph/teamworkGraph.ts       # Teamwork Graph ARI ingestion & cross-product density
  rovo/actions.ts              # Rovo action handlers + Markdown & ADF v1 RCA generator
  mcp/tools.ts                 # Typed MCP tool registry + JSON-RPC 2.0 handler
  resolvers/index.ts           # Forge Resolver & @forge/api live/demo adapter
static/panel/                  # React + Vite Custom UI (--base=./)
tests/                         # Vitest suite covering manifest, graph, Rovo, MCP, Teamwork Graph

Quick Start

npm install
npm test        # Vitest. Verified 2026-11-27: 6 files, 32 passed, 32 total (Vitest 2.1.9)
npm run build   # Typecheck backend + build Custom UI bundle to static/panel/dist

The long case in tests/mcp-and-manifest.test.ts runs @forge/manifest full validation and expects 0 errors and 0 warnings. app.id stays a placeholder until forge register.

See DEPLOY_CHECKLIST.md for Atlassian Cloud deployment commands. From a GitHub clone the root is contextbridge-codegeist. In this monorepo the same app lives at devpost/codegeist-2026-contextbridge.

License

MIT. See LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides MCP tools to search engineering runbooks and historical incidents using semantic retrieval, supporting evidence-grounded incident investigation.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching incidents and runbooks, retrieving incident details by URI, and creating postmortem summary prompts through MCP tools, resources, and prompts.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients such as Claude Code and Cursor to search a team's Confluence architecture decision records, check a planned change or Jira issue against past decisions before picking a library, datastore, or API style, and record new decisions that can supersede older ones.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables authenticated MCP clients to manage versioned research documents, work items, and immutable notes, and to run scheduled static security audits over selected GitHub repositories through a configured AI provider.
      AGPL 3.0