Greenrun
@Add-Item-To
Greenrun について
Browser test management for Claude Code. Write tests in plain English, run them with /greenrun.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"greenrun": {
"command": "npx",
"args": [
"greenrun-cli"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Greenrun?
Greenrun is an MCP server that connects Claude Code to the Greenrun API for browser test management. You describe tests in plain English, and Claude generates and runs Playwright scripts automatically, handling script generation, parallel execution, result tracking, and re-running only what's needed.
How to use Greenrun?
Run npx greenrun-cli init to launch an interactive setup wizard that validates your API token, configures the Greenrun and Playwright MCP servers, installs slash commands, and adds project instructions. Tests are defined in the Greenrun dashboard or via MCP tools, then executed by running /greenrun in Claude Code. Manual setup is also supported via claude mcp add or .mcp.json.
Key features of Greenrun
- Write tests in plain English, no Playwright code needed
- Claude generates Playwright scripts on first run
- Cached scripts skip generation on subsequent runs
- Parallel test execution with result tracking
- Impact analysis via
/greenrun-sweepfor changed pages - Named credential sets for authentication per test
- Test filtering by tag, URL path, or name
Use cases of Greenrun
- Define and run end-to-end browser tests without writing code
- Quickly re-run only the tests affected by recent code changes
- Manage test suites across multiple projects with credential management
- Integrate browser testing directly into Claude Code workflows
FAQ from Greenrun
What are the prerequisites for using Greenrun?
Node.js 18+, Claude Code, and the Playwright MCP server (configured automatically by the init wizard).
How does Greenrun generate test scripts?
On the first run, Claude walks through each test's instructions in the browser, observes UI states, and generates a .spec.ts script with real selectors. The script is cached and reused on future runs.
How does Greenrun handle test failures due to stale scripts?
If a cached script fails, an AI agent re-executes the test manually to determine whether the script is stale or there is a real bug. Stale scripts are automatically cleared for regeneration.
How does Greenrun handle authentication?
Projects support named credential sets (name, email, password). Each test can reference a credential by name via credential_name, and during execution the matching credentials are used to authenticate.
How can I run only tests affected by recent code changes?
Run the /greenrun-sweep slash command. It detects which tests are impacted by the pages you changed (based on git changes) and offers to run only those tests.
「開発者ツール」の他のコンテンツ
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
コメント