Atlas / MCP servers / bhouston / Claude Text Editor

Claude Text EditorSAFE

mcp/bhouston/claude-text-editor

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

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
1 0r · 1w · 0d
Transport
stdio
License
MIT
Stars
36
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://www.npmjs.com/package/mcp-server-text-editor) [](https://github.com/bhouston/mcp-server-text-editor/actions/workflows/tests.yml) [](https://github.com/bhouston/mcp-server-text-editor)

An open-source implementation of the Claude built-in text editor tool as a Model Context Protocol (MCP) server. This package provides the same functionality as Claude's built-in text editor tool, allowing you to view, edit, and create text files through a standardized API.

Features

  • 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
  • Insert text at specific line numbers
  • Undo previous edits

Supported Claude Text Editor Versions

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

  • text_editor_20241022 (Claude 3.5 Sonnet)
  • text_editor_20250124 (Claude 3.7 Sonnet)

But using the tool name 'text_editor' to avoid name conflicts with built-in Claude tools.

Installation

# Install from npm
npm install mcp-server-text-editor

# Or with pnpm
pnpm add mcp-server-text-editor
``
Read from source at commit 0bb78371a043OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mcp-server-text-editor -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-server-text-editor": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (1)

0 read · 1 write · 0 destructive.

ToolRiskDescription
text_editorwriteView, create, and edit files with persistent state across command calls. This tool is identical with Claude
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
none-observed
Shell
declared (1 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (6)

LOWInventory / provenance · inv.hidden_file · CWE-1104
.prettierignore
.prettierignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/lib/getPackageInfo.ts:7
return require('../../package.json') as PackageJson;
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/unit/lib/getPackageInfo.test.ts:3
import { getPackageJson } from '../../../src/lib/getPackageInfo';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/unit/tools/textEditor.coverage.test.ts:6
import { textEditorExecute } from '../../../src/tools/textEditor';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/unit/tools/textEditor.coverage.test.ts:12
} from '../../helpers/fileSystem';
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, rimraf, zod, @eslint/js, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, @vitest/coverage-v8
Why it matters. 21 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 0bb78371a043full audit observations/trust-audit/mcp-server/bhouston__claude-text-editor.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-080bb78371a043SAFEB89first audit
06

Questions

What is the Claude Text Editor MCP server?

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

What tools does Claude Text Editor expose?

1 in total: 0 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Claude Text Editor safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Claude Text Editor need?

No credential environment variables were found in its source, so it appears to need none.

How does Claude Text Editor run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as mcp-server-text-editor at 1.0.1.

How current is this page?

The grade is for one exact copy of the source (0bb78371a043), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement