v0.4.0: EEGLAB Support & Usability
What's New in v0.4.0
Selective Workspace Retrieval (Issue #17, PR #21)
get_variable(name, fields, depth, max_elements)for targeted struct accessget_struct_info(var_name)for metadata without valueslist_workspace_variables(pattern, var_type)for workspace discovery- Handles complex EEGLAB structures (EEG, chanlocs, events) efficiently
Section Execution Improvements (Issue #18, PR #23)
execute_section_by_index(script, index)for intuitive section executionexecute_section_by_title(script, title)with fuzzy matching- Support for arbitrary file paths (not just pre-saved scripts)
MATLAB Type Converters (Issue #22, PR #24)
- Automatic MATLAB struct to Python dict conversion
- AttrDict for attribute-style access to MATLAB data
- Configurable depth and element limits
Figure Analysis (Issue #19, PR #25)
get_figure_metadata(figure_index)extracts titles, labels, limits, legendsget_plot_data(figure_index, line_index)extracts plotted x/y dataanalyze_figure(figure_index)for structured analysis prompts- 29 new tests for figure analysis
Previous Releases
- v0.3.0: Smart workspace optimization (99.84% token reduction), figure compression, streamlined installation
- v0.2.0: UV virtual environments, Cursor compatibility, extension handling fixes
- v0.1.0: Initial MATLAB script execution and plot handling
Full MCP Tool Set (14 tools)
Scripts: execute_script, execute_section, execute_section_by_index, execute_section_by_title, create_matlab_script, get_script_sections
Workspace: get_workspace, get_variable, get_struct_info, list_workspace_variables
Figures: get_figure_metadata, get_plot_data, analyze_figure, get_analysis_prompt