Text Editor MCP Server

An open source implementation of the Claude built-in text editor tool

Local serverstdioTypeScript

What is the Text Editor MCP Server?

An open source implementation of the Claude built-in text editor tool

What you get

This package implements an equivalent tool to the built-in Claude text editor tool versions:

  • Identical API to Claude's Text Editor — Implements the exact same interface as Claude's built-in text editor tool
  • MCP Server Implementation — Follows the Model Context Protocol standard for AI tool integration
  • File Operations —
  • View file contents with optional line range specification
  • Create new files
  • Replace text in existing files

Configuration and credentials

  • Node.js 18+ - pnpm

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

How to install the Text Editor MCP Server

{
  "mcpServers": {
    "textEditor": {
      "command": "npx",
      "args": ["-y", "mcp-server-text-editor"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js 18+ - pnpm

Example prompts to try

  • “Use Text Editor to View.”
  • “Use Text Editor to Create.”
  • “Use Text Editor to Insert.”

Frequently asked questions

An open source implementation of the Claude built-in text editor tool Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.