Conversation
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
- 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.
…nd improved link handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[WidgetsMCP]: First look at the open targets widgets-mcp
Type of change
Checklist: