原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

ASTra

作者:Attentionform版本 0.4.1i★ 0i在你的电脑上运行
注册名称com.attentionform/astra-mcp-server

安装方法

What it does

Lets AI agents edit Word (.docx) files. Every save is schema-checked and kept as a git commit.

  • Connects 在你的电脑上运行
  • Account or key No key needed
  • Category 文档、表格与办公

安装

选择你使用的 AI 应用,然后复制设置。

通过 2/3 项检查 · 在你的电脑上运行

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  3. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "astra": {
          "command": "npx",
          "args": [
            "-y",
            "@attentionform/astra-mcp-server",
            "--allowed-dir",
            "your-value"
          ]
        }
      }
    }
  4. 退出 Claude 再重新打开

  5. 试一试

    用 ASTra 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 ASTra,或回答中出现 ASTra 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 ASTra

ASTra 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 ASTra 的应用

  • 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写
  • 需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

B · 文档、表格与办公 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user astra -- npx -y @attentionform/astra-mcp-server --allowed-dir your-value
  4. 在 Claude Code 中输入 /mcp

    应能看到 ASTra 在列表中并显示已连接

  5. 试一试

    用 ASTra 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 ASTra,或回答中出现 ASTra 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 打开 Cursor 的 MCP 设置文件

    ~/.cursor/mcp.json

    粘贴这些设置,填写空着的值并保存

    {
      "mcpServers": {
        "astra": {
          "command": "npx",
          "args": [
            "-y",
            "@attentionform/astra-mcp-server",
            "--allowed-dir",
            "your-value"
          ]
        }
      }
    }
  3. 在 Cursor 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 ASTra 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 ASTra,或回答中出现 ASTra 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 打开 VS Code 的 MCP 设置文件

    MCP: Open User Configuration

    粘贴这些设置,填写空着的值并保存

    {
      "servers": {
        "astra": {
          "type": "stdio",
          "command": "npx",
          "args": [
            "-y",
            "@attentionform/astra-mcp-server",
            "--allowed-dir",
            "your-value"
          ]
        }
      }
    }
  3. 在 VS Code 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 ASTra 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 ASTra,或回答中出现 ASTra 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 ASTra 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user astra -- npx -y @attentionform/astra-mcp-server --allowed-dir your-value

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "astra": {
      "command": "npx",
      "args": [
        "-y",
        "@attentionform/astra-mcp-server",
        "--allowed-dir",
        "your-value"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "astra": {
      "command": "npx",
      "args": [
        "-y",
        "@attentionform/astra-mcp-server",
        "--allowed-dir",
        "your-value"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "astra": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@attentionform/astra-mcp-server",
        "--allowed-dir",
        "your-value"
      ]
    }
  }
}

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
833/周
已验证域名
✓ attentionform.com
许可证i
未注明许可证
连接方式
在你的电脑上运行
最新版本i
0.4.1
发布到注册中心i
2026年11月11日
代码最后更新i
2026年11月11日
作者
Attentionform
软件包
npm: @attentionform/astra-mcp-server
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月12日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过域名 attentionform.com 验证(注册中心会核实域名所有权)

  • ✓ 通过

    仍在维护

    代码最后更新于昨天

  • ! 注意

    有许可证

    GitHub 无法识别许可证类型;请打开文件自行查看

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 3785 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3785 个服务器的 94% 更新
  • 基础检查结果等于或优于此分类中其他 3785 个服务器的 46%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

ASTra 安全吗?

它在 3 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于昨天,最新版本(0.4.1)于昨天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Puter MCP, XcodeBuildMCP, XcodeBuildMCP

同类别的其他选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Puter MCP

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

作者:HeyPuter广泛使用★ 4.4万5个月前更新

在云端运行✓ 服务方 · puter.com

XcodeBuildMCP

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

作者:getsentry广泛使用↓ 13万/周 共用包的下载量★ 65634个月前更新

在你的电脑上运行✓ 服务方 · xcodebuildmcp.com

XcodeBuildMCP

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

作者:cameroncooke广泛使用↓ 13万/周 共用包的下载量★ 656314个月前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

@attentionform/astra-mcp-server

Official Model Context Protocol (MCP) server for the ASTra document engine.

@attentionform/astra-mcp-server exposes a comprehensive, 19-tool agentic interface over standard I/O (stdio). It enables AI coding assistants, including Claude Desktop, Cursor, Windsurf, Cline, and custom LLM agents, to inspect, query, mutate, and export Microsoft Word (.docx) documents with transactional integrity and zero schema corruption.


Quickstart

Run with npx (Recommended)

No installation required. Pass your document directory via --allowed-dir:

