Skip to main content
Glama
ScientificFigureLibrary

ScientificFigureLibrary

by xuzhougeng

Scientific Figure Library

Website · 简体中文 · Quickstart · User Guide (online) · Protocol · Releases · Wisp Science

Scientific Figure Library (SFL) is a local-first MCP server and MCP App for your scientific figures. You import a figure and its code, review them, publish an immutable Release to one global Library on your machine, then reuse that exact template across projects in Claude Science, Wisp Science, Codex, Cursor, Pi, dsh, and other stdio MCP hosts.

The Library stays on disk you choose. Nothing is copied into every project until you confirm a materialization. The server does not execute plotting code and does not contain a second model: the host agent inspects files; SFL hashes, versions, gates, and publishes them.

The default retrieval order is Local Published → FigureYa → Open Figure Modules → enabled dynamic personal Providers. The bundled Community snapshot is retained for explicit compatibility, but is frozen and excluded from default search (includeInDefaultSearch: false). The source of truth for your own figures is always Local Published.

A bundled extra catalog may currently contain zero releases after an authorized redaction; that is a healthy empty source, not a failure, and default search continues across other providers.

Local client preview

Separate native macOS Apple Silicon and Intel DMGs, a per-user Windows installer, plus Windows and Linux ZIPs with bundled Node, are available through the local-client release workflow. Both bundled-Node and no-node editions (requiring installed Node.js 22+) omit gallery images and download previews on demand. See installation and preview limitations. The macOS preview is ad-hoc signed and is not notarized.

Related MCP server: pubmed-search

Install with a coding agent

Node.js 22+ is required. Do not execute user plotting code. After install, bind one global Library directory on disk; if setup_required, also bind a Local workspace before searching.

Pi

Install the published npm package. Do not pi install a GitHub URL or git clone: the repository does not contain dist/, so MCP cannot start.

pi install npm:pi-mcp-adapter
pi install npm:scientific-figure-library

Restart Pi. The package loads the figure-library Skill and registers the stdio MCP server through pi-mcp-adapter. If you already copied a local SFL app MCP config into ~/.config/mcp/mcp.json or .mcp.json, skip pi install npm:scientific-figure-library — that duplicates tools.

Paste this request:

Install Scientific Figure Library for Pi.
Run: pi install npm:pi-mcp-adapter
Then: pi install npm:scientific-figure-library
Restart Pi. Do not clone the GitHub repo and do not add a second
figure-library MCP entry. First test: figure_library_get_skill, then
figure_library_source_status. If setup_required, bind the global Library
and Local workspace. Tell me when I need to restart Pi.

DeepSeek Harness (dsh)

--profile is required. Use web unless you run another profile.

dsh plugin --profile web add scientific-figure-library

Restart the profile (dsh --profile web or dsh web). The bundle registers the Skill and mounts @deepseek-ai/dsh-mcp-client against this package. If you already added a dsh MCP client row for a local SFL app, do not also run dsh plugin add scientific-figure-library.

Paste this request:

Install Scientific Figure Library for DeepSeek Harness.
Run: dsh plugin --profile web add scientific-figure-library
Restart the web profile. Do not clone the GitHub repo and do not add a
second figure-library MCP row. First test: figure_library_get_skill, then
figure_library_source_status. If setup_required, bind the global Library
and Local workspace. Tell me when I need to restart dsh.

Claude, Codex, Cursor, Wisp, or another stdio host

Give the agent this repository and the following request:

Install Scientific Figure Library from
https://github.com/xuzhougeng/ScientificFigureLibrary.

Follow docs/QUICKSTART.md. Prefer a GitHub Release ZIP when one is published.
Node.js 22+ is required. Register the stdio MCP server as figure-library
pointing at dist/index.js. For Wisp Science, use npm run package:wisp and
install the generated plugin. For Cursor, use npm run package:cursor and unzip
into ~/.cursor/plugins/local/figure-library/. Bind one global Library directory on disk.
Do not execute user plotting code. First test: open or source_status; if
setup_required, bind the global Library and Local workspace before searching.
Tell me when I need to grant folder access or start a new host session.

