Skip to main content
Glama

Moatless MCP Server

by TwT23333

read_file

Access and extract content from text files up to 10MB, specifying optional line ranges for precise reading within the Moatless MCP Server environment.

Instructions

Read file contents with optional line range. Supports text files up to 10MB.

Input Schema

NameRequiredDescriptionDefault
end_lineNoEnd line number (1-based, optional)
file_pathYesPath to the file to read (relative to workspace root)
start_lineNoStart line number (1-based, optional)

Input Schema (JSON Schema)

{ "properties": { "end_line": { "description": "End line number (1-based, optional)", "minimum": 1, "type": "integer" }, "file_path": { "description": "Path to the file to read (relative to workspace root)", "type": "string" }, "start_line": { "description": "Start line number (1-based, optional)", "minimum": 1, "type": "integer" } }, "required": [ "file_path" ], "type": "object" }
Install Server

Other Tools from Moatless MCP Server

Related Tools

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/TwT23333/mcp'

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