headless-editor-mcp

headless-editor-mcp

3.4

If you are the rightful owner of headless-editor-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A robust, language-agnostic headless code editor that leverages the Language Server Protocol (LSP) for code intelligence and the Model Context Protocol (MCP) for AI-assisted code manipulation.

The Headless Code Editor MCP Server is designed to provide a seamless and efficient environment for code editing and manipulation. It integrates with the Language Server Protocol (LSP) to offer language intelligence and uses the Model Context Protocol (MCP) for AI-driven code operations. This server is particularly useful for developers who require a secure, session-based editing environment with advanced features like React component detection and manipulation. It supports TypeScript and JavaScript, offering in-depth analysis and format-preserving edit operations. The server ensures secure file system operations with strict access controls and comprehensive logging and error tracking to maintain a reliable development environment.

Features

  • LSP integration for language intelligence
  • Secure file system operations with strict access controls
  • Session-based editing with state management
  • TypeScript/JavaScript language support with in-depth analysis
  • React component detection and manipulation

Tools

  1. start_session

    Create a new editing session

  2. edit_code

    Apply edits to code

  3. validate_code

    Validate current code state

  4. close_session

    Clean up and close a session