Manual steps: docs/QUICKSTART.md.

What is included

  • Local Published library — one user-selected directory, shared across projects and hosts

  • Direct image + code intake, review gates, immutable Revisions and Releases

  • MCP App gallery: browse, exact preview, user confirmation

  • Search, describe, preview, then materialize an exact confirmed template

  • Portable backup / restore / fork of the Library

  • Optional extra search providers; they do not replace local review

  • Open Figure Modules — the same io.github.jarxunlai.personal-figures Provider. A bundled snapshot is only the offline bootstrap. After install, SFL asynchronously checks a signed GitHub feed and atomically switches the local Catalog overlay. Ordinary template updates no longer require repackaging the plugin. Complete module ZIPs are still fetched only for one exact selected materialization.

Bundled figure workflow

The host plugin ZIPs and the npm package used by Pi and dsh include one core figure-library Skill with on-demand description, script-organization and style references. Ordinary MCP hosts can read the same guidance with figure_library_get_skill, browse thumbnails with figure_library_get_candidate_images or resource URIs, and paginate with figure_library_search_page. The MCP App is optional. Approved R/Python runtimes and host execution/image tools are still required when the user asks to draw.

Template details render safe Markdown for the requirement, biological use cases and data profile, with actual input/code/package lists visible. Technical identities and validation state are available in a collapsed area. Historical Local Published/OFM entries remain readable; this update does not rewrite their content or the bundled FigureYa catalog.

First success

Call figure_library_source_status. If writes are disabled, help me bind one
absolute global Library directory (plan then apply after I confirm the path).
Open the workbench and search my Local Published templates. Wait for me to
confirm one card. Then plan materialization into an empty folder I specify.
Do not execute R or Python. Do not redraw the figure.

If the local library is empty, import a figure/code pair, review it, and publish a Release before searching. Full contract: docs/PROTOCOL.md.

Develop from source

Requires Node.js 22+:

Pull requests run tests, type checking, build and MCP smoke across Linux, Windows and macOS. See basic CI for the matrix and merge-check setup. Pushing a stable vX.Y.Z tag packages local clients, host plugins, the npm tarball and the Wisp update feed, then uploads them to the GitHub Release. Maintainers can also configure the optional AI comment bot for manually requested issue suggestions and PR reviews.

git clone https://github.com/xuzhougeng/ScientificFigureLibrary.git
cd ScientificFigureLibrary
npm ci
npm run check
node dist/index.js
{
  "mcpServers": {
    "figure-library": {
      "command": "node",
      "args": ["/absolute/path/to/ScientificFigureLibrary/dist/index.js"]
    }
  }
}

The Library locator is machine-local (locator.json under AppData / XDG). FIGURE_LIBRARY_DIR is an admin override only.

Tools (short list)

Tool

Role

figure_library_plan_bind_global / apply_bind_global

Choose the local Library directory

figure_library_open

Open the MCP App

figure_library_search

Search Local Published (and any enabled extras)

figure_library_plan_working_revision / apply_working_revision

Import a figure+code unit

figure_library_plan_publish_working_revision / apply_publish_working_revision

Publish a Release

figure_library_plan_open_figure_module_pr / apply_open_figure_module_pr

Optional Open Figure Modules GitHub PR

figure_library_plan_materialize / apply_materialize

Copy a confirmed template into a project

The server never runs notebooks, installers, or plot scripts. See SECURITY.md.

Open Figure Modules

Personal modules use one content repository for both cleaned source modules and deterministic archives (no second archive repository):

<PERSONAL_MODULE_REPOSITORY>
├── modules/<moduleId>/       # reviewed, cleaned public module
├── archives/<moduleId>.zip  # deterministic ZIP from a pinned source commit
└── catalog/                  # archive manifest and admission records

The plugin still ships assets/personal-modules/ as a bootstrap Catalog, preview/thumbnail snapshot, and license notice. After a successful signed-feed refresh, search uses the remote last-known-good overlay instead of that bootstrap. The plugin never contains complete personal ZIPs, Gallery source/reference images, private data, credentials, or signing keys.

