Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Study Design Diagram Studio WebMCP

БесплатноНе проверен

Read and edit a live study design canvas through its predefined WebMCP tools.

GitHubEmbed

Описание

Read and edit a live study design canvas through its predefined WebMCP tools.

README

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:

Connection Requirements Setup
Native WebMCP A WebMCP-capable browser and agent Open the studio and let the agent discover the page's tools
Remote MCP bridge A Streamable HTTP MCP client that supports custom authorization headers Enable a temporary connection in the studio and configure the client with its URL and key

For a remote MCP client:

  1. Open Study Design Diagram Studio, select Connect MCP, then Enable connection.
  2. Add https://sdds-webmcp-bridge.jdiazdecaro.workers.dev/mcp to your client. Set its Authorization header to the complete copied value, including Bearer , or use Copy MCP config if the client accepts that format.
  3. Keep the tab open. Ask the agent to read the current study specification before editing; mutations require its latest revision.
  4. 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.

npm ci
npm run dev

Create and preview a production build:

npm run build
npm run preview

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.

Setting Value
Custom domain sdds.blackswancausallabs.com
Pages hostname sdds-1wj.pages.dev
Wrangler configuration wrangler.json
DNS record CNAME sddssdds-1wj.pages.dev

From a checkout with access to the Cloudflare account:

npm ci
npx wrangler login
npm run build
npx wrangler pages deploy dist --project-name sdds --branch main

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.

Tool Purpose
get_study_spec Read the current specification and revision
update_design_element Update a window
add_design_element Add a window
remove_design_element Remove a window
reorder_design_elements Reorder timeline rows
update_study_details Update study-level metadata
import_study_spec Replace the current specification
clear_study_spec Start a blank design
validate_study_spec Read completeness checks and review items
export_schematic Return SVG without triggering a download

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 panels
  • components/ui/: reusable interface components
  • lib/study/: schema, validation, timeline layout, export, and WebMCP tools
  • app/globals.css: application styling
  • public/: PDF font and its license
  • vendor/: 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]

from github.com/Black-Swan-Causal-Labs/study-design-diagram-studio

Установка Study Design Diagram Studio WebMCP

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/Black-Swan-Causal-Labs/study-design-diagram-studio

FAQ

Study Design Diagram Studio WebMCP MCP бесплатный?

Да, Study Design Diagram Studio WebMCP MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Study Design Diagram Studio WebMCP?

Нет, Study Design Diagram Studio WebMCP работает без API-ключей и переменных окружения.

Study Design Diagram Studio WebMCP — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Study Design Diagram Studio WebMCP в Claude Desktop, Claude Code или Cursor?

Открой Study Design Diagram Studio WebMCP на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

LibreOffice Tools

Enables AI agents to read, write, and edit Office documents via LibreOffice with token-efficient design. Supports multiple formats including DOCX, XLSX, PPTX, a

passerbyflutterавтор: passerbyflutter

dannote/figma-use

Full Figma control: create shapes, text, components, set styles, auto-layout, variables, export. 80+ tools.

dannoteавтор: dannote

Logo.dev

Search and retrieve company logos by brand or domain. Customize size, format, and theme to match your design needs. Accelerate design, prototyping, and content

NOVA-3951автор: NOVA-3951

Design Inspiration Server

Searches top design platforms like Dribbble and Behance to provide UI inspiration, color palettes, and layout patterns via the Serper API. It allows users to re

YonasValentinавтор: YonasValentin

PIX4Dmatic

Enables GUI automation for controlling PIX4Dmatic on Windows through MCP. Supports launching, focusing, capturing screenshots, sending hotkeys, clicking UI elem

jangjo123автор: jangjo123

Figma

Extract design specs and assets

Figmaавтор: Figma

mcp-dockmaster

An Open-Sourced UI to install and manage MCP servers for Windows, Linux and macOS.

автор: Community

ariekogan/ateam-mcp

Build, validate, and deploy multi-agent AI solutions on the ADAS platform. Design skills with tools, manage solution lifecycle, and connect from any AI environm

ariekoganавтор: ariekogan

thinkchainai/mcpbundles

MCP Bundles: Create custom bundles of tools and connect providers with OAuth or API keys. Use one MCP server across thousands of integrations, with programmatic

thinkchainaiавтор: thinkchainai

arikusi/nakkas

MCP server that turns AI into an SVG artist. One rendering engine with JSON config, AI controls all design parameters. CSS @keyframes + SMIL animations, 16+ ele

arikusiавтор: arikusi

Compare Study Design Diagram Studio WebMCP with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории design