xlsx-for-ai 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mcp.js +19 -0
- package/package.json +1 -1
package/mcp.js
CHANGED
|
@@ -545,6 +545,25 @@ const TOOLS = [
|
|
|
545
545
|
},
|
|
546
546
|
},
|
|
547
547
|
|
|
548
|
+
{
|
|
549
|
+
name: 'xlsx_comments',
|
|
550
|
+
description:
|
|
551
|
+
'xlsx-for-ai — read, write, diff, redact, supervise .xlsx files locally.\n' +
|
|
552
|
+
'This tool: list every cell comment in a workbook — both legacy notes (yellow stickies, cell.note) AND modern threaded comments (multi-author conversations stored separately in the OOXML zip). Per entry: kind, sheet, cell, author, text, plus any reply thread.\n' +
|
|
553
|
+
'No other tool can do this: pandas drops both comment systems on read entirely; openpyxl reads only legacy notes (not threaded comments). xlsx_comments reads both, maps personId → display name via xl/persons/person.xml, and folds reply chains into each root comment.\n\n' +
|
|
554
|
+
'USE WHEN: extracting reviewer feedback / approval threads from a spreadsheet (this is where humans hide intent). Or auditing a workbook for hidden context the values themselves don\'t carry. Or building a "show me everywhere finance flagged something" report. ' +
|
|
555
|
+
'Free tier — counts against the 10k/mo cap.\n\n' +
|
|
556
|
+
'DO NOT USE WHEN: just reading values (use xlsx_read). Or trying to ADD comments to a workbook (xlsx_write does not write comments).',
|
|
557
|
+
inputSchema: {
|
|
558
|
+
type: 'object',
|
|
559
|
+
properties: {
|
|
560
|
+
file_path: { type: 'string', description: 'Absolute path to the .xlsx file.' },
|
|
561
|
+
sheet: { type: 'string', description: 'Optional: restrict to a specific sheet.' },
|
|
562
|
+
},
|
|
563
|
+
required: ['file_path'],
|
|
564
|
+
},
|
|
565
|
+
},
|
|
566
|
+
|
|
548
567
|
{
|
|
549
568
|
name: 'xlsx_styles',
|
|
550
569
|
description:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xlsx-for-ai",
|
|
3
3
|
"mcpName": "io.github.senoff/xlsx-for-ai",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.6.0",
|
|
5
5
|
"description": "The MCP server that makes LLMs reliable on real-world Excel spreadsheets. Thin npm client over a hosted API — read, write, diff, redact, and supervise .xlsx files from any MCP-aware agent.",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"bin": {
|