At runtime, complete Open Figure Modules are kept outside the plugin in the bound global Library under source-packs/open-modules/. A verified archive download is persisted there together with an extracted template cache. The canonical archive identity remains the GitHub repository and pinned commit; the bundled Catalog includes the official Gitee mirror https://gitee.com/livenever/ScientificFigureLibrary-personal/raw/{archiveCommit}/{archivePath} as the default transport accelerator and falls back to the canonical GitHub archive when unavailable. An optional machine-local mirror override can take precedence without changing canonical identity. Local Published templates continue to be read directly from the Library store/ and never use this Source Pack.

FigureYa follows the same write-through rule in the sibling source-packs/figureya/ directory: a verified network archive is retained as a ZIP, indexed by figureya-source-pack.manifest.json, and extracted into the derived templates/ cache. Preview and search remain read-only; this happens only during the approved Materialize Apply operation.

The signed feed lives on the open-figure-feed branch of jarxunlai/ScientificFigureLibrary-personal. SFL checks current/source-manifest.json over HTTPS, verifies the Ed25519 detached signature, then pins Catalog and preview ZIP URLs to a payload commit. Search does not wait for the network. figure_library_list_provider_sources stays offline. Explicit update still uses Plan/Apply. configure may only change autoRefresh. Add/remove/trust-reset of this official channel are rejected.

The maintainer commands are offline and deliberately separate from GitHub operations:

npm run modules:validate -- --check --repository <PERSONAL_MODULE_REPOSITORY>
npm run modules:archive -- --write --repository <PERSONAL_MODULE_REPOSITORY>
npm run modules:catalog -- --write --repository <PERSONAL_MODULE_REPOSITORY>
npm run modules:source-pack -- --write --repository <PERSONAL_MODULE_REPOSITORY>

They do not create commits, push, create repositories, run R, install dependencies, or modify the Gallery. SFL materialization only downloads or reads the selected ZIP, validates its bytes and safe paths, extracts the requested template/full file set, and writes a lock with codeExecutedBySflClient: false.

License

MIT for this project's code. User-imported figures keep the license recorded at import. Optional bundled catalog assets, if used, keep their upstream licenses. See THIRD_PARTY_NOTICES.md.

Available Tools

62 tools
figure_library_apply_adopt_versioningApply explicit flat-v1 adoptionB
Idempotent

Apply the exact cached plan with operation-id idempotency and stale-state checks.

Inputs: planDigest (required), operationId (required), expectedTemplateId (required), expectedSeriesDigest (required).

figure_library_apply_bind_globalApply confirmed global Library bindingA
Idempotent

Apply the exact reviewed binding plan using operation-id idempotency and stale-plan checks.

Inputs: planDigest (required), operationId (required).

figure_library_apply_bind_workspaceApply confirmed Local workspace bindingA
Idempotent

Apply the exact reviewed workspace binding plan. After this first confirmation, later MCP starts reuse the same directory across projects.

Inputs: planDigest (required), operationId (required).

figure_library_apply_bundle_exportApply a confirmed portable bundle exportA
Idempotent

Reverify the exact source inventory and visible expectedTarget, write a new directory bundle without overwrite, and persist an idempotent export receipt. A durable pre-write intent can recover a completed target after operations restart.

Inputs: planDigest (required), operationId (required), expectedTarget (required).

figure_library_apply_discard_working_revisionApply Working Head discardC
Idempotent

Apply the exact cached plan with operation-id idempotency and stale-state checks.

Inputs: planDigest (required), operationId (required), expectedTemplateId (required), expectedSeriesDigest (required).

figure_library_apply_full_restoreApply confirmed full-Library Restore or ForkA
Idempotent

Restore/fork into an absent target, verify every byte, and write an immutable operation receipt. It never changes the active locator automatically.

Inputs: planDigest (required), operationId (required).

figure_library_apply_materializeApply confirmed exact materializationA
Idempotent

Apply the cached exact plan once. All failures are terminal and must not be retried with another mode, provider, downloader, or substitute template.

Inputs: planDigest (required), operationId (required), expectedTarget (required), expectedProviderId (required).

