Skip to content

feat(mcp): import xlsx workbooks with data.import - #132

Merged
Limdongcheng merged 2 commits into
mainfrom
feat/mcp-xlsx-import
Oct 25, 2026
Merged

Limdongcheng merged 2 commits into
mainfrom
feat/mcp-xlsx-import

Conversation

@Limdongcheng

Copy link
Copy Markdown
Collaborator

Summary

  • data.import with mode: "table_data_only" reads .xlsx files (or format: "xlsx"): each visible worksheet with cells becomes its own table, as in the desktop import. sheets limits the import to named worksheets.
  • Worksheets are read and prepared one at a time. A worksheet that fails, or whose used range would exceed the 8,000,000-cell budget per file, fails as its own item before its cells are read; the others still import. Items report their sheet.
  • Native import rejects .csv, .tsv and .xlsx paths and points to table_data_only.
  • An import summary over 128 KiB that includes XLSX files fails with the worksheet names of each file.

Validation

  • cargo pr-check
  • npm run build in docs/
  • Imported the Source Data workbooks of ten published papers with plotium-cli tool run.

@Limdongcheng
Limdongcheng merged commit b36f4fb into main Oct 25, 2026
11 checks passed
@Limdongcheng
Limdongcheng deleted the feat/mcp-xlsx-import branch October 25, 2026 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant