@automattic/mcp-context-a8c

中文文档
0.5.2发布于 2026/11/06ES Module近 30 天下载 2894

MCP server for Automattic internal context (Linear, Slack, P2s)

原始使用文档
文档目录8 节
  1. Installation
  2. Usage
  3. Claude Code
  4. Direct execution
  5. Features
  6. Proxy Support
  7. Environment Variables
  8. Implementation Notes

MCP Context A8C

MCP server for ContextA8C.

Installation

npm install @automattic/mcp-context-a8c

Usage

Claude Code

Add to your MCP configuration:

{
  "mcpServers": {
    "context-a8c": {
      "command": "npx",
      "args": ["@automattic/mcp-context-a8c"]
    }
  }
}

Direct execution

npx @automattic/mcp-context-a8c

Features

  • OAuth 2.1: WordPress.com authorization code with PKCE, automatic client registration, and refresh-token recovery
  • System proxy support: Automatically detects and uses system proxy (PAC file on macOS, env vars on Linux)

Proxy Support

This package enables system proxy detection by default (USE_SYSTEM_PROXY=true).

Environment Variables

All settings can be overridden via environment variables:

VariableDefaultDescription
WP_API_URLContext A8C endpointAPI endpoint URL
OAUTH_ENABLEDtrueEnable OAuth authentication
OAUTH_CALLBACK_PORTautomaticOverride the local callback port
OAUTH_TIMEOUT_MS300000Time allowed to complete browser authorization
USE_SYSTEM_PROXYtrueEnable system proxy detection

Upgrading from 0.4.x requires one fresh sign-in because the upstream credential directory is versioned. Concurrent processes share authorization and refresh tokens through the upstream OAuth lock.

Proxy-route changes and expired MCP sessions may require reconnecting your MCP client. The wrapper forwards upstream failures to the client rather than replaying requests.

Implementation Notes

This package is a thin wrapper around @automattic/mcp-wordpress-remote. It sets Automattic-specific environment defaults before delegating to the base MCP server.

See the mcp-wordpress-remote documentation for additional configuration options and details.

The upstream package is consumed as published; the wrapper does not rewrite dependency bundles. npm run build verifies fragmented HTTP chunk endings in the built executable. npm test builds first and runs the wrapper and heartbeat regressions.

版本与发布记录

@automattic/mcp-context-a8c 共发布 17 个版本,首次发布于 2026/01/29;过去 12 个月发布了 17 个版本。

版本发布日期距今
0.5.2latest2026/11/062 天前
0.5.12026/10/2117 天前
0.5.02026/10/2118 天前
0.4.32026/10/021 个月前
0.4.22026/09/151 个月前
0.4.12026/09/101 个月前

关于 @automattic/mcp-context-a8c 的常见问题

@automattic/mcp-context-a8c 是什么?

MCP server for Automattic internal context (Linear, Slack, P2s)

如何安装 @automattic/mcp-context-a8c?

在项目目录运行 npm install @automattic/mcp-context-a8c,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 mcp-context-a8c,可以用 npx mcp-context-a8c 直接运行。

@automattic/mcp-context-a8c 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/automattic__mcp-context-a8c 是否存在。

@automattic/mcp-context-a8c 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@automattic/mcp-context-a8c 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@automattic/mcp-context-a8c 可以商用吗?

@automattic/mcp-context-a8c 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@automattic/mcp-context-a8c 的下载量有多少?

根据 npm 官方下载统计,@automattic/mcp-context-a8c 在 2026/10/07 – 2026/11/05 这 30 天内被下载 2,894 次,日均约 96 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@automattic/mcp-context-a8c 还在维护吗?

最新版本 0.5.2 发布于 2026/11/06(2 天前);至今共发布 17 个版本,其中过去 12 个月发布了 17 个;首次发布于 2026/01/29。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。