Scan your whole stack
From OX Research Newsroom
Latest version: v0.2.0
Office files was last scanned on 28 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.0 LATEST | 28 Nov 2026 | No rules fired |
Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.2.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Word, Excel, PowerPoint and CSV files for AI agents, and reading them back as text.
A model writes a typed spec. The engine checks it and builds a real Office file: live formulas, native charts, real heading styles and Word numbering. The model gets back the file path and a short list of findings, so it can fix the spec and try again. Attachments go the other way: an Office file in, plain text out, with hidden content marked.
No API key, no account. The server runs on your machine and saves files to
./office-output.
| Agent | Run this |
|---|---|
| Claude Code | claude mcp add office -- npx -y @vatsonai/office-mcp |
| Codex CLI | codex mcp add office -- npx -y @vatsonai/office-mcp |
| VS Code | code --add-mcp '{"name":"office","command":"npx","args":["-y","@vatsonai/office-mcp"]}' |
| Cursor | Add to Cursor |
| VS Code (button) | Install in VS Code |
| Claude Desktop and others | add "office": { "command": "npx", "args": ["-y", "@vatsonai/office-mcp"] } under mcpServers (details) |
Or paste this to your agent and let it set itself up:
Add the MCP server "office" (command: npx -y @vatsonai/office-mcp) to your MCP settings.
Use it whenever I ask for an Excel, Word, PowerPoint or CSV file, or to read one.
Then ask for a file: "Make me a 12-month cash-flow plan as an Excel workbook with a chart."
The tools come as an eve extension, an MCP server and AI SDK tools, all running the same code.
The demo is recorded by scripts/demo/record.mjs from a real run: a scripted
model stands in for the LLM, and the registry and npm were local stand-ins
when it was recorded.
Three example specs, compiled and rendered with LibreOffice
(pnpm samples; the files are in docs/assets/samples/files).
The other slides of the deck: title, timeline, next steps.
Give the tools an example file and the new file takes its look. A .pptx
template brings its theme, slide master, layouts and slide size; our slides
fill the layouts' placeholders. A .docx template brings its styles, list
numbering, table style, page setup, header and footer. A .xlsx template
brings its theme, default font, header style, cell styles and table style.
None of the example's text or data is copied.
The same deck spec, without and with a dark .pptx template. In eve,
extract_style reads the example first and returns plain rules for the
writing too (sentence length, heading case, bullet form, register); the create
tool then checks the new text against them. In code:
const deck = await buildDeck(spec, { template: await readFile("our-template.pptx") });
const rules = describeStyle(extractStyle(await readFile("last-report.docx")));
Not copied: the example's slides, body text, images, comments and document properties; slide transitions; Word content controls and fields other than page numbers; Excel sheets, data, defined names, conditional formats and macros.
Open real files the tools made, with a preview of every page: workbooks, decks, documents and a CSV, some from hand-written specs and some written by a model from a short brief. See the example files gallery.
@vatsonai/eve-office is an
eve extension: eleven tools and one skill.
npm i @vatsonai/eve-office
Mount it in your agent. The file name is the mount prefix, so the tools appear
as office__create_workbook and so on.
import office from "@vatsonai/eve-office";
export default office({
locale: "en-US", // used when a spec names no locale
recalc: "auto", // fill formula results with LibreOffice or IronCalc
markHidden: true, // read_text marks hidden sheets, rows, slides and comments
});
Every option is optional; export { default } from "@vatsonai/eve-office";
mounts it with the defaults. All options: eve-office README.
No API key, no environment variable, no external service.
Coming soon: let eve write the mount file from this project's registry
(eve add @vatsonai/office, see docs/registry.md).
@vatsonai/office-mcp is an MCP server with
the same eleven tools and the guidance as the prompt office-files. It writes
files to a folder and returns their paths.
Claude Code:
claude mcp add office -- npx -y @vatsonai/office-mcp
Claude Desktop (claude_desktop_config.json) and Cursor (.cursor/mcp.json):
{
"mcpServers": {
"office": {
"command": "npx",
"args": ["-y", "@vatsonai/office-mcp", "--out", "/Users/you/Documents/office-output"]
}
}
}
stdio by default; --http serves Streamable HTTP on 127.0.0.1 with an
optional bearer token. Options, file hand-over and security:
office-mcp README.
@vatsonai/ai-sdk-office gives the eleven
tools to generateText, streamText and agents (ai 6 or 7). Your
onFile callback gets the bytes and returns where the file went; the model
sees only that location, a summary and the findings.
npm i @vatsonai/ai-sdk-office ai
A Next.js route handler:
import { officeSystemPrompt, officeTools } from "@vatsonai/ai-sdk-office";
import { convertToModelMessages, stepCountIs, streamText, type UIMessage } from "ai";
import { model } from "@/lib/model"; // the language model your app uses
import { saveFile } from "@/lib/storage"; // your upload code; returns a URL
export async function POST(req: Request) {
const { messages }: { messages: UIMessage[] } = await req.json();
const result = streamText({
model,
system: `You help with office work.\n\n${officeSystemPrompt}`,
messages: await convertToModelMessages(messages),
tools: officeTools({
locale: "en-US",
onFile: async (file) => ({ location: await saveFile(file.filename, file.bytes, file.mediaType) }),
}),
stopWhen: stepCountIs(8),
});
return result.toUIMessageStreamResponse();
}
All options: ai-sdk-office README.
The engines are plain TypeScript libraries. They do not need eve.
npm i @vatsonai/office-compile @vatsonai/office-spec
import { writeFile } from "node:fs/promises";
import { buildWorkbook } from "@vatsonai/office-compile";
import type { WorkbookSpecInput } from "@vatsonai/office-spec";
const spec: WorkbookSpecInput = {
locale: "en-US",
sheets: [
{
name: "Plan",
cells: [
{ ref: "A1", value: "Unit price" }, { ref: "B1", value: 120, role: "input" },
{ ref: "A2", value: "Units" }, { ref: "B2", value: 40, role: "input" },
{ ref: "A3", value: "Revenue" }, { ref: "B3", formula: "=B1*B2" },
],
},
],
};
const result = await buildWorkbook(spec);
if (result.ok) await writeFile("plan.xlsx", result.bytes);
else console.error(result.feedback); // what to fix, one line per issue
buildDeck and buildDocument work the same way with a DeckSpec and a
DocumentSpec; writeCsv takes rows. Read a file back as text:
import { readFile } from "node:fs/promises";
import { readText } from "@vatsonai/office-read";
const { kind, text, truncated, hiddenFlags } = await readText(await readFile("plan.xlsx"), { maxChars: 50_000 });
console.log(kind, truncated, hiddenFlags);
console.log(text); // [Sheet: Plan] then one line per row, cells joined by " | "
CI type-checks these snippets from examples/readme.
| Package | What it does |
|---|---|
@vatsonai/office-spec |
zod schemas for WorkbookSpec, DeckSpec and DocumentSpec; parse, normalise, spec checks, design rules, locale conventions |
@vatsonai/office-compile |
spec to .xlsx, .pptx and .docx, rows to .csv, review findings |
@vatsonai/office-render |
render, recalculate and validate Office files with headless LibreOffice and Poppler, when they are installed |
@vatsonai/office-read |
.docx, .xlsx, .pptx and .csv to text, with size caps and a mark on hidden content |
@vatsonai/office-tools |
the framework-free core of the eleven tools, shared by the three wrappers below |
@vatsonai/eve-office |
the eve extension: eleven tools and the office-files skill |
@vatsonai/office-mcp |
MCP server (stdio and Streamable HTTP): eleven tools, the office-files prompt, files as resources |
@vatsonai/ai-sdk-office |
AI SDK tools: officeTools() and officeSystemPrompt |
@vatsonai/office-style |
the style of a .docx, .pptx or .xlsx as a profile, plain rules and a writing check |
@vatsonai/office-edit |
edit existing .xlsx, .docx and .pptx files with a validated plan; the parts you do not touch stay byte-identical |
Tool (mounted as office__*) |
Input | Result |
|---|---|---|
create_workbook |
filename?, spec: a WorkbookSpec (sheets, cells with live formulas, tables, named ranges, number formats, native charts) |
.xlsx in the sandbox, a summary, the computed values, findings |
create_deck |
filename?, spec: a DeckSpec (title, bullets, two columns, chart, table, stat, timeline and other slide kinds; a theme) |
.pptx in the sandbox, a summary, findings |
create_document |
filename?, spec: a DocumentSpec (headings, paragraphs, bullet and numbered lists, tables, page breaks, header and footer) |
.docx in the sandbox, a summary, findings |
write_csv |
filename?, header?, rows, delimiter?, bom?, locale?, decimals? |
.csv in the sandbox, a summary |
edit_workbook, edit_document, edit_deck |
path of a file in the sandbox, plan (ops such as set_cell, insert_rows, replace_text, fill_placeholders, insert_blocks, add_slide, update_chart), filename?, inPlace?, dryRun? |
the edited file, a list of changes, the parts that changed; everything else byte-identical |
read_text |
path of a file in the sandbox, kind? |
the text, with cut and hidden-content marks |
preview_file |
path of a .pptx, .xlsx or .docx, pages?, images? |
an outline per slide, sheet or page and layout findings; LibreOffice in the sandbox optional (levels) |
extract_style |
path of a .docx, .pptx or .xlsx |
rules for its look and writing, and the full style profile |
export_pdf |
path of a .pptx, .xlsx or .docx, pages?, pdfA? |
a .pdf next to the made files: rendered by LibreOffice, or for a deck without LibreOffice, slides drawn as images |
The three create tools also take template?: the sandbox path of a file of
the same kind whose look to copy. Their result then includes writing-style
findings.
A spec that fails its checks makes no file. The tool returns what to fix, and the model calls again. Findings name the spec path and, where one applies, a rule from the design rules.
With MCP the file goes to a folder and the result gives its path (plus a
resource_link for clients that know it); with the AI SDK your onFile
callback gets the bytes. The rest of this section is about eve.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.