marimo icon indicating copy to clipboard operation
marimo copied to clipboard

Allow MCP to create/start new notebooks

Open indigoviolet opened this issue 2 months ago • 1 comments

Description

I want AI agents like claude code to be able to create scratch notebooks on demand. They could run marimo edit new_notebook.py --mcp, but the MCP server configuration needs to specify a PORT ahead of time. So the alternative is running marimo edit --mcp --port PORT and somehow creating notebooks within that instance.

Suggested solution

Add a tool to create/start a new notebook from an existing file.

Are you willing to submit a PR?

  • [ ] Yes

Alternatives

No response

Additional context

No response

indigoviolet avatar Nov 09 '25 00:11 indigoviolet

Thanks for the feature request @indigoviolet. We want to improve our single notebook experience before letting an Agent go off and create more notebooks or start other ones. We can look into prioritizing this soon.

mscolnick avatar Nov 13 '25 01:11 mscolnick