Skip to content

MCP server to the code base #7018

@ari62

Description

@ari62

Description

Hello,
I see Marimo allows you to attach an MCP server to a currently editing notebook, for example:
https://docs.marimo.io/guides/editor_features/mcp/

Please consider adding a feature where there is a consistent entrypoint into an mcp which provide help for AI tools to use Marimo, for example vectorbt allows you to connect to its mcp server like:
"mcpServers": { "VectorBT PRO": { "command": "/absolute/path/to/python", "args": [ "-m", "vectorbtpro.mcp_server" ] } } }

The vectorbt mcp server i think allows tools like cursor to search discord messages and documentation and the code base itself so cursor knows how to interact with the library.
When working with cursor, cursor often produces incorrect marimo code. Any tips on making cursor produce correct marimo code would also be great (correct in terms of global vs private variables, how parameters are used, how returned values are used, etc. Cursor is just making normal python code with some marimo annotations). For example a .cursorconfig.json or .cursorrules file pre-set up to work with marimo.

Suggested solution

in the description...

Are you willing to submit a PR?

  • Yes

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions