MCP.so
登录

Headless Code Editor MCP Server

@oakenai

基本信息

分类

开发工具

传输方式

stdio

作者

oakenai

关于 Headless Code Editor MCP Server

Headless Editor MCP Server for intelligent code editing

#headless-editor#code-editor#ai-code-assistant

Headless Code Editor MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

Headless Code Editor MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

1

What languages are supported?

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

2

What are the runtime requirements?

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

3

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.

4

What transport protocol does it use?

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

5

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.

评论

开发工具 分类下的更多 MCP 服务器