marimo
marimo copied to clipboard
Allow MCP to create/start new notebooks
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
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.