Skip to content

feat: add MCP tools to continue prior diagram and plot runs#188

Open
jsdevninja wants to merge 2 commits into
llmsresearch:mainfrom
jsdevninja:feat/mcp-continue-diagram-plot
Open

feat: add MCP tools to continue prior diagram and plot runs#188
jsdevninja wants to merge 2 commits into
llmsresearch:mainfrom
jsdevninja:feat/mcp-continue-diagram-plot

Conversation

@jsdevninja
Copy link
Copy Markdown
Contributor

Summary

Adds first-class MCP support for continuing an existing run_* directory (extra visualizer–critic refinement and optional critic feedback), aligned with paperbanana generate --continue-run and the Studio continue flow.

Closes #187

Motivation

MCP clients could only start new runs with generate_diagram / generate_plot. Continuing from disk required leaving the IDE workflow for the CLI or Studio.

Changes

  • New tools: continue_diagram, continue_plot (type-checked against run_input.json’s diagram_type).
  • Shared implementation: _mcp_settings_for_continue, _continue_run_mcp (JSON result contract consistent with other MCP batch-style tools).
  • README: tool table + “Continue tools” notes.
  • Tests: tests/test_utils.py::TestMcpContinueRun (no live API; fake pipeline for the success path).

@jsdevninja
Copy link
Copy Markdown
Contributor Author

Hey, @dippatel1994
Would you mind give me feedback on this?
Thank you

@jsdevninja
Copy link
Copy Markdown
Contributor Author

@dippatel1994 Could you review this feature please?

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.

[Feature]: MCP: add tools to continue a prior diagram or plot run (CLI / Studio parity)

1 participant