Skip to main content
MCP server CX Codex

ASTra — Claude Code MCP server for Word files

ASTra — an MCP server for Claude Code lets an agent edit Word documents in .docx format. Each save is schema-checked and recorded as a git commit.

no license ★ 1 updated 2026-11-16

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add mcp-server -- npx -y @attentionform/astra-mcp-server
Open on GitHub

What ASTra does

ASTra gives an agent tools to inspect and edit Word documents. It opens a .docx file in an isolated session, exposes its structure, and applies edits; saves are checked against the document schema and recorded in git.

The server can access files only in directories explicitly allowed for it. Running it requires npx and an absolute path to an existing document folder passed with --allowed-dir; without an allowed folder, it cannot read or save documents. Opening a file reports validation status, but a validation error does not by itself prevent the open.

What it helps with

  • edit text in a .docx file through an AI agent
  • inspect a document’s structure before changing it
  • save edits with schema validation and a git commit

Example prompts for the agent

  • Edit the text in report.docx and save the changes.
  • Show me the structure of proposal.docx before making edits.
  • Open draft.docx, fix its headings, and save the document.

How to install ASTra

Platform CLI

claude mcp add mcp-server -- npx -y @attentionform/astra-mcp-server

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about ASTra

How do I install ASTra in Claude Code?

Run claude mcp add mcp-server -- npx -y @attentionform/astra-mcp-server. The server also needs an allowed document directory supplied through --allowed-dir.

What does ASTra do?

ASTra gives an AI agent tools to inspect and edit Word .docx files. It checks saves against the schema and records them as git commits.

What does ASTra need to run?

It requires npx and an absolute path to an existing document directory passed with --allowed-dir. File access stays within the directories granted to the server.

Similar MCP servers

All MCP servers for Git and GitHub →

Project sponsors

Companies that keep this analytics open