figure_library_apply_open_figure_module_prApply a reviewed Open Figure Modules pull requestB
Idempotent

Re-check GitHub identity, module path collisions, optional similar-search confirmation, and file identities; then create a two-commit PR through the Git Data API. Never merges.

Inputs: planDigest (required), operationId (required), expectedResultSetId, similarReviewConfirmed.

figure_library_apply_provider_source_changeApply a confirmed signed provider changeA
DestructiveIdempotent

Apply the exact cached provider-source plan with stale-state checks and operation-id replay protection. Apply never accepts a raw public key or endpoint override.

Inputs: planDigest (required), operationId (required), expectedAction (required), expectedProviderId (required).

figure_library_apply_publication_exportApply a confirmed sanitized publication exportA
Idempotent

Revalidate the exact Local Published Release and selected asset bytes, then atomically create one deterministic sanitized submission at a new target. This call never uses the network, signs content, or creates a PR.

Inputs: planDigest (required), operationId (required), expectedTarget (required).

figure_library_apply_publication_prApply a reviewed staged central publication pull requestA
Idempotent

Re-check the gh account, permissions, source, merge gate, base, and file identities; then create a branch/commit/PR through Git Data API. Never merges the PR.

Inputs: planDigest (required), operationId (required).

figure_library_apply_publishApply the single human-confirmed publicationA
Idempotent

Only after the user approves the exact plan and the host completes its Gallery actions. Publish locally by default; an explicitly planned Open Module PR follows without another approval. Same operationId resumes completed stages; never merges or executes plotting code.

Inputs: planDigest (required), operationId (required), acceptSimilarCandidates.

figure_library_apply_publish_working_revisionApply atomic approval and publicationA
Idempotent

Apply the exact cached plan with operation-id idempotency and stale-state checks.

Inputs: planDigest (required), operationId (required), expectedTemplateId (required), expectedSeriesDigest (required).

figure_library_apply_recover_write_lockApply confirmed global write-lock recoveryA
DestructiveIdempotent

Archive the exact unchanged abandoned lock and write a recovery receipt after all writers are confirmed stopped.

Inputs: planDigest (required), operationId (required).

figure_library_apply_restore_releaseApply historical Release restoration as WorkingC
Idempotent

Apply the exact cached plan with operation-id idempotency and stale-state checks.

Inputs: planDigest (required), operationId (required), expectedTemplateId (required), expectedSeriesDigest (required).

figure_library_apply_review_gate_updateApply Review Gate decisionsC
Idempotent

Apply the exact cached plan with operation-id idempotency and stale-state checks.

Inputs: planDigest (required), operationId (required), expectedTemplateId (required), expectedSeriesDigest (required).

figure_library_apply_template_bundle_importApply confirmed template-bundle import as WorkingB
Idempotent

Reverify the exact bundle and apply only the planned Working Revision. Local review and publish remain mandatory.

Inputs: planDigest (required), operationId (required).

figure_library_apply_working_revisionApply a confirmed Working Revision planA
Idempotent

Reverify source bytes and apply the exact cached plan with operation-id idempotency and stale-state checks.

Inputs: planDigest (required), operationId (required), expectedAction (required), expectedTemplateId (required), +1 more.

figure_library_confirm_selectionConfirm a visibly loaded exact previewA
Read-only

App-only confirmation. The candidate workbench calls this only after the exact image load event and an explicit user click.

Inputs: previewChallenge (required).

figure_library_confirm_selection_headlessConfirm an exact preview after headless Agent reviewA
Read-only

Model-visible confirmation after figure_library_preview_exact_headless. Use only after a user selection, explicit delegation, or an App updateModelContext handoff when serverTools is unavailable; this call cannot prove UI visibility.

Inputs: previewChallenge (required).

figure_library_create_plot_task_headlessCreate a plotting task from explicit headless selectionsA
Read-onlyIdempotent

Create the same v2 plotting-task handoff used by the App after the user selects candidates in an agent-only session. Selections must belong to the current cached result set. This read-only tool does not preview, materialize, execute code, or install dependencies.

Inputs: selections (required), resultSetId (required).

