stata_session
Manage Stata sessions by listing, retrieving, destroying, or switching recent ones, with each session tracking do-files and execution logs for reproducible tasks.
Instructions
管理 Stata MCP session:列出、查询、销毁、切换最近 session。session_id 代表同一复现任务/同一个 Stata GUI,并关联 entry/source/current do、每个 do 的 log_paths 和 last_log_path。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 操作:list/get/destroy/set_recent | |
| session_id | No | get/destroy/set_recent 需要指定的 session_id |