shaft-mcp

Registre officiel Recherche et web

SHAFT browser automation, capture, and offline deterministic failure diagnosis

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

OCI package ghcr.io/shafthq/shaft-engine-mcp:10.4.20261024
Claude Code
claude mcp add shaft-mcp -- docker run -i --rm ghcr.io/shafthq/shaft-engine-mcp:10.4.20261024
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "shaft-mcp": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/shafthq/shaft-engine-mcp:10.4.20261024"
            ]
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Write the test. SHAFT does the rest.
  2. Why SHAFT
  3. How it works
  4. Quickstart
  5. Where to next

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.

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 an OpenSSF Scorecard and 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.

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):

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

Then write the test:

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.


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.

Questions fréquentes

Qu'est-ce que shaft-mcp ?

SHAFT browser automation, capture, and offline deterministic failure diagnosis

Comment installer shaft-mcp ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add shaft-mcp -- docker run -i --rm ghcr.io/shafthq/shaft-engine-mcp:10.4.20261024. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour shaft-mcp ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

shaft-mcp est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient shaft-mcp ?

Il est publié par ShaftHQ. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.