figure_library_describeDescribe one provider-qualified exact templateA
Read-onlyIdempotent

Describe an exact Local Published release, bundled/personal public template, or commit-pinned FigureYa module. A bare templateId is deliberately insufficient.

Inputs: providerId (required), exactSelector (required).

figure_library_diff_revisionsDiff two immutable Content RevisionsA
Read-onlyIdempotent

Compare complete revision fields and asset inventories without modifying either revision.

Inputs: templateId (required), toRevisionId (required), fromRevisionId (required).

figure_library_export_diagnosticsExport Scientific Figure Library diagnosticsA

Export a bounded, secret-safe diagnostic ZIP for the current server session. Defaults to sanitized_bundle, excludes user text and absolute paths, and never uploads data.

Inputs: scope, since, until, detail, +3 more.

figure_library_get_candidate_imagesRead candidate thumbnails for host displayA
Read-onlyIdempotent

Get up to 12 current-result thumbnails as standard MCP images with exact candidate labels. Display a page for user selection; do not iterate the entire result set. Does not confirm exact previews or create materialization receipts.

Inputs: resultSetId (required), candidateIds (required).

figure_library_get_skillRead the core SFL Skill or one bundled referenceA
Read-onlyIdempotent

Start here for SFL guidance and host capabilities. Returns the same bundled SKILL.md without requiring Library setup. Use only listed document IDs for on-demand references; does not install a Skill or execute helper code.

Inputs: document.

figure_library_github_auth_instructionsShow official GitHub CLI authentication instructionsA
Read-onlyIdempotent

Return a terminal command for the user to run. This tool never launches a browser or login process.

Inputs: no named parameters.

figure_library_github_auth_statusInspect GitHub CLI publication authenticationA
Read-onlyIdempotent

Read-only check of the official gh login and central repository permissions. SFL never reads or prints the token.

Inputs: no named parameters.

figure_library_list_catalogList the scientific figure catalog for semantic selectionA
Read-onlyIdempotent

Return a compact, paginated catalog of the default (or selected) Providers: per-Provider counts, familyGroup/domain/language facets and one line per template. An entry can belong to several familyGroups and domains, so facet counts may add up to more than the total. Use it before concluding that a figure type is missing, or when keyword search returns nothing; match entries by meaning, then display chosen candidateIds with figure_library_get_candidate_images. Read-only; no images, previews or receipts.

Inputs: limit, detail, domain, offset, +7 more.

figure_library_list_provider_sourcesList configured personal figure providersA
Read-onlyIdempotent

Read the configured personal provider sources and their last-known-good snapshot identities without making any network request. The raw trusted public key is never returned.

Inputs: no named parameters.

figure_library_network_statusA
Read-only

Read this process's current user/machine proxy configuration; does not prove forwarding.

Inputs: no named parameters.

figure_library_network_testA
Read-only

Run a bounded connectivity test only against the fixed SFL GitHub releases endpoint.

Inputs: no named parameters.

figure_library_openOpen Scientific Figure LibraryA
Read-onlyIdempotent

Open the read-only candidate workbench. New installs return setup_required until the global Library and Local workspace are bound; otherwise ask for an uploaded reference, data profile, or plotting goal before searching.

Inputs: no named parameters.

figure_library_plan_adopt_versioningPlan explicit flat-v1 adoptionA
Read-onlyIdempotent

Create a read-only lifecycle plan. No files or pointers are changed.

Inputs: templateId (required), canonicalImplementationAssetPath.

figure_library_plan_bind_globalPlan global ScientificFigureLibrary bindingA
Read-onlyIdempotent

Validate the user-selected global Library directory and optionally stage a non-destructive flat-v1 copy. This read-only plan never chooses a project directory implicitly.

Inputs: libraryDirectory (required), migrationMode, legacySourceDirectory.

figure_library_plan_bind_workspacePlan Local workspace bindingA
Read-onlyIdempotent

Validate the user-selected Local workspace directory. First-time machine confirmation only; later starts reuse the saved locator. Never infers the current project folder.

Inputs: workspaceDirectory (required).

