# Text Editor

> Use this tool when you need to manipulate text files efficiently, as it allows AI assistants to view, edit, and create text files with persistent state. It solves problems such as editing and managing text files without switching contexts, supporting operations like text replacement, insertion, and undoing edits. With inputs including file names, line ranges, and text content, and outputs including edited text files, this tool is ideal for workflows involving text file manipulation.

Canonical page: https://skillsregistry.net/skills/text-editor  
JSON: https://api.skillsregistry.net/v1/skills/text-editor

## Description

An open-source implementation of Claude's built-in text editor tool as an MCP server, allowing AI assistants to view, edit, and create text files with persistent state across command calls. Developed by Ben Houston, this server provides identical functionality to Claude's text_editor tool, supporting operations like viewing file contents with line ranges, creating new files, replacing text, inserting at specific lines, and undoing previous edits. The implementation is particularly useful for workflows where AI assistants need to manipulate text files without switching contexts.

## Trust

- **Trust score (0–1):** 0.97
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** file-system
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/text-editor)
- **Repository:** <https://github.com/bhouston/mcp-server-text-editor>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "text-editor"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/text-editor` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/text-editor/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
