← Itamos MCP Tools
Live alpha · free

read_file

The segment editor. It shows a file as named parts, lets the agent change exactly one of them and refuses to save anything that does not pass verification.

skeletonnamed segments, no code yetread segmentdisplaying it unlocks it for editingedit in a bufferreplace, insert, delete, move, pasteverify 1 → 2 → 3syntax, compiler or service check, referencescommitatomic write; undo is possible until thenfailsfix, verify again
read_file: nothing reaches disk until it passes verification.

Components

read_filesegment editorsegmenter.jsfiles into named segmentsconfig_segmenter.jsnginx, systemd, INI and moreconfig_validators.jsservice checks such as nginx -texternal_detect.jsbinaries and servers in codedatabase adaptersSQLite, Postgres, MySQL and morearchitect-link.jskeeps the project map in synctree-sitter16 language grammarsbetter-sqlite3edit state storage
read_file components. Dashed: third-party software.

How it works

read_file parses a file into named segments: functions, classes, configuration blocks, paragraphs. By default it returns the skeleton, the list of segments with their names and sizes, not the code. The agent reads only the segment it needs. Every byte of the file belongs to exactly one segment, including blank lines, so joining the segments always gives back the original file.

Capabilities

Reading

Editing

Two buffers and the clipboard

read_file keeps exactly two buffers per sandbox. The read buffer is read-only and always fresh, and doubles as a clipboard: open any file there, then paste one of its segments, or the whole file, verbatim into a segment of the file you are editing. The model never retypes code it copies, so nothing is lost or changed on the way, and it costs almost no tokens. The edit buffer holds the one file being changed; it is committed or discarded before another file is opened for editing.

Undo

Safety

Languages

16 tree-sitter grammars: Python, JavaScript, TypeScript, HTML, CSS, Go, Rust, C, C++, Java, C#, PHP, Ruby, Bash, Swift and Kotlin. Configuration files (nginx, systemd units, sshd_config, INI and more) get structure-aware segments, and plain text and Markdown are split into paragraphs.

Why it is built this way

Try it

Add this URL as a custom connector in your MCP client:

https://mcp.itamos-technologia.com/mcp
  1. Add the URL as a connector in your MCP client.
  2. A page opens: choose Create my sandbox. No account needed.
  3. Ask your agent to clone a repository and explore it with the tools.