
Study Design Diagram Studio WebMCP
io.github.Black-Swan-Causal-Labs由 GitHub 账号 Black-Swan-Causal-Labs 发布v1.0.0更新于 Oct 24, 2026
Read and edit a live study design canvas through its predefined WebMCP tools.
发布方自己的服务:Diagram
概览
让助手读取、编辑、校验并导出 Study Design Diagram Studio 浏览器应用中当前打开的流行病学研究设计图。
- 可以做什么
- 读取当前研究规格及其修订版本号
- 新增、修改、删除和重排时间轴窗口与设计元素
- 更新研究级元数据、导入完整规格或清空画布
- 执行完整性检查并查看待审项,以及在不触发下载的情况下导出 SVG 示意图
- 适用场景
- 当你在该工作室中绘制或审阅流行病学研究设计图,并希望助手进行结构化修改、检查完整性或取出示意图,同时你继续在同一画布上工作时适用。
- 运行要求
- 需要一个支持自定义授权请求头的远程 Streamable HTTP MCP 客户端。在工作室中开启临时连接,并把 Authorization 请求头设为复制到的完整值。工作室标签页必须保持打开,密钥两小时后过期。未实现 OAuth 发现。
安装
在 SourceWeft 中
- 打开 控制台中的 Study Design Diagram Studio WebMCP,将其添加到工作区。
- 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.Black-Swan-Causal-Labs%2Fsdds-webmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"study-design-diagram-studio-webmcp": {
"type": "http",
"url": "https://sdds-webmcp-bridge.jdiazdecaro.workers.dev/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}README
Study Design Diagram Studio
A browser workspace by Black Swan Causal Labs for creating, reviewing, and exporting epidemiologic study design diagrams.
Live app: https://sdds.blackswancausallabs.com
Features
- Model washout, inclusion, exclusion, covariate assessment, and follow-up windows relative to an index event.
- Edit window dates by dragging timeline edges or entering values, with keyboard controls and Undo.
- Record study details, assessment rules, source notes, footnotes, and abbreviations.
- Save and import structured JSON; export SVG, PDF, and editable PowerPoint diagrams.
- Review a completeness checklist and work with a compatible browser agent through 10 WebMCP tools.
The workspace is session-only. Use Save JSON to preserve edits before leaving. The preloaded example was transcribed from a reference figure and has not been verified against its manuscript. Completeness checks establish information presence, not methodological validity or source accuracy. The app does not extract information from PDFs.
Connect an AI agent
The app exposes ten predefined tools for reading, editing, validating, and exporting the current study design. Human and agent edits share the same canvas and Undo history. There are two ways to connect:
For a remote MCP client:
- Open Study Design Diagram Studio, select Connect MCP, then Enable connection.
- Add
https://sdds-webmcp-bridge.jdiazdecaro.workers.dev/mcpto your client. Set itsAuthorizationheader to the complete copied value, includingBearer, or use Copy MCP config if the client accepts that format. - Keep the tab open. Ask the agent to read the current study specification before editing; mutations require its latest revision.
- Select Disconnect to revoke access. Closing or reloading the page also ends the session. Keys expire after two hours; reconnect for a new key.
The remote bridge is published in the official MCP Registry as io.github.Black-Swan-Causal-Labs/sdds-webmcp. Its metadata is in server.json; see the bridge README for detailed connection, session, development, and deployment instructions.
A website URL alone does not enable arbitrary agents to use WebMCP. Native access needs browser and agent support; remote access needs pairing and custom-header support. The bridge currently does not implement OAuth discovery.
Pairing is optional and sends study tool arguments and results through the Cloudflare relay to the connected agent provider. Anyone with the temporary key can invoke that canvas's tools while connected. Loading the page does not create a relay session, and native WebMCP works without this relay; the browser agent's own data handling still applies.
Local development
Requires Node.js 22.13 or later and npm. Node.js 24 was used for the initial deployment.
Create and preview a production build:
The app uses React, TypeScript, Vite, Tailwind CSS, Zod, jsPDF, and PptxGenJS. The studio is a static application. Its optional remote MCP bridge runs separately on Cloudflare Workers and Durable Objects; ordinary manual editing and native WebMCP do not require a paired relay session.
Cloudflare deployment
The existing Cloudflare Pages project is sdds, with production branch main and build output dist.
From a checkout with access to the Cloudflare account:
Wrangler opens authentication in your default browser. The Pages project and custom domain are already configured; normal redeployments do not require recreating them. For a new environment, create a separate Pages project and add its custom domain through Cloudflare's Pages dashboard.
Deployment is currently manual through Wrangler. Pushing to this GitHub repository does not automatically deploy to Cloudflare. Never commit Cloudflare tokens, .env files, .dev.vars files, or local Wrangler state.
WebMCP tool reference
The app detects document.modelContext, with a fallback to navigator.modelContext. Manual editing remains available in browsers without WebMCP support. Tools operate on the current page's in-memory study, and mutations require expected_revision to protect against stale edits.
Unknown dates are represented by null; unresolved text stays blank. Source notes should distinguish documented evidence from researcher-defined choices.
Source layout
components/study/: editor, timeline, and information panelscomponents/ui/: reusable interface componentslib/study/: schema, validation, timeline layout, export, and WebMCP toolsapp/globals.css: application stylingpublic/: PDF font and its licensevendor/: vendored stylesheet and its license
Licensing and contact
The original canvas application, native WebMCP integration, and remote MCP bridge are licensed under the Apache License 2.0. Copyright 2026 Black Swan Causal Labs, LLC. See NOTICE.
Third-party components retain their own licenses; see THIRD_PARTY_NOTICES.txt, public/DejaVu-font-license.txt, and vendor/shadcn-tailwind-4.13.0.LICENSE.md. The software license does not change rights in user-provided study content or third-party reference material, or grant trademark rights. License and notice files are also distributed with the deployed app.
Black Swan Causal Labs: https://blackswancausallabs.com · [email protected]
来源:README.md,提交 16b760c
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Diagram 集成

Diagram
la.diagram官方发布者
保存助手绘制的图,并返回一个可分享的链接,图被编辑后该链接保持有效。

Zovo Venn
由 GitHub 账号 theluckystrike 发布
比较 2 或 3 个列表并绘制维恩图,返回区域表格、计数以及 SVG、PDF 或 CSV 下载文件。

Zovo Use Case Diagram
由 GitHub 账号 theluckystrike 发布
根据简短的行式语法绘制 UML 用例图,可下载 PDF、SVG 和 CSV,并检查用例图文本中的问题。

Zovo State Diagram
由 GitHub 账号 theluckystrike 发布
根据简短的行式语法绘制 UML 状态机图,并检查状态机中的不可达状态、死胡同和重复转换。

Zovo Sequence Diagram
由 GitHub 账号 theluckystrike 发布
把简短的逐行语法文本转成 UML 时序图,提供 PDF、SVG 和 CSV 下载,也可只校验文本而不绘图。