currents-mcp

currents-mcp

3.4

If you are the rightful owner of currents-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Currents MCP Server connects AI agents to Currents for test results context, aiding in fixing or optimizing CI test failures.

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

  1. get-api-config
  • Get the API key and URL used to make requests to Currents API
  1. get-run
  • Get the run information by its ID
  1. 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

  1. Go to Cursor Settings > MCP > Enable
  2. 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.