Skip to main content
Glama

Claude Code MCP

by auchenberg

readFile

Extract specific file content by specifying file path, starting line offset, and number of lines to read using the MCP server for streamlined file access.

Instructions

Read a file from the local filesystem

Input Schema

NameRequiredDescriptionDefault
file_pathYesThe absolute path to the file to read
limitNoThe number of lines to read
offsetNoThe line number to start reading from

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "file_path": { "description": "The absolute path to the file to read", "type": "string" }, "limit": { "description": "The number of lines to read", "type": "number" }, "offset": { "description": "The line number to start reading from", "type": "number" } }, "required": [ "file_path" ], "type": "object" }

Other Tools from Claude Code MCP

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/auchenberg/claude-code-mcp'

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