原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

KeyboardExtAX

作者:Nikitosina版本 0.1.2i★ –i在你的电脑上运行
注册名称io.github.Nikitosina/keyboard-ext-ax

安装

概览

作者提供的说明(英文原文)

Accessibility snapshots and tap coordinates for active third-party iOS keyboards in Simulator.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: DEVELOPER_DIR, KEYBOARD_EXT_AX_CACHE_DIR

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "keyboard-ext-ax": {
      "command": "uvx",
      "args": [
        "keyboard-ext-ax",
        "mcp"
      ],
      "env": {
        "DEVELOPER_DIR": "your-value",
        "KEYBOARD_EXT_AX_CACHE_DIR": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add keyboard-ext-ax --env DEVELOPER_DIR=your-value --env KEYBOARD_EXT_AX_CACHE_DIR=your-value -- uvx keyboard-ext-ax mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "keyboard-ext-ax": {
      "command": "uvx",
      "args": [
        "keyboard-ext-ax",
        "mcp"
      ],
      "env": {
        "DEVELOPER_DIR": "your-value",
        "KEYBOARD_EXT_AX_CACHE_DIR": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "keyboard-ext-ax": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "keyboard-ext-ax",
        "mcp"
      ],
      "env": {
        "DEVELOPER_DIR": "your-value",
        "KEYBOARD_EXT_AX_CACHE_DIR": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • DEVELOPER_DIR env
    Optional path to the Xcode Developer directory used to build and run the XCTest harness.
  • KEYBOARD_EXT_AX_CACHE_DIR env
    Optional cache directory for shared build products and per-simulator runner state.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Nikitosina 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“开发者工具”中的其他服务器比较i

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

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

常见问题

KeyboardExtAX 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.2)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

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

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

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github广泛使用★ 3.4万5天前更新

电脑或云端

Desktop Commander

MCP server for terminal commands, file operations, and process management

作者:wonderwhy-er广泛使用↓ 71万/周★ 1万17天前更新

在你的电脑上运行

Cloudflare MCP

Cloudflare MCP servers

作者:cloudflare正在增长★ 444614个月前更新

在云端运行✓ mcp.cloudflare.com

作者的 README

打开 README

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

KeyboardExtAX

Fast, read-only accessibility snapshots of active third-party iOS keyboard extensions in Simulator.

Why this project exists

A custom iOS keyboard runs in a separate app-extension process. When a client app presents that keyboard, ordinary UI automation usually sees the client application's accessibility tree but not the keyboard's useful descendants. The entire keyboard may appear as one opaque element.

That creates a practical automation gap:

  • screenshots can show the keyboard, but extracting reliable tap coordinates from pixels is slow and brittle;
  • the client application's accessibility snapshot does not necessarily expose the extension's keys and controls;
  • starting a new XCTest session for every query is expensive and can disturb keyboard focus;
  • XCTest element handles become stale whenever the keyboard changes layout;
  • automation agents should not need to manage test plans, ports, build products, or runner processes.

KeyboardExtAX fills that gap. It attaches XCTest directly to the already-running keyboard extension by bundle identifier, parses its accessibility hierarchy, and returns plain JSON with absolute logical coordinates. A persistent runner keeps warm snapshots fast, while a small controller owns building, caching, ports, and per-simulator lifecycle.

KeyboardExtAX observes only. Use a separate automation tool, such as XcodeBuildMCP, to launch apps, focus text fields, and perform gestures with the returned coordinates.

Quick start: MCP

Configure keyboard-ext-ax-mcp as a stdio MCP server. Most MCP clients use a configuration shaped like this:

{

"mcpServers": { "KeyboardExtAX": { "command": "keyboard-ext-ax-mcp", "env": { "DEVELOPER_DIR": "/Applications/Xcode.app/Contents/Developer" } } } }

If the MCP client does not inherit your shell PATH, replace the command with the absolute path printed by command -v keyboard-ext-ax-mcp.

The server exposes one tool:

keyboard_snapshot(

simulator_id: " ", extension_bundle_id: "com.example.keyboard.extension", raw: false )

Example input:

{

"simulator_id": "2D78332B-A3C3-4CEE-962B-99EF531FD201", "extension_bundle_id": "com.example.keyboard.extension" }

The result is returned as structured MCP content. The MCP layer delegates directly to the same controller used by the CLI, so build caching, sessions, errors, and output are identical.

Quick start: CLI

With the client text field focused and the requested keyboard visible:

keyboard-ext-ax snapshot \

--simulator \ --extension com.example.keyboard.extension

Add --output /tmp/keyboard.json to write the result to a file. Add --raw for the nested tree and XCTest diagnostics.

Scope and limitations

KeyboardExtAX currently supports:

  • macOS hosts;
  • iOS Simulator;
  • third-party keyboard extensions;
  • Xcode 26.5;
  • read-only accessibility snapshots.

It does not:

  • tap, swipe, or type;
  • launch or foreground the client app;
  • select or enable a keyboard for the user;
  • access physical iOS devices;
  • guarantee compatibility with widgets, Live Activities, or other extension types;
  • guarantee parser compatibility with untested Xcode versions.

The parser reads XCUIApplication.debugDescription. Its text format is not a documented compatibility contract, so each Xcode version must be validated before support is claimed.

Requirements

  • macOS
  • Xcode 26.5 with the desired iOS Simulator runtime installed
  • Python 3.10 or newer
  • A keyboard app and extension already installed in the target simulator
  • The keyboard enabled in Settings → General → Keyboard → Keyboards
  • A foreground client app with a focused text field

If multiple Xcode installations are present, select one with DEVELOPER_DIR or --developer-dir:

export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer

Installation

Homebrew (recommended)
brew install nikitosina/tap/keyboard-ext-ax
PyPI with uv

Install both executables permanently:

uv tool install keyboard-ext-ax

Or run the MCP server without a persistent installation:

uvx keyboard-ext-ax mcp
From source
git clone https://github.com/Nikitosina/KeyboardExtAX.git

cd KeyboardExtAX python3 -m venv .venv .venv/bin/python -m pip install -e . source .venv/bin/activate

Every installation provides keyboard-ext-ax and keyboard-ext-ax-mcp. The MCP server can be started with either keyboard-ext-ax-mcp or keyboard-ext-ax mcp.

The bundled Xcode project is ready to use. XcodeGen is needed only when modifying keyboard_ext_ax/harness/project.yml.

Output

The default response is a compact, flat array:

{

"ok": true, "snapshot_id": "9543E2AA-C4D9-4281-9645-7792F7953FE3", "simulator_udid": "2D78332B-A3C3-4CEE-962B-99EF531FD201", "extension_bundle_id": "com.example.keyboard.extension", "pid": 12345, "elapsed_ms": 103.4, "round_trip_ms": 106.1, "session_reused": true, "total_ms": 171.8, "elements": [ { "ref": "0.0.3", "type": "Key", "identifier": "space", "label": "Space", "frame": { "x": 112, "y": 746, "width": 178, "height": 44 }, "center": { "x": 201, "y": 768 }, "tap_x": 201, "tap_y": 768 } ] }

Element fields
FieldMeaning
refStable path within this snapshot only. Refresh it after layout changes.
typeXCTest accessibility element type.
identifierAccessibility identifier, when provided by the extension.
labelAccessibility label, when provided by the extension.
frameAbsolute logical frame in Simulator coordinates.
centerExact floating-point frame center.
tap_x, tap_yRounded integer center, ready for a gesture tool.

Coordinates are Simulator logical coordinates, not screenshot pixels. Do not rescale them before passing them to XcodeBuildMCP for the same simulator.

Session management

keyboard-ext-ax status

keyboard-ext-ax status --simulator keyboard-ext-ax stop --simulator keyboard-ext-ax stop --all

One runner is maintained per simulator. Multiple simulators can be queried concurrently. If a reused runner loses the extension process, KeyboardExtAX recycles it once and returns client_refocus_required.

Errors

Errors are JSON objects with stable codes.

CodeMeaningRecovery
client_refocus_requiredA new or restarted runner is ready.Refocus the client text field and repeat the request.
extension_not_activeXCTest could not attach after three attempts.Confirm that the requested extension—not the system keyboard—is visible, then retry.
runner_start_failedThe persistent XCTest runner did not become ready.Inspect the returned log and log_tail.
build_failedThe XCTest harness failed to build.Inspect the returned build log and verify the selected Xcode.
xcode_unavailableXcode could not be located or queried.Set DEVELOPER_DIR or pass --developer-dir.
extension_bundle_id_missingThe runner received no extension identifier.Supply extension_bundle_id.
snapshot_failedXCTest raised an unexpected snapshot error.Retry with raw: true and inspect diagnostics.

The CLI exits with:

  • 0 for success;
  • 2 for a normal snapshot-state error such as inactive extension;
  • 1 for lifecycle, build, or controller failures.

Architecture

MCP client / CLI

│ ▼ KeyboardExtAXController ├─ build cache ├─ per-simulator lock and state ├─ free-port allocation └─ XCTest runner lifecycle │ JSON over loopback TCP ▼ PersistentKeyboardExtAXTests │ XCUIApplication(bundleIdentifier:) ▼ Active keyboard extension process │ ▼ Parsed tree → compact elements → MCP/CLI JSON

The host app included in this repository is XCTest scaffolding. Snapshot mode does not launch it and does not replace the consumer's foreground client app.

License

KeyboardExtAX is available under the MIT License.

问 PopNx