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.
get-api-config
- Get the API key and URL used to make requests to Currents API
get-run
- Get the run information by its ID
get-spec-file-attempts-and-errors
- Get the instance information about attempts and errors by its ID
Get a Currents API key by following the instructions here.
- 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"
}
}
}
}
To install Currents Test Results Context Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @currents-dev/currents-mcp --client claude
Add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"currents": {
"command": "npx",
"args": [
"-y",
"@currents/mcp"
],
"env": {
"CURRENTS_API_KEY": "your-api-key"
}
}
}
}
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.