npx -y @attentionform/astra-mcp-server --allowed-dir /path/to/your/documents

Security Note: ASTra enforces strict directory sandboxing. The server will only read and write files within directories explicitly declared via --allowed-dir (or the ASTRA_EXTRA_DOC_ROOTS environment variable). The path must be absolute and exist on disk. The named folders are the whole boundary: the system temp folder is not added. A symbolic link at or above a named folder is followed; a link below it that points outside it is refused.

Validation. open_document checks the file and reports valid, invalid, timed-out or skipped; it never refuses the open. A save is allowed when it adds no validator error beyond the ones the file had. Server flags: --strict-validation (also ASTRA_STRICT_VALIDATION=1) refuses every error; --open-validation-timeout (also ASTRA_OPEN_VALIDATION_TIMEOUT_MS) sets the wait at open, default 5000.

Macros and size limits. open_document takes allowMacros (keep macro parts) or stripMacros (remove the parts and every reference to them). The zip-bomb ceilings are ASTRA_MAX_RATIO (default 100) and ASTRA_MAX_UNCOMPRESSED_BYTES, read from the environment.

Global Installation
npm install -g @attentionform/astra-mcp-server

astra-mcp-server --allowed-dir /path/to/your/documents


Client Integration

Add ASTra to your AI agent with a simple JSON snippet:

1. Claude Desktop

Add ASTra to your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{

"mcpServers": { "astra": { "command": "npx", "args": [ "-y", "@attentionform/astra-mcp-server", "--allowed-dir", "/absolute/path/to/your/documents" ], "env": { "NODE_ENV": "production" } } } }

2. Cursor IDE

Create or edit .cursor/mcp.json in your project root:

{

"mcpServers": { "astra": { "command": "npx", "args": [ "-y", "@attentionform/astra-mcp-server", "--allowed-dir", "${workspaceFolder}" ] } } }

3. Windsurf

Add to your Windsurf MCP configuration (~/.codeium/windsurf/mcp_config.json):

{

"mcpServers": { "astra": { "command": "npx", "args": [ "-y", "@attentionform/astra-mcp-server", "--allowed-dir", "/absolute/path/to/your/documents" ] } } }

4. Cline (VS Code Extension)

In Cline's MCP settings tab, configure:

  • Server Name: astra
  • Command: npx
  • Args: ["-y", "@attentionform/astra-mcp-server", "--allowed-dir", "${workspaceFolder}"]
Schema freshness (when tools change)

Every served tool ships a version-stamped JSON copy under schemas/mcp/ (x-generated-from names the server build). Clients cache those shapes:

  • Memory caches (Claude Desktop for the app lifespan, Cursor and Zed per session): restart the host app to pick up new tools.
  • Disk caches (file-based setups that vendor the JSON copies): re-run the dump, then point the client at the fresh dir:
npx -y @attentionform/astra-mcp-server --dump-schemas ./fresh-schemas

npx -y @attentionform/astra-mcp-server --check-schemas ./fresh-schemas

--check-schemas exits 0 when every stamp matches the installed server and prints a stale-file warning with exit 1 otherwise. CI regenerates and diffs schemas/mcp/ on every push, so a schema change without refreshed copies fails the build.


The 19 MCP Tools

ASTra provides a complete set of 19 tools organized by capability. The server returns all 19 tools over tools/list:

open_document

Opens a .docx file into an isolated in-memory editing session.

Parameters:

