shaft-mcp
MCP server by ShaftHQ Community
SHAFT is a Java test automation engine for web, mobile, API, CLI, database, and desktop testing. It suits testers who want managed drivers, smart waits, and an Allure report on every run.
Install shaft-mcp
Built from the published package, never by AI.
claude mcp add shaft-mcp -- docker run -i --rm ghcr.io/shafthq/shaft-engine-mcp:10.4.20261102Run in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"shaft-mcp": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/shafthq/shaft-engine-mcp:10.4.20261102"
],
"command": "docker"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"shaft-mcp": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/shafthq/shaft-engine-mcp:10.4.20261102"
],
"command": "docker"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"shaft-mcp": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/shafthq/shaft-engine-mcp:10.4.20261102"
],
"command": "docker"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add shaft-mcp -- docker run -i --rm ghcr.io/shafthq/shaft-engine-mcp:10.4.20261102{
"mcpServers": {
"shaft-mcp": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/shafthq/shaft-engine-mcp:10.4.20261102"
],
"command": "docker"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add shaft-mcp docker run -i --rm ghcr.io/shafthq/shaft-engine-mcp:10.4.20261102Gemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the shaft-mcp block.
About
SHAFT is a Java test automation engine for web, mobile, API, CLI, database, and desktop testing. It provides managed Selenium and Appium drivers, synchronized actions, and smart waits, so test code can focus on intent. Each run produces an Allure report with steps, screenshots, and logs.
Tests can run locally, on Grid, BrowserStack, or LambdaTest, and work with TestNG, JUnit, or Cucumber. The source also points AI agents to an entry skill, MCP tool references, and CLI command references. The project is MIT licensed and published on Maven Central. It is aimed at testers and QA teams who write automated tests in Java.
Written from the project's README and checked against it.
What you need
- Java
- Maven
Try asking
- Write a SHAFT web test that opens a page and asserts a heading is visible
- Run my SHAFT Maven tests and open the Allure report
- Add the SHAFT engine dependency to my Maven project for mobile tests
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Automating web and mobile tests
- Generating Allure reports for test runs
- Testing REST, GraphQL, and database layers
Alternatives to shaft-mcp
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
shaft-mcp: common questions
What kind of tests does SHAFT support?
The source says SHAFT covers web, mobile, API, CLI, database, and desktop tests in one Java engine. It also mentions REST and GraphQL in the same test.
Where does SHAFT run tests?
The source lists local runs, Grid, BrowserStack, and LambdaTest as options. It also says TestNG, JUnit, and Cucumber are supported.
Is SHAFT open source?
The source says SHAFT is MIT licensed and available on Maven Central.
How do I install shaft-mcp?
In Claude Code run claude mcp add shaft-mcp -- docker run -i --rm ghcr.io/shafthq/shaft-engine-mcp:10.4.20261102. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is shaft-mcp the official server?
shaft-mcp is a community project by ShaftHQ, not verified by a company domain.
Is shaft-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is shaft-mcp safe to use?
It scores 84 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to shaft-mcp?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does shaft-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
