mcp-server-data-exploration

run_script

Python Script Execution Tool

Purpose: Execute Python scripts for specific data analytics tasks.

Allowed Actions 1. Print Results: Output will be displayed as the script’s stdout. 2. [Optional] Save DataFrames: Store DataFrames in memory for future use by specifying a save_to_memory name.

Prohibited Actions 1. Overwriting Original DataFrames: Do not modify existing DataFrames to preserve their integrity for future tasks. 2. Creating Charts: Chart generation is not permitted.

Input Schema

NameRequiredDescriptionDefault
save_to_memoryNo
scriptYes

Input Schema (JSON Schema)

{ "properties": { "save_to_memory": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Save To Memory" }, "script": { "title": "Script", "type": "string" } }, "required": [ "script" ], "title": "RunScript", "type": "object" }

You must be authenticated.

Other Tools