What are the peer dependencies?
You need `@codemirror/view`, `@codemirror/state`, and `@modelcontextprotocol/sdk`.
@marimo-team
基本信息
CodeMirror extension to hook up a Model Context Provider (MCP)
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
A CodeMirror extension that implements the Model Context Protocol (MCP) for autocompleting @resource mentions and /prompt commands, with visual decorations and click handling. It's designed for developers building AI-assisted editors or chat interfaces on top of CodeMirror.
Install with npm install @marimo-team/codemirror-mcp @modelcontextprotocol/sdk and peer dependencies. Import mcpExtension and pass it to an EditorView with a transport (e.g., WebSocketClientTransport) and optional options like logger, clientOptions, and onResourceClick. Use extractResources(view) to collect referenced resources for submission.
@resource mentions/prompt commandsextractResourcesYou need `@codemirror/view`, `@codemirror/state`, and `@modelcontextprotocol/sdk`.
The extension accepts any MCP transport; the README shows `WebSocketClientTransport` connecting to `ws://localhost:8080`.
Yes, the extension supports customizable styling via theme options.
Use the `extractResources(view)` function to get an array of resources from the editor state.
Resources and prompts are handled client-side; network transport depends on the provided MCP transport (e.g., WebSocket).

B2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.
Open-source MCP to use Blender with any LLM
A search tool helps dev to solve the naming things problem.
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Painless E2E Automation for Mobile and Web
评论