figure_library_plan_bundle_exportPlan a portable Library or Published-template bundleA
Read-onlyIdempotent

Inventory either the authoritative Library (excluding rebuildable indexes/runtime locks) or one exact reachable Published Release. Produces a directory-bundle plan and writes nothing.

Inputs: kind (required), destination (required), releaseId, targetName, +1 more.

figure_library_plan_discard_working_revisionPlan Working Head discardB
Read-onlyIdempotent

Create a read-only lifecycle plan. No files or pointers are changed.

Inputs: templateId (required).

figure_library_plan_full_restorePlan full-Library Restore or ForkA
Read-onlyIdempotent

Verify a full backup directory. Restore preserves libraryId and requires explicit authority transfer; Fork creates a new libraryId with fork provenance.

Inputs: mode (required), bundleDirectory (required), targetDirectory (required), authorityTransferConfirmed.

figure_library_plan_materializePlan exact template materializationA
Read-onlyIdempotent

Require a one-time confirmed exact preview receipt, then resolve the provider-qualified selector and check the destination without writing files.

Inputs: providerId (required), destination (required), exactSelector (required), allowNetwork, +2 more.

figure_library_plan_open_figure_module_prPlan an Open Figure Modules pull requestA
Read-onlyIdempotent

Sanitize one exact Local Published Release into an Open Figure module, search FigureYa and Open Figure Modules for similar figures, and show a GitHub PR Plan without writing or merging. Path collisions fail closed. Similar hits require user review in the SFL window before Apply.

Inputs: providerId (required), exactSelector (required).

figure_library_plan_provider_source_changePlan a signed personal provider changeA
Read-onlyIdempotent

Plan Add, Update, Configure, Remove, or explicit Trust Reset for a signed personal provider. Network access occurs only when the requested action must verify a snapshot. Planning never writes configuration or snapshots.

Inputs: action (required), enabled, providerId, autoRefresh, +5 more.

figure_library_plan_publication_exportPlan a sanitized public-template submission exportA
Read-onlyIdempotent

Resolve one exact reachable Local Published Release and show every included/excluded asset, rights declaration, public metadata conflict, render trace, and target without writing files.

Inputs: target (required), providerId (required), exactSelector (required), publicMetadata (required), +4 more.

figure_library_plan_publication_prPlan a staged central publication pull requestA
Read-onlyIdempotent

Read-only Archive or Catalog PR Plan. Archive uses one sanitized submission; Catalog requires a manually merged Archive PR and re-verifies its fixed merge commit and ZIP.

Inputs: action (required), expectedTemplateId, submissionDirectory, expectedReleaseVersion, +1 more.

figure_library_plan_publishPrepare one publication for human reviewB
Read-only

Read-only proposal or exact Working preflight. Default local; propose readable bilingual titles and a scientific question. Show the preview and this complete plan once. No pre-confirmation booleans, Gallery writes, Library writes, GitHub writes or code execution.

Inputs: target, working, candidate, gateDecisions.

figure_library_plan_publish_working_revisionPlan atomic approval and publicationC
Read-onlyIdempotent

Create a read-only lifecycle plan. No files or pointers are changed.

Inputs: templateId (required).

figure_library_plan_recover_write_lockPlan abandoned global write-lock recoveryA
Read-onlyIdempotent

Inspect one exact Library write lock. The user must stop every Wisp, Codex, Claude, and other writer before approving recovery; locks are never auto-stolen.

Inputs: reason (required).

figure_library_plan_restore_releasePlan historical Release restoration as WorkingA
Read-onlyIdempotent

Create a read-only lifecycle plan. No files or pointers are changed.

Inputs: releaseId (required), templateId (required).

figure_library_plan_review_gate_updatePlan Review Gate decisionsD
Read-onlyIdempotent

Create a read-only lifecycle plan. No files or pointers are changed.

Inputs: decisions (required), templateId (required).

figure_library_plan_template_bundle_importPlan Published-template bundle import as WorkingA
Read-onlyIdempotent

Verify an exact Published-template bundle, copy its immutable assets into a new local candidate, and plan a Working Revision. Source approval is provenance only and is never inherited.

