preview_file
Return up to 8 KB of a text file for quick inspection.
How to use it
preview_file is exposed by the Python Runtime Interpreter MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the preview_file tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL PYTHON RUNTIME INTERPRETER MCP SERVER LISTINGOther tools in Python Runtime Interpreter MCP Server (4)