Skip to main content
Glama
Filesystem MCP

Filesystem MCP

by domdomegg

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoThe port to run the HTTP server on (only used when MCP_TRANSPORT=http)
MCP_TRANSPORTNoThe transport protocol to use (stdio or http)stdio

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
viewA

View file contents or list directory.

For files:

  • Returns content with line numbers (format: " N\t")

  • Use view_range to read specific lines [start, end] (1-indexed, inclusive)

  • Large files are truncated at 16000 characters

For directories:

  • Lists contents with type indicator (/ for directories)

  • Shows 2 levels deep by default

  • Ignores hidden files and node_modules

createA

Create or overwrite a file with the specified content.

  • Creates parent directories if they don't exist

  • Overwrites existing files without warning

  • Use absolute paths

str_replaceA

Replace an exact string in a file.

  • old_str must match exactly and be unique in the file

  • If old_str appears 0 times or more than once, the operation fails

  • If new_str is omitted, old_str is deleted

  • Use absolute paths

insertA

Insert text at a specific line in a file.

  • insert_line = 0: Insert at the beginning

  • insert_line = N: Insert after line N

  • insert_line = -1: Insert at the end

  • insert_text should typically end with a newline

  • Use absolute paths

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 4 tools

Disambiguation4/5

Each tool has a distinct primary operation: view reads or lists, create writes whole files, str_replace edits exact strings, and insert adds text at a line. str_replace and insert both modify existing files, but their descriptions clearly distinguish their use cases.

Naming Consistency4/5

Three tools use simple lowercase verbs (view, create, insert) while one uses a compound snake_case name (str_replace). The set is readable and mostly consistent, with only that minor deviation from a uniform verb pattern.

Tool Count4/5

Four tools form a lean but reasonable core for basic file read/write/edit operations. However, the set omits common filesystem actions like delete, move, or search, making it slightly under-scoped for the domain.

Completeness3/5

Core create/read/update coverage exists through view, create, str_replace, and insert. There is no delete, rename/move, copy, or search operation, leaving notable gaps for standard filesystem workflows.

Maintenance

ActivityNo data
ResponsivenessSyncing