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. リポジトリをクローンします。
    git clone https://github.com/wdm0006/mutmut-mcp.git cd mutmut-mcp
  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