MCP.so
Sign In

Headless Code Editor MCP Server

@oakenai

About Headless Code Editor MCP Server

Headless Editor MCP Server for intelligent code editing

Basic information

Category

Developer Tools

Transports

stdio

Publisher

oakenai

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "headless-editor-mcp": {
      "command": "node",
      "args": [
        "build/index.js",
        "/path/to/workspace"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Headless Code Editor MCP Server?

A robust, language-agnostic headless code editor that integrates the Language Server Protocol (LSP) for code intelligence and the Model Context Protocol (MCP) for AI-assisted code manipulation. It targets developers needing secure, session-based code editing with AI integration.

How to use Headless Code Editor MCP Server?

Install dependencies with npm install, build with npm run build, and start the server by passing allowed directories, e.g., node build/index.js /path/to/workspace. Use MCP tools such as start_session, edit_code, validate_code, and close_session to manage editing sessions.

Key features of Headless Code Editor MCP Server

  • 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
  • Format-preserving edit operations
  • Comprehensive logging and error tracking

Use cases of Headless Code Editor MCP Server

  • AI-assisted code editing and refactoring within sandboxed directories
  • Automated code validation using LSP and MCP tools
  • TypeScript/JavaScript code analysis and manipulation
  • React component detection and manipulation

FAQ from Headless Code Editor MCP Server

What languages are supported?

Currently TypeScript and JavaScript are supported. Incomplete tasks indicate plans for Python, Java, and other languages.

What are the runtime requirements?

The server requires Node.js and npm. It runs as a stdio-based MCP server.

Where does data and state reside?

All file system operations are strictly confined to allowed directories specified at startup. Sessions and state are managed in memory.

What transport protocol does it use?

The server uses the stdio transport for MCP communication, as shown in the example integration.

What are the known limitations?

The server is in alpha stage (v0.0.10) with basic support only for TypeScript/JavaScript and React component analysis. Many features are listed as incomplete.

Comments

More Developer Tools MCP servers