1. Conduid
  2. Developer Tools
  3. marimo
MCP server · Developer Tools

marimo

CodeMirror extension to hook up a Model Context Provider (MCP)

66Good

Scored 6 hours ago · breakdown

About marimo

marimo is an MCP server published by marimo-team in the Developer Tools category: codeMirror extension to hook up a Model Context Provider (MCP).

The repository has 79 stars and 3 forks, with the last commit 2 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/marimo-team/codemirror-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about marimo

Powered by Claude · Grounded in docs

I know everything about marimo. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 6 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.1.7v0.1.7 · 2 Jul 2026   🐞 Bug Fixes ci**: Bump release publish-job node to 24 for npm OIDC  -  by @mscolnick in https://github.com/marimo-team/codemirror-mcp/issues/12…
v0.1.5v0.1.5 · 10 Aug 2025No significant changes*     [View changes on GitHub](https://github.com/marimo-team/codemirror-mcp/compare/v0.1.4...v0.1.5)
v0.1.4v0.1.4 · 8 Aug 2025&nbsp;&nbsp;&nbsp;🐞 Bug Fixes Export resource decorations &nbsp;-&nbsp; by @mscolnick [<samp>(d77c5)</samp>](https://github.com/marimo-team/codemirror-mcp/commit/d77c5c6) &nbsp;&nbsp;&nbsp;&nbsp;[View changes on…
v0.1.3v0.1.3 · 8 Aug 2025&nbsp;&nbsp;&nbsp;🚀 Features Generalize to allow other resource outside an MCP &nbsp;-&nbsp; by @mscolnick [<samp>(3b62a)</samp>](https://github.com/marimo-team/codemirror-mcp/commit/3b62a30) &nbsp;&nbsp;&nbsp;&nbsp;[View changes on…
v0.1.2v0.1.2 · 9 Jan 2025First release Usage import { mcpExtension, extractResources } from '@marimo-team/codemirror-mcp'; import { EditorView } from '@codemirror/view'; const view = new EditorView({ extensions: [ // ... other extensions mcpExtension({ // Required…

README

codemirror-mcp

A CodeMirror extension that implements the Model Context Protocol (MCP) for resource mentions and prompt commands.

Features

  • Resource Completion: Autocomplete for @resource mentions
  • Resource Decorations: Visual styling for @resource mentions with click handling
  • Prompt Completion: Autocomplete for /prompt commands
  • Theme Support: Customizable styling

Installation

npm install @marimo-team/codemirror-mcp @modelcontextprotocol/sdk
# or
pnpm add @marimo-team/codemirror-mcp @modelcontextprotocol/sdk

Peer Dependencies

This module requires the following peer dependencies:

  • @codemirror/view
  • @codemirror/state
  • @modelcontextprotocol/sdk

Usage

import { WebSocketClientTransport } from "@modelcontextprotocol/sdk/client/websocket.js";
import { mcpExtension, extractResources } from '@marimo-team/codemirror-mcp';
import { EditorView } from '@codemirror/view';

const transport = new WebSocketClientTransport(new URL('ws://localhost:8080'));

const view = new EditorView({
  extensions: [
    // ... other extensions

    mcpExtension({
      // Required options
      transport: transport,

      // Optional options
      logger: console,
      clientOptions: {
        name: 'your-client',
        version: '1.0.0'
      },
      onResourceClick: (resource) => {
        // Open resource
        // e.g. open in a tab, etc.
      },
    }),

    // Handle submit
    keymap.of([
      {
        key: 'Enter',
        run: () => {
          const resources = extractResources(view);
          const formattedResources = resources
            .map(
              ({ resource }) =>
                `${resource.uri} (${resource.type}): ${resource.description || resource.name}`
            )
            .join('\n');
          const prompt = `${view.state.doc.toString()}\n\nResources:\n${formattedResources}`;
          // ... submit prompt to AI server
          // const response = await generateText(prompt);
        },
      },
    ]),
  ],
  parent: document.querySelector('#editor'),
});

Resources

  • Use @resource-uri syntax to reference resources
  • Resources are visually decorated and clickable
  • Click handling for resource interactions
  • Hover tooltips show resource details
  • Customizable theme

Prompts

  • Use /command syntax for prompt commands
  • Autocomplete for available prompts

Development

# Install dependencies
pnpm install

# Run tests
pnpm test

# Run demo
pnpm dev

License

MIT

README fetched from the repository 6 hours ago. The original is authoritative.

Questions

About marimo

How do I install marimo?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is marimo safe to use with an AI agent?

Its trust score is 66 out of 100 (good). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is marimo still maintained?

Yes — the latest release is v0.1.7 (2 Jul 2026), and the last commit was 2 months ago. The repository has 79 stars.