Skip to content

[WidgetsMCP]: First look at the open targets widgets-mcp#998

Open
carcruz wants to merge 6 commits into
mainfrom
cc-mcp-ui
Open

[WidgetsMCP]: First look at the open targets widgets-mcp#998
carcruz wants to merge 6 commits into
mainfrom
cc-mcp-ui

Conversation

@carcruz

@carcruz carcruz commented Jul 9, 2026

Copy link
Copy Markdown
Member

[WidgetsMCP]: First look at the open targets widgets-mcp

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have made corresponding changes to the documentation

Adds a new MCP (Model Context Protocol) server that exposes Open Targets
data visualisation widgets as MCP App tools for use in Claude Desktop.

- Express HTTP server with Streamable HTTP MCP transport
- Widget tools auto-generated from the sections registry (target, disease,
  drug, evidence, credible-set, variant, study entities)
- Server-side GraphQL prefetch via ot_fetch_widget_data tool, working
  around Claude Desktop bug #696 that strips structuredContent from
  tool-result notifications
- IIFE widget bundles built with Vite, inlined into HTML shells served
  as MCP App resources
- Molecular structure widget with AlphaFold 3D viewer (manual entry)
- Dockerfile for Cloud Run deployment (max-instances=1 for session
  stickiness); stdio transport for local Claude Desktop use via mcp-remote
carcruz added 5 commits July 11, 2026 15:24
- Updated SectionDef to remove prefetch-related properties and directFetch flag.
- Modified SECTION_REGISTRY to reflect changes in widget definitions.
- Simplified widget derivation logic in index.ts, removing prefetch handling.
- Adjusted molecularStructureWidget to fetch data directly from the iframe.
- Cleaned up types related to prefetching in types.ts.
- Removed unused prefetch data handling and fetch interceptor logic in createWidgetEntry.tsx.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant