shaft-mcp

io.github.ShaftHQ由 GitHub 账号 ShaftHQ 发布v10.4.20261102更新于 Nov 3, 2026

SHAFT 浏览器自动化、捕获以及离线确定性故障诊断

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

SHAFT browser automation, capture, and offline deterministic failure diagnosis

已验证STDIO仅桌面浏览器自动化开发者工具

概览

shaft 的本地 MCP 服务;无需登录;STDIO。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

安装

在 SourceWeft 中

  1. 打开 控制台中的 shaft-mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[SHAFT logo]

Write the test. SHAFT does the rest.

One Java engine for web, mobile, API, CLI, database, and desktop.
Drivers, waits, and evidence are handled. Every run ends in an Allure report.

[Read the User Guide]   [Star SHAFT on GitHub]

[Maven Central] [Build] [Codecov] [SkillSpector]

[GitHub stars]

Usage (GA4 Engine property + GitHub API, as of 2026-10-29): 4,885,097 tests run and 53,062 active users in 30 days (2026-09-29 to 2026-10-28); 154,202 active users in 12 months (2025-10-29 to 2026-10-28); 36 countries (12-month window). The stars badge above is live.

[SHAFT in action: a 3-line test, mvn test passing, and the green Allure report it produces.]

Upgrade to SHAFT_ENGINE · ▶ Watch the 26-second clip with sound and captions · 100-second overview

Why SHAFT

  • No plumbing. Managed Selenium and Appium drivers, synchronized actions, and smart waits.
  • One fluent API. Web, mobile, REST/GraphQL, database, CLI, and desktop in the same test.
  • Evidence by default. Steps, screenshots, and logs land in an Allure report on every run.
  • Scale by configuration. Local, Grid, BrowserStack, or LambdaTest; TestNG, JUnit, or Cucumber.
  • Open and trusted. MIT licensed, on Maven Central, with public coverage.

How it works

Test intent and configuration enter SHAFT's orchestration layer, fan out across the execution surfaces you need, and come back as unified evidence.

mermaid
flowchart LR    accTitle: SHAFT execution and evidence workflow    accDescr: Test intent and configuration enter SHAFT orchestration, run across Web, Mobile, API, and Native execution surfaces, and produce unified evidence.    I[Test intent] --> S[SHAFT orchestration]    C[Configuration] --> S    S --> W[Web]    S --> M[Mobile]    S --> A[API]    S --> N[Native, CLI, and Database]    W --> E[Unified evidence]    M --> E    A --> E    N --> E

Quickstart

Generate your first project and run mvn test. Already on Maven? Add io.github.shafthq:shaft-engine (version from the Maven Central badge):

xml
<dependency>    <groupId>io.github.shafthq</groupId>    <artifactId>shaft-engine</artifactId>    <version>${shaft.version}</version></dependency>

Then write the test:

java
SHAFT.GUI.WebDriver driver = new SHAFT.GUI.WebDriver();driver.browser().navigateToURL("https://shafthq.github.io/")      .and().element().assertThat(By.cssSelector("h1")).isVisible();driver.quit();

Run mvn test. The Allure report opens with every step, screenshot, and log.

Where to next

If SHAFT saves your team time, star the repo. It helps other testers find it.

[Star SHAFT on GitHub]


Open an issue · Code of Conduct · Security · Sponsor

BrowserStack, LambdaTest, Applitools, and JetBrains have provided tooling or open-source program support. This is support for the project, not a claim of financial sponsorship, customer status, or endorsement.

来源:README.md,提交 04c6c31

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

13
  1. v10.4.20261102最新Nov 3, 2026
  2. v10.4.20261101Nov 1, 2026
  3. v10.4.20261031Oct 31, 2026
  4. v10.4.20261029Oct 29, 2026
  5. v10.4.20261024Oct 24, 2026
  6. v10.4.20261020Oct 20, 2026
  7. v10.4.20261013Oct 14, 2026
  8. v10.4.20261010Oct 10, 2026
  9. v10.4.20261009Oct 9, 2026
  10. v10.4.20261006Oct 9, 2026
  11. v10.4.20261003Oct 4, 2026
  12. v10.3.20260930Sep 30, 2026
  13. v10.3.20260911Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分