ContextBridge MCP Server
README.md
# 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).
- **Live interactive demo (GitHub Pages):** https://alphonshhhomenicmtu.github.io/contextbridge-codegeist/ (HTTP 200 on 2026-11-27)
- **8-slide architecture deck (PDF):** https://alphonshhhomenicmtu.github.io/contextbridge-codegeist/contextbridge-deck.pdf (HTTP 200 on 2026-11-27; local [`docs/contextbridge-deck.pdf`](./docs/contextbridge-deck.pdf), 1,050,720 bytes)
- **GitHub repository:** https://github.com/alphonshhhomenicmtu/contextbridge-codegeist
- **Narrated demo, local Devpost upload:** [`docs/demo-narrated-1080p.mp4`](./docs/demo-narrated-1080p.mp4). H.264 + AAC stereo, 71.3 s, 3,596,902 bytes, probed 2026-11-27. The same filename on GitHub Pages returns HTTP 404. Codegeist still needs a public video under 5 minutes; upload this file on the form. An earlier local cut, `docs/demo-1080p.mp4` (66.4 s, 3,157,874 bytes), is listed in `.gitignore` and is not the upload.

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`](./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.
## Project Structure
```text
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
```bash
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](./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](./LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues