# Edit File Lines MCP Server

> Use this tool when you need to make precise line-based edits to text files, solving problems such as updating configuration files or modifying code snippets. It takes file paths and edit instructions as input and outputs the modified files, providing a controlled interface for managing file changes. Ideal for use cases requiring automated or programmatic file editing within restricted directories.

Canonical page: https://skillsregistry.net/skills/oakenai-mcp-edit-file-lines  
JSON: https://api.skillsregistry.net/v1/skills/oakenai-mcp-edit-file-lines

## Description

A TypeScript-based MCP server that provides tools for making precise line-based edits to text files within allowed directories.

## Trust

- **Trust score (0–1):** 0.60
- **Verification tier:** unverified

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/capib1zht1)
- **Repository:** <https://github.com/oakenai/mcp-edit-file-lines>

## 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": "oakenai-mcp-edit-file-lines"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/oakenai-mcp-edit-file-lines` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/oakenai-mcp-edit-file-lines/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
