Skip to main content
Glama
tim-akkio

MCP Server Framework

by tim-akkio

read_file

Read text file contents with configurable line limits for file operations within Claude Code and Claude Desktop environments.

Instructions

    Read contents of a text file.

    Requires MCP_ALLOWED_PATHS to be configured with permitted directories.

    Args:
        path: File path to read
        max_lines: Maximum number of lines to return (default: 100)

    Returns:
        File contents or error message
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
max_linesNo

Latest Blog Posts

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/tim-akkio/mcp-server'

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