Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PulseOps Live WebMCP Tool

Realtime WebMCP testing app for beta previews.

This project demonstrates a production-style browser workflow where an agent can invoke in-page tools and immediately update live UI state.

WebMCP tools exposed

  • triage_live_incident
  • broadcast_status_update

What this tool does

  • Streams realtime events in the UI
  • Updates KPIs continuously (Open Incidents, Resolved Today, P95 Latency, Customer Impact)
  • Accepts tool calls from Model Context Tool Inspector
  • Returns structured JSON via respondWith(...)
  • Supports human-in-the-loop operation through visible UI updates

Requirements

See REQUIREMENTS.md for full setup matrix.

Quick requirements:

  • Chrome build with WebMCP testing support enabled
  • chrome://flags -> enable WebMCP for testing
  • Model Context Tool Inspector
  • Python 3.9+ (for local static server)

Run locally

git clone https://github.com/vijaychauhanseo/webmcp-pulseops-live.git
cd webmcp-pulseops-live
python3 -m http.server 8080

Open: http://localhost:8080/index.html

Test with Inspector

Tool 1: triage_live_incident

{
  "service": "Payments",
  "severity": "Sev-1",
  "symptom": "Card auth timeout above 12%",
  "impact": "High"
}

Expected result:

  • Tool output panel returns incident payload
  • Realtime stream appends a new incident event
  • KPI cards reflect changed impact/latency/open incidents

Tool 2: broadcast_status_update

{
  "audience": "Customers",
  "tone": "Calm",
  "facts": "Mitigation in progress and latency has started trending down"
}

Expected result:

  • Tool output panel returns message draft payload
  • Realtime stream appends comms event

Project structure

  • index.html -> WebMCP declarative tool forms + UI shell
  • styles.css -> realtime dashboard design system
  • script.js -> stream engine, KPI logic, tool handlers
  • assets/pulseops-realtime-screenshot.png -> app screenshot

Notes for beta testers

  • If tools show activated but no response, hard refresh and re-run.
  • Ensure toolautosubmit is present and extension has page access.
  • This app is intentionally frontend-only for fast WebMCP prototyping.

License

MIT (see LICENSE).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages