Currents
官方Enable AI Agents to fix Playwright test failures reported to Currents.
Currents MCP Server
This is a MCP server that allows you to provide test results context to your AI agents by connecting them to Currents. Useful for asking AI to fix or optimize tests failing in CI.
Tools
| Tool | Description |
|---|---|
currents-get-projects | Retrieves projects available in the Currents platform. |
currents-get-project | Get a single project by ID. |
currents-get-project-insights | Get aggregated run and test metrics for a project within a date range. |
currents-get-runs | Retrieves a list of runs for a specific project with optional filtering. |
currents-get-run-details | Retrieves details of a specific test run. |
currents-find-run | Find a run by query parameters. |
currents-cancel-run | Cancel a run in progress. |
currents-reset-run | Reset failed spec files in a run to allow re-execution. |
currents-delete-run | Delete a run and all associated data. |
currents-cancel-run-github-ci | Cancel a run by GitHub Actions workflow run ID and attempt number. |
currents-get-spec-instance | Retrieves debugging data from a specific execution of a test spec file by instanceId. |
currents-get-spec-files-performance | Retrieves spec files performance metrics for a specific project within a date range. |
currents-get-tests-performance | Retrieves aggregated test metrics for a specific project within a date range. |
currents-get-tests-signatures | Generates a unique test signature based on project, spec file path, and test title. |
currents-get-test-results | Retrieves historical test execution results for a specific test signature. |
currents-get-errors-explorer | Get aggregated error metrics for a project within a date range with comprehensive filtering and grouping. |
currents-list-actions | List all actions for a project with optional filtering. |
currents-create-action | Create a new action for a project. |
currents-get-action | Get a single action by ID. |
currents-update-action | Update an existing action. |
currents-delete-action | Delete (archive) an action. |
currents-enable-action | Enable a disabled action. |
currents-disable-action | Disable an active action. |
currents-list-webhooks | List all webhooks for a project. |
currents-create-webhook | Create a new webhook for a project. |
currents-get-webhook | Get a single webhook by ID. |
currents-update-webhook | Update an existing webhook. |
currents-delete-webhook | Delete a webhook. |
Setup
API Key
Get a Currents API key by following the instructions here.
Usage with Cursor
- Go to Cursor Settings > MCP > Enable
- Add the following to your
mcp.json.
{
"mcpServers": {
"currents": {
"command": "npx",
"args": ["-y", "@currents/mcp"],
"env": {
"CURRENTS_API_KEY": "your-api-key"
}
}
}
}
Claude
Run this command to add Currents MCP to Claude Code
claude mcp add --transport stdio currents --env CURRENTS_API_KEY=<KEY> -- npx -y @currents/mcp
Add the following to enable Currents MCP on Claude Desktop (edit claude_desktop_config.json file):
{
"mcpServers": {
"currents": {
"command": "npx",
"args": ["-y", "@currents/mcp"],
"env": {
"CURRENTS_API_KEY": "your-api-key"
}
}
}
}
⚠️ Notice
By connecting AI tools (e.g., via MCP) to Currents, you are granting them access to your API key, test results and CI metadata. It is your responsibility to vet any AI agents or services you use, and to ensure they handle your data securely.
References
相關伺服器
Alpha Vantage MCP Server
贊助Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Symbolic Algebra MCP Server
Perform symbolic mathematics and computer algebra using the SymPy library.
MCP迭代管理工具
An iteration management tool to automate the collection and submission of iteration information to a CodeReview system.
Remote Terminal MCP for Cursor
A remote terminal tool for Cursor to manage and connect to remote servers via SSH, jump hosts, and Docker containers.
Image Generator
Generate and save images using the Replicate API.
Gemini Image MCP Server
Image generation using Google's Gemini API.
Chrome DevTools MCP
Debug web applications by connecting to Chrome's developer tools via the Chrome DevTools Protocol.
ui-ticket-mcp
Human-to-AI code review bridge. Review UI prototypes in the browser, then let AI agents fix the code automatically via MCP.
Unified MCP & A2A Server
A Google Apps Script server that unifies Model Context Protocol (MCP) and Agent2Agent (A2A) for Google Workspace users.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
4o-image
Generate and edit images using text prompts with the 4o-image API.