Mutmut MCP

by wdm0006
MIT License
Integrations
  • Enables cloning repositories for running mutation tests on Python projects stored on GitHub.

  • Used as the default test runner for mutation testing, allowing assessment of test coverage and quality against mutations.

  • Provides mutation testing capabilities specifically for Python modules and packages.

무트무트 MCP

mutmut 을 사용하여 돌연변이 테스트를 관리하기 위한 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 도구는 Python 프로젝트에서 돌연변이 테스트 실행, 결과 분석, 테스트 커버리지 향상을 위한 프로그래밍 API 세트를 제공합니다.

특징

  • 모든 Python 모듈이나 패키지에서 돌연변이 테스트 세션을 실행합니다.
  • 전체 돌연변이 검사 결과와 생존 돌연변이를 표시합니다.
  • 더 나은 테스트 범위가 필요한 영역을 제안하세요
  • 특정 생존자 또는 모든 생존자에 대해 mutmut을 다시 실행합니다.
  • mutmut 캐시 정리
  • 다른 MCP 도구와의 자동화 및 통합을 위해 설계되었습니다.

설치

  1. 저장소를 복제합니다.지엑스피1
  2. 종속성 설치:
    python3 -m venv .venv source .venv/bin/activate pip install -U pip pip install mcp[cli] mutmut

용법

MCP 서버를 직접 실행할 수 있습니다.

python mutmut_mcp.py

또는 uv 와 함께 사용하세요:

uv run --with mcp --with mutmut mutmut_mcp.py

API / 도구

다음과 같은 도구를 사용할 수 있습니다.

  • run_mutmut(target, test_command="pytest", options="", venv_path=None) – 돌연변이 테스트 실행
  • show_results(venv_path=None) – 전체 결과 표시
  • show_survivors(venv_path=None) – 생존한 돌연변이를 나열합니다.
  • generate_test_suggestion(venv_path=None) – 더 나은 테스트 범위가 필요한 영역을 제안합니다.
  • rerun_mutmut_on_survivor(mutation_id=None, venv_path=None) – 생존자에 대해 mutmut을 다시 실행합니다.
  • clean_mutmut_cache(venv_path=None) – mutmut 캐시 정리

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 라이선스를 참조하세요.

-
security - not tested
A
license - permissive license
-
quality - not tested

mutmut을 사용하여 돌연변이 테스트를 실행하고, 결과를 분석하고, Python 프로젝트에서 테스트 범위를 개선하기 위한 프로그래밍 API를 제공하는 모델 컨텍스트 프로토콜 서버입니다.

  1. 특징
    1. 설치
      1. 용법
        1. API / 도구
          1. 특허

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Facilitates unified execution and result parsing for various testing frameworks, including Bats, Pytest, Flutter, Jest, and Go, through a Model Context Protocol interface.
              Last updated -
              1
              12
              TypeScript
              MIT License
              • Apple
              • Linux
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that integrates with the Qase test management platform, allowing users to create and retrieve test cases, manage test runs, and interact with Qase projects.
              Last updated -
              1
              JavaScript
            • -
              security
              A
              license
              -
              quality
              Model Context Protocol server to run Python code in a sandbox.
              Last updated -
              1,462
              9,633
              Python
              MIT License
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server designed for testing backend APIs for security vulnerabilities like authentication bypass, injection attacks, and data leakage.
              Last updated -
              1
              TypeScript
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/wdm0006/mutmut-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server