GitHub - currents-dev/currents-mcp: Currents MCP Server (original) (raw)
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
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
Setup
API Key
Get a Currents API key by following the instructions here.
Usage with Cursor Editor
- Go to Cursor Settings > MCP > Enable
- Add the following to your
mcp.json
.
NPX
{
"mcpServers": {
"currents": {
"command": "npx",
"args": [
"-y",
"@currents/mcp"
],
"env": {
"CURRENTS_API_KEY": "your-api-key"
}
}
}
}
Usage with Claude Desktop
Installing via Smithery
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
:
NPX
{
"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.