Skip to main content
Glama

MCP Python Interpreter

by yzfly

list_directory

List all Python files in a specified directory or subdirectory with the MCP Python Interpreter. Input a directory path to retrieve file names efficiently.

Instructions

List all Python files in a directory or subdirectory. Args: directory_path: Path to directory (relative to working directory or absolute, empty for working directory)

Input Schema

NameRequiredDescriptionDefault
directory_pathNo

Input Schema (JSON Schema)

{ "properties": { "directory_path": { "default": "", "title": "Directory Path", "type": "string" } }, "title": "list_directoryArguments", "type": "object" }

Other Tools from MCP Python Interpreter

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/yzfly/mcp-python-interpreter'

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