Inputs: bundleDirectory (required), targetTemplateId (required), mode.

figure_library_plan_working_revisionPlan a direct-intake Working RevisionB
Read-onlyIdempotent

Validate user-confirmed image/code intake and return an immutable Working Revision plan. The operations never calls a model or executes code.

Inputs: mode, tags, title, intake, +28 more.

figure_library_previewPreview one provider-qualified exact templateA
Idempotent

Return one selected preview as standard MCP image content and optionally copy it to a trusted absolute directory. This compatibility tool does not authorize materialization.

Inputs: providerId (required), exactSelector (required), destination.

figure_library_preview_exactLoad one exact preview for confirmationA
Read-only

App-only exact preview. It returns image bytes only to the component and issues a session-bound confirmation challenge.

Inputs: providerId (required), resultSetId (required), exactSelector (required).

figure_library_preview_exact_headlessLoad one exact preview for explicit headless reviewB
Read-only

Model-visible exact preview. Call only after the user selects a candidate, explicitly delegates visual review, or an App updateModelContext handoff selects one candidate; do not iterate all results.

Inputs: providerId (required), resultSetId (required), exactSelector (required).

figure_library_preview_working_revisionPreview an exact active Working selectorA
Read-onlyIdempotent

Return the canonical image for an exact active pending Working plan or current Working Head. This read-only tool does not create a preview receipt or authorize materialization.

Inputs: revisionId (required), templateId (required), contentDigest (required).

figure_library_record_ui_eventRecord a bounded candidate-workbench eventB

Internal App-only structured diagnostics. It accepts a fixed event enum and no arbitrary log text.

Inputs: event (required), candidateId (required), resultSetId (required), durationMs, +3 more.

figure_library_review_openInspect template review stateA
Read-onlyIdempotent

Host-neutral read-only inspection of Working, Published, history, Diff, and Review findings.

Inputs: templateId.

figure_library_search_pageLoad another candidate pageA
Read-onlyIdempotent

Paginate an existing search result set for the host Agent or App. Keep the resultSetId and opaque cursor unchanged.

Inputs: cursor (required), resultSetId (required).

figure_library_source_statusInspect global Library and Provider statusB
Read-onlyIdempotent

Return complete text and structured status for the global portable Library, immutable lifecycle, write lock, and every registered Local, Community, FigureYa, or personal Provider. Community is reported as frozen and excluded from default search. Capture/project-pin status is intentionally absent. New installs report setup_required until both the global Library and Local workspace are bound.

Inputs: sourcePackDir, moduleSourcePackDir.

figure_library_template_historyInspect immutable template historyB
Read-onlyIdempotent

Return immutable Content Revision and Release history.

Inputs: templateId (required).

figure_library_update_statusA
Read-only

Report running/latest stable SFL versions, cache age and release link; refresh manually if requested.

Inputs: refresh.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 62 tools

    Disambiguation2/5

    The set contains many families of closely related tools: plan/apply lifecycle pairs, multiple preview tools (preview, preview_exact, preview_exact_headless, preview_working_revision), and several search/catalog/status entry points. Several plan tools share the same generic description ('Create a read-only lifecycle plan'), making plan_publish, plan_publish_working_revision, plan_working_revision, and similar operations easy to confuse.

    Naming Consistency4/5

    Almost all names use the figure_library_ prefix with snake_case and a predictable plan_/apply_ pairing convention. There are minor deviations such as entity-first status tools and qualifiers like _headless, _exact, and review_open, but the naming remains readable and mostly consistent.

    Tool Count1/5

    Sixty-two tools is an extreme tool count for a scientific figure library, even accounting for lifecycle, provider, publication, and diagnostics workflows. The surface is heavily expanded by granular plan/apply pairs and multiple near-duplicate preview/search/status tools, exceeding what an agent can reliably navigate.

    Completeness4/5

    The server covers an unusually broad lifecycle: catalog/search, candidate previews, working revisions, publishing, materialization, import/export, restore, provider-source changes, GitHub publication, bindings, locking, and diagnostics. There are minor gaps and some workflows are split across many tools, but the domain surface is substantially complete.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers