Skip to main content
Glama
test-intel-mcp

test-intel-mcp

test-intel-mcp

MCP-Server für Testabdeckungs-Intelligenz für TypeScript- und JavaScript-Projekte. Analysiert Coverage-Berichte, erkennt ungetestete Funktionen und bewertet die zyklomatische Komplexität lokal – ohne externe Dienste und ohne Authentifizierung.


Werkzeuge

Werkzeug

Beschreibung

analyze_test_coverage

Analysiert lcov-, Istanbul-JSON- oder Cobertura-XML-Berichte und zeigt nicht abgedeckte Dateien, Funktionen, Zeilen und Zweige an

find_untested_functions

Durchsucht ein Quellverzeichnis nach Funktionen ohne zugehörige Testdatei

get_function_complexity

Berechnet die zyklomatische Komplexität pro Funktion, um zu priorisieren, was zuerst getestet werden soll

suggest_test_cases

Analysiert eine bestimmte Funktion und generiert kategorisierte Testfallvorschläge


Related MCP server: Chisel

Einrichtung

Option A: stdio (lokal)

Claude Desktop

Konfigurationsdatei: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "test-intel": {
      "command": "npx",
      "args": ["-y", "@barissozudogru/test-intel-mcp"]
    }
  }
}

Claude Code

claude mcp add test-intel -- npx -y @barissozudogru/test-intel-mcp

Cursor

Konfigurationsdatei: ~/.cursor/mcp.json

{
  "mcpServers": {
    "test-intel": {
      "command": "npx",
      "args": ["-y", "@barissozudogru/test-intel-mcp"]
    }
  }
}

Windsurf

Konfigurationsdatei: ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "test-intel": {
      "command": "npx",
      "args": ["-y", "@barissozudogru/test-intel-mcp"]
    }
  }
}

VS Code + Copilot

Konfigurationsdatei: .vscode/mcp.json

{
  "servers": {
    "test-intel": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@barissozudogru/test-intel-mcp"]
    }
  }
}

Cline

{
  "mcpServers": {
    "test-intel": {
      "command": "npx",
      "args": ["-y", "@barissozudogru/test-intel-mcp"]
    }
  }
}

Continue.dev

Konfigurationsdatei: ~/.continue/config.yaml

mcpServers:
  - name: test-intel
    command: npx
    args:
      - -y
      - "@barissozudogru/test-intel-mcp"

Zed

Konfigurationsdatei: ~/.config/zed/settings.json

{
  "context_servers": {
    "test-intel": {
      "command": {
        "path": "npx",
        "args": ["-y", "@barissozudogru/test-intel-mcp"]
      }
    }
  }
}

JetBrains (IntelliJ, WebStorm, etc.)

{
  "mcpServers": {
    "test-intel": {
      "command": "npx",
      "args": ["-y", "@barissozudogru/test-intel-mcp"]
    }
  }
}

Option B: HTTP (Remote-Clients)

Starten Sie den Server:

npx @barissozudogru/test-intel-mcp --http
# or
PORT=3000 TRANSPORT=http npx @barissozudogru/test-intel-mcp

Der Server lauscht auf http://0.0.0.0:3000/mcp. Ein Health-Check ist unter /health verfügbar.

Cursor (HTTP)

{
  "mcpServers": {
    "test-intel": {
      "url": "http://localhost:3000/mcp"
    }
  }
}

VS Code + Copilot (HTTP)

{
  "servers": {
    "test-intel": {
      "type": "http",
      "url": "http://localhost:3000/mcp"
    }
  }
}

Windsurf (HTTP)

{
  "mcpServers": {
    "test-intel": {
      "serverUrl": "http://localhost:3000/mcp"
    }
  }
}

Continue.dev (HTTP)

mcpServers:
  - name: test-intel
    url: http://localhost:3000/mcp

Option C: Docker

docker build -t test-intel-mcp .
docker run -p 3000:3000 -v $(pwd):/project -w /project test-intel-mcp

Konfigurieren Sie dann einen beliebigen HTTP-Client so, dass er auf http://localhost:3000/mcp zeigt.


Unterstützte Coverage-Formate

Format

Erweiterung

Generator

lcov

.info

Jest, Vitest, nyc, Istanbul

istanbul

.json

Jest, nyc, Istanbul

cobertura

.xml

Jest, pytest-cov, JaCoCo

Das Format wird automatisch anhand der Dateierweiterung erkannt, wenn format weggelassen wird.


Anforderungen

  • Node.js >= 18

  • Keine Authentifizierung oder Netzwerkzugriff erforderlich

  • Die gesamte Dateianalyse läuft lokal


Lizenz

MIT

Available Tools

4 tools
analyze_test_coverageAnalyze Test CoverageA

Parse a coverage report (lcov, istanbul JSON, or cobertura XML) and return uncovered files, functions, lines, and branch gaps.

Inputs: coverage_path (required), format.

find_untested_functionsFind Untested FunctionsA

Scan source files for function/method declarations and identify those with no corresponding test file.

Inputs: source_dir (required), test_dir, extensions.

get_function_complexityGet Function ComplexityA

Analyze a file's functions for cyclomatic complexity to prioritize which functions need tests most urgently.

Inputs: file_path (required).

suggest_test_casesSuggest Test CasesA

Analyze a specific function and generate structured test case suggestions based on its logic, branches, and type signatures.

Inputs: file_path (required), function_name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 4 tools

    Disambiguation4/5

    Each tool has a distinct focus: generating test cases, parsing coverage reports, finding untested functions, and analyzing complexity. However, find_untested_functions and get_function_complexity both aim at identifying functions that need testing, which could cause some initial confusion.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern, e.g., suggest_test_cases, analyze_test_coverage, find_untested_functions, get_function_complexity. This makes the toolset predictable and easy for an agent to navigate.

    Tool Count5/5

    Four tools is well-scoped for a testing intelligence server, with each tool serving a clear and non-redundant purpose. There is no bloat, and the count feels sufficient for the stated domain.

    Completeness4/5

    The set covers a natural workflow of testing intelligence: generating tests, assessing coverage, identifying untested functions, and prioritizing via complexity. This is a solid read-only surface, though additional tools like listing existing test files or summarizing coverage trends could round it out further.

    Maintenance

    ActivityStale
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server for test impact analysis and code intelligence. Maps tests to code and git history to determine impacted tests, risk scores, and ownership for AI coding agents.
      8
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      MCP server for Java branch coverage analysis using JaCoCo. Enables agent-style coverage feedback with per-test-class granularity and uncovered line identification.
      2
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that provides instant, token-efficient test coverage data for any programming language, allowing agents to query coverage summaries and track session progress.
      73 npm
      42
      MIT