Skip to main content
Glama
test-intel-mcp

test-intel-mcp

test-intel-mcp

TypeScript 및 JavaScript 프로젝트를 위한 테스트 커버리지 인텔리전스 MCP 서버. 커버리지 보고서를 분석하고 테스트되지 않은 함수를 감지하며 사이클로매틱 복잡도를 로컬에서 점수화합니다. 외부 서비스가 필요 없고 인증도 필요하지 않습니다.


도구

Tool

Description

analyze_test_coverage

lcov, istanbul JSON 또는 cobertura XML 보고서를 파싱하고 커버되지 않은 파일, 함수, 라인 및 브랜치를 표시합니다

find_untested_functions

소스 디렉터리를 스캔하여 대응하는 테스트 파일이 없는 함수를 찾습니다

get_function_complexity

함수별 사이클로매틱 복잡도를 계산하여 무엇을 먼저 테스트할지 우선순위를 정합니다

suggest_test_cases

특정 함수를 분석하고 분류된 테스트 케이스 제안을 생성합니다


Related MCP server: Chisel

설정

옵션 A: stdio (로컬)

Claude Desktop

구성 파일: ~/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

구성 파일: ~/.cursor/mcp.json

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

Windsurf

구성 파일: ~/.codeium/windsurf/mcp_config.json

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

VS Code + Copilot

구성 파일: .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

구성 파일: ~/.continue/config.yaml

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

Zed

구성 파일: ~/.config/zed/settings.json

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

JetBrains (IntelliJ, WebStorm 등)

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

옵션 B: HTTP (원격 클라이언트)

서버 시작:

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

서버는 http://0.0.0.0:3000/mcp에서 수신 대기합니다. 상태 확인은 /health에서 사용할 수 있습니다.

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

옵션 C: Docker

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

그런 다음 아무 HTTP 클라이언트나 http://localhost:3000/mcp를 가리키도록 구성하세요.


지원되는 커버리지 형식

형식

확장자

생성기

lcov

.info

Jest, Vitest, nyc, Istanbul

istanbul

.json

Jest, nyc, Istanbul

cobertura

.xml

Jest, pytest-cov, JaCoCo

format이 생략되면 파일 확장자에서 형식이 자동 감지됩니다.


요구 사항

  • Node.js >= 18

  • 인증이나 네트워크 액세스가 필요하지 않음

  • 모든 파일 분석은 로컬에서 실행됨


라이선스

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