Skip to main content
Glama

MCP File Editor Server

by pwilkin

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
read_file

Read the contents of a file. You can read the entire file or specific line ranges.

replace_in_file

Replace all occurrences of a regex pattern with a target string in a file.

delete_from_file

Delete content from a file between specified line numbers.

insert_into_file

Insert content into a file at a specific line position.

replace_lines_in_file

Replace content between specific line numbers in a file.

search_file

Search for regex patterns in a file and show matching lines with context.

list_files

List all files and subdirectories in a given directory.

search_directory

Search for regex patterns across all files in a directory.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pwilkin/mcp-file-edit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server