ParameterTypeRequiredDescription
pathstringYesAbsolute path to .docx file inside an allowed directory.
sessionIdstringNoServer-minted session id (deprecated to supply; test-only).
summaryOnlybooleanNoOmitted or true returns a compact summary; false includes the full structural summary and styles XML.
allowMacrosbooleanNoPreserve macro parts byte-for-byte.
stripMacrosbooleanNoStrip macro parts upon loading.
authorstringNoDefault author for tracked changes and comments in this session that do not name one (falls back to the server's ASTRA_AUTHOR, then ASTra). An operation's own author wins.
validationTimeoutMsintegerNoHow long to wait for the validator when the file is opened, in milliseconds. 0 skips the check. Default 5000, or the server flag --open-validation-timeout / ASTRA_OPEN_VALIDATION_TIMEOUT_MS.

Returns: { ok: true, sessionId, revision, summary, evicted, validation }. validation is { status: "valid" }, { status: "invalid", preExistingErrors, messages, baselineComparable, note } when the file already has validator errors, { status: "timed-out" } or { status: "skipped" }.


inspect_document

Inspects document structure using Token-Optimized Outline Notation (TOON).

Parameters:

ParameterTypeRequiredDescription
sessionIdstringYesActive session identifier.
fidelitystringNo"compact" (default), "standard", or "full".
sectionIdstringNoRestrict outline to a specific section.
maxTextLengthnumberNoTruncate run text at character limit.
offsetnumberNoPagination start row for document nodes only (default: 0). An offset past the last node is rejected.
limitnumberNoMaximum node rows to return (default: 50, max: 200).
aroundNodestringNoNode ID to center the inspection window around.
windownumberNoHalf-width of rows around aroundNode (default: 5).
maxTokensnumberNoToken budget cutoff on clean row boundary (200–8000).
includearrayNoOptional review records to include: ["comments"], ["revisions"], or both.
reviewOffsetnumberNoStart record for the include lists (default: 0). Pages comments and revisions without moving the node window.
reviewLimitnumberNoRecords per include list (default: 50; values above 50 are clamped to 50).
commentIdnumberNoSpecific comment ID to inspect. Needs include:["comments"].
revisionIdnumberNoSpecific tracked revision ID to inspect. Needs include:["revisions"].

Returns: { ok: true, sessionId, revision, fidelity, palette, toonText, rowCount }


search_content

Fast text search returning matching stable node IDs and text snippets.

Parameters:

ParameterTypeRequiredDescription
sessionIdstringYesActive session identifier.
querystringYesSearch query string (1–500 characters).
regexbooleanNoTreat query as regular expression (default: false).
scopestringNoSearch scope: "body" (default), "comments", or "all".

Returns: { ok: true, sessionId, matches: [{ id, preview, cells? }], truncated? }. At most 50 matches are returned; truncated: true says more exist. A table hit lists cells, up to five cell addresses such as t_001:r3c1, that you can pass as the target of replace, style, namedStyle, clearFormat, hyperlink, bookmark or comment. Cell addresses are :r c , 1-based as inspect_document prints the grid (add :p for a cell with several paragraphs).


execute_batch

Executes an atomic array of typed operations with schema validation and rollback guarantees.

Parameters:

ParameterTypeRequiredDescription
sessionIdstringYesActive session identifier.
operationsarrayYesArray of 1 to 500 typed operation objects.
sequentialbooleanNoApply operations sequentially in order (default: true).
rollbackOnErrorbooleanNoRoll back entire batch if any operation fails (default: true).
maxStepsnumberNoMaximum execution steps before aborting.
allowedDirstringNoJail directory for image filePath reads.
styleGuidestringNoPer-batch style guide override (name or .md path).

Returns: { ok: true, sessionId, appliedCount, revision, createdNodeIds, revisionsPending, revisionsUnresolved?, revisionsRemedy?, revisionResolution? }. revisionsPending counts every revision element left (a move counts as each of its markers). After a trackedChange that left revisions it could not resolve, revisionsUnresolved counts them and revisionsRemedy lists kind, node and reason instead of repeating acceptAll. revisionResolution also lists removedBookmarks, removedComments and staleLinks when a removed paragraph carried them.


save_document

Validates all modified XML parts against ECMA-376 schema and commits changes to disk.

Parameters:

ParameterTypeRequiredDescription
sessionIdstringYesActive session identifier.
outPathstringNoTarget path (defaults to original session path).
messagestringNoCommit log message for document history.
authorstringNoAuthor name for document history.
allowMacrosbooleanNoExplicit macro policy to keep macros on save.
stripMacrosbooleanNoExplicit macro policy to strip macros on save.
strictbooleanNoRefuse every validator error, including errors the file already had when it was opened. Also refuses paragraphs that share a w14:paraId, which a save otherwise renumbers. Default: off, or the server flag --strict-validation / ASTRA_STRICT_VALIDATION=1.

Returns: { ok: true, sessionId, path, revision, commitOid, validation }. When the file already had validator errors and the edit added none, validation is { ok: false, tolerated: true, preExistingErrors, introducedErrors: 0, messages }; otherwise { ok: true }.


close_document

Closes the active session and releases all in-memory resources.

Parameters:

ParameterTypeRequiredDescription
sessionIdstringYesActive session identifier.

Returns: { ok: true, sessionId }


new_document

Creates a fresh .docx file from an executive template and opens it into a session.

Parameters:

ParameterTypeRequiredDescription
outPathstringYesDestination file path inside an allowed directory.
templatestringNoTemplate type: "report", "memo", or "blank" (default: "blank").
forcebooleanNoOverwrite existing file if it exists (default: false).
styleGuidestringNoBundled guide name or guide .md path to attach.

| author | string | No | Default author for tracked changes and comments in this session that do not name one (falls back to the server's ASTRA_AUTHOR, then `AST

只显示了开头部分;其余内容请在仓库中阅读