Skip to main content
Glama
PortPro-Technologies-Inc

MCP Python Interpreter

read_file

Read and retrieve content from files with specified size limits for safety. Use this tool to access file data securely within the MCP Python Interpreter environment.

Instructions

Read the content of any file, with size limits for safety. Args: file_path: Path to the file (relative to working directory or absolute) max_size_kb: Maximum file size to read in KB (default: 1024) Returns: str: File content or an error message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
max_size_kbNo

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/PortPro-Technologies-Inc/mcp-python-interpreter'

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