← Back to directory
C

CodeMirror MCP Extension

Community
Framework / SDK
Add MCP resource and prompt completion to CodeMirror.

This is a framework for building MCP servers or agents, not a server you connect a client to.

Category
Dev Tools #664 of 751
Stars
★ 79 Popular
Runtime
Node.js
Credentials
No credential needed
License
Apache-2.0
Last commit
38FMRS · D

The source describes a CodeMirror extension, not a standalone MCP server. The README demonstrates WebSocket client usage but provides no server manifest, tool definitions, client compatibility claims, or declared transport protocol.

Strongest · Security and permissions 10/20 Weakest · Maintenance 5/20

Reliability
6/20
Security and permissions
10/20
Maintenance
5/20
Documentation
9/20
Setup experience
8/20
Why each score
Reliability 6/20
The README shows a plausible basic path: connect over WebSocket, configure the extension, and extract resources. There is no server manifest, tool-list or initialization evidence, or verifiable CI and key-path tests. The README describes an editor extension rather than an MCP server, so handshake behavior, error handling, and agreement between declared and actual capabilities cannot be confirmed.
Security and permissions 10/20
The supplied material shows no credentials, tool permissions, or dangerous side effects, so there is no evidence of a red-line issue; the example uses a local WebSocket address. However, authentication, transport security, permission scope, and data-flow boundaries are undocumented, limiting confidence about resource interactions.
Maintenance 5/20
The repository is marked unarchived and the object metadata lists Apache-2.0, but the README says MIT, creating a license inconsistency. There is no evidence about releases, commits, dependency updates, maintainer responses, or a security reporting channel, so sustained maintenance cannot be verified.
Documentation 9/20
The README provides npm and pnpm install commands, peer dependencies, feature descriptions, and a usage example for basic integration. It omits authentication, parameter limits, troubleshooting, and runtime limitations; the example does not show an actual prompt invocation, and its license statement conflicts with the object metadata.
Setup experience 8/20
The README provides npm and pnpm installation commands, required dependencies, and a WebSocket client example for integrating the extension into an editor. It does not explain how to prepare the server, configure a mainstream MCP client, or run a complete example, and there is no evidence that installation or connection was verified.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the network

Best for

  • Developers building a CodeMirror-based editor who want MCP resource or prompt interactions.

Not for

  • Users looking for a standalone MCP server that can connect directly to desktop MCP clients.
  • Users who do not use CodeMirror or do not intend to supply their own client transport and submission logic.

Required permissions

  • The README does not specify server permissions. Its example establishes a browser-side WebSocket connection to ws://localhost:8080; actual access depends on the transport and resource click handling supplied by the application.

Risks and side effects

  • The README does not describe security controls or access restrictions. Applications should handle resource data returned through the transport and behavior in custom resource click handlers carefully.
  • The README says MIT, while the repository metadata lists Apache-2.0; verify which license applies.

Setup

Before you start

Runtime:Node.js

Install with npm install @marimo-team/codemirror-mcp @modelcontextprotocol/sdk or pnpm add @marimo-team/codemirror-mcp @modelcontextprotocol/sdk. The listed peer dependencies are @codemirror/view, @codemirror/state, and @modelcontextprotocol/sdk. Add mcpExtension to the CodeMirror extension configuration and provide a transport object, as shown in the README.

Check that it works

Load the extension in a CodeMirror editor and connect it to an MCP server; confirm that resource and prompt completions appear.

Troubleshooting

  1. Confirm that the listed package and peer dependencies are installed.
  2. Confirm that mcpExtension receives a valid transport object and that the WebSocket service is reachable at the configured address.
  3. If resource or prompt completions do not appear, check the MCP connection and editor extension configuration.

Use cases

Provide resource mention completion and decorations in a CodeMirror editor.
Offer completion for available prompt commands in an editor.
Extract resources and append their details to submitted prompt text.

Overview

CodeMirror MCP Extension is a CodeMirror extension that implements Model Context Protocol features for resource mentions and prompt commands. It supports @resource completion, visual resource decorations and click handling, hover details, /prompt command completion, and customizable themes. The README shows an example using a WebSocket client transport; it does not describe a standalone MCP server, and manifest details are unavailable.

Similar servers

Source revision c3e2249c7268 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/codemirror-mcp.svg)](https://followmcp.com/en/servers/codemirror-mcp)