# ASTra

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 1 repo stars
- Author: Attentionform
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Attentionform/astra/tree/HEAD/packages/mcp-server
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/astra

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add mcp-server -- npx -y @attentionform/astra-mcp-server
```

### Codex

**Platform CLI**
```bash
codex mcp add mcp-server -- npx -y @attentionform/astra-mcp-server
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "@attentionform/astra-mcp-server"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@attentionform/astra-mcp-server"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add mcp-server npx -y @attentionform/astra-mcp-server
```

## When to use it
- 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
- 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.

## Similar
- [Astra DB](https://affpapa.org/en/nevibecode/mcp/astra-db.md) — MCP server
- [Join.Cloud](https://affpapa.org/en/nevibecode/mcp/joincloud-joincloud.md) — MCP server · 152 installs
- [Security Auditor](https://affpapa.org/en/nevibecode/mcp/security-auditor.md) — MCP server · 148 installs
- [Agent Notary](https://affpapa.org/en/nevibecode/mcp/agent-notary.md) — MCP server · 100 installs
- [retrospective-analyzer](https://affpapa.org/en/nevibecode/commands/retrospective-analyzer.md) — command · 196 installs
- [sync-automation-setup](https://affpapa.org/en/nevibecode/commands/sync-automation-setup.md) — command · 181 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
