MCPSERV.CLUB
arathald

Mcp Editor

MCP Server

Direct file editing via MCP

Stale(50)
0stars
2views
Updated Mar 24, 2025

About

A TypeScript MCP server that implements Anthropic’s filesystem editing tools, enabling LLMs to read and modify local files directly. It serves as a lightweight editor interface for local development.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

PlayCanvas Editor MCP in Action

The PlayCanvas Editor MCP Server bridges the gap between large‑language models and real‑time 3D development. It exposes a rich set of tools that let an LLM—currently Claude or Cursor—to programmatically manipulate the PlayCanvas scene, assets, and project settings. Developers who normally rely on manual mouse‑and‑keyboard interactions can instead issue natural language commands, letting the model handle tedious or repetitive tasks such as creating entities, adding components, or re‑parenting objects. This reduces cognitive load and speeds up iteration cycles, especially for designers who prefer conversational workflows over traditional UI navigation.

At its core, the server implements a comprehensive tool catalog. Each tool corresponds to a specific editor action: , , , , and so on. There are also asset‑centric operations like , , and template instantiation, as well as script handling tools (, , ). Scene‑level controls such as and allow the model to tweak global parameters. Finally, a simple key‑value store (, , ) gives the LLM persistence across interactions, enabling it to remember context or cache results between steps.

The real‑world value of this MCP lies in rapid prototyping and collaborative editing. A designer can ask the model to “create a terrain entity with a grass material, then add a physics component,” and the server will execute those steps in seconds. A developer can request “duplicate the enemy prefab, re‑parent it under the level root,” and have the scene updated instantly. When working in teams, multiple people can issue commands concurrently, with the MCP ensuring that state changes are applied consistently. Because the server is driven by an LLM, it can also interpret higher‑level intent—such as “make the environment more realistic” or “add a simple AI controller”—and translate that into concrete editor actions.

Integration is straightforward for MCP‑aware assistants. The server registers itself as an external tool source; the assistant then calls the appropriate tool via a simple JSON request. The tool’s response is returned to the LLM, which can then continue the dialogue or ask for clarification. In Cursor, enabling auto‑run mode lets the assistant execute tools without explicit user confirmation, creating a seamless “talk‑to‑the‑editor” experience. Claude Desktop offers similar functionality with a more reliable connection, ensuring that the model’s context remains intact across longer sessions.

Unique advantages of this MCP include its tight coupling with PlayCanvas’s native API, allowing the assistant to perform complex scene manipulations that would otherwise require manual scripting. The inclusion of a lightweight store lets the model maintain state across turns, reducing redundant queries and improving efficiency. Finally, by exposing a unified tool interface, the server enables developers to experiment with new LLM workflows—such as procedural content generation or automated testing—without rewriting the editor itself.