Submit

codemirror-mcp

@marimo-team

a year ago
developer-tools
CodeMirror extension to hook up a Model Context Provider (MCP)
Overview

what is codemirror-mcp?

codemirror-mcp is a CodeMirror extension that implements the Model Context Protocol (MCP) for resource mentions and prompt commands, enhancing the coding experience with autocomplete and visual styling features.

how to use codemirror-mcp?

To use codemirror-mcp, install it via npm or pnpm, and integrate it into your CodeMirror editor setup by importing the necessary modules and configuring the MCP extension with your WebSocket transport.

key features of codemirror-mcp?

  • 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

use cases of codemirror-mcp?

  1. Enhancing code editors with resource management capabilities.
  2. Streamlining the coding process with autocomplete features for resources and commands.
  3. Providing a visually enriched coding environment with clickable resource mentions.

FAQ from codemirror-mcp?

  • What is the Model Context Protocol (MCP)?

MCP is a protocol designed to enhance the interaction with resources in code editors, allowing for better resource management and command execution.

  • How do I install codemirror-mcp?

You can install it using npm or pnpm with the command: npm install @marimo-team/codemirror-mcp @modelcontextprotocol/sdk.

  • Can I customize the theme?

Yes! codemirror-mcp supports customizable styling to fit your preferences.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.