Headless Code Editor MCP Server
@oakenai
关于 Headless Code Editor MCP Server
Headless Editor MCP Server for intelligent code editing
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"headless-editor-mcp": {
"command": "node",
"args": [
"build/index.js",
"/path/to/workspace"
]
}
}
}工具
未检测到工具
工具是从 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
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.
开发工具 分类下的更多 MCP 服务器
test
prysmaticlabsGo implementation of Ethereum proof of stake
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
sentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
评论