JUHE API Marketplace
currents-dev avatar
MCP Server

currents-mcp

Enable AI Agents to fix Playwright test failures reported to Currents.

14
GitHub Stars
11/22/2025
Last Updated
MCP Server Configuration
1{
2 "name": "currents",
3 "command": "node",
4 "args": [
5 "./mcp-server/build/index.js"
6 ],
7 "env": {
8 "CURRENTS_API_KEY": "your-api-key"
9 }
10}
JSON10 lines
  1. Home
  2. MCP Servers
  3. currents-mcp

README Documentation

Currents MCP Server

Unit Tests

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.

Install MCP Server

Tools

ToolDescription
currents-get-projectsRetrieves a list of all projects available.
currents-get-runsRetrieves a list the latest runs for a specific project.
currents-get-run-detailsRetrieves details of a specific test run.
currents-get-spec-instancesRetrieves debugging data a specific execution of a test spec file.
currents-get-spec-files-performanceRetrieves spec file historical performance metrics for a specific project.
currents-get-tests-performanceRetrieves test historical performance metrics for a specific project.
currents-get-tests-signaturesRetrieves a test signature by its spec file name and test name.
currents-get-test-resultsRetrieves debugging data from test results of a test by its signature.

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

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.

How to Contribute

We welcome contributions of all kinds—bug fixes, features, and documentation updates!

Quick Start

  1. Fork this repository and clone your fork:
    git clone https://github.com/<your-username>/currents-mcp.git
    cd currents-mcp
    
  2. Install dependencies:
    cd mcp-server
    npm install
    
  3. Build the project:
    npm run build
    
  4. Run tests:
    npm test
    
    See TESTING.md for more details on testing.
  5. Run locally (stdio):
    npm start
    
    You should see: Currents MCP Server running on stdio.

Local Development with a Client (optional)

To test with a local MCP client (e.g., Cursor or Claude Desktop), point the client to your built server:

  • Command: node
  • Args: ./mcp-server/build/index.js
  • Env: set CURRENTS_API_KEY to a valid key

Example snippet for a client config:

{
  "mcpServers": {
    "currents": {
      "command": "node",
      "args": ["./mcp-server/build/index.js"],
      "env": {
        "CURRENTS_API_KEY": "your-api-key"
      }
    }
  }
}

Test tools locally

To test the tools locally without any LLM, you can use the following command:

 npm run build

then run the tools script:

 node scripts/call-tools.js

Making Changes

  • Create a feature branch:
    git checkout -b feat/short-description
    
  • Make changes under mcp-server/src/, then rebuild and re-run:
    npm run build && npm start
    
  • Write tests for your changes in *.test.ts files alongside your code
  • Run tests to ensure everything works:
    npm test
    
  • Keep changes focused and documented (add comments/types where helpful).

Commit and PR Guidelines

  • Write clear commit messages (e.g., “fix: handle missing env vars” or “feat: add get-run tool filters”).
  • Push your branch and open a Pull Request:
    git push origin feat/short-description
    
  • In your PR, describe the motivation, approach, and any trade-offs. Link related issues if applicable.

Reporting Issues

  • Before creating a new issue, please search existing issues to avoid duplicates.
  • When filing a bug report, include steps to reproduce, expected vs. actual behavior, and environment details (OS, Node.js version).

License

By contributing, you agree that your contributions will be licensed under the ISC license (as specified in the package metadata).

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved