stryker-mcp-reporter
Provides access to Stryker mutation testing results, exposing the latest mutation testing report as a resource.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@stryker-mcp-reporterGet the latest mutation testing report"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
⚡ stryker-mcp-reporter & Control Server
"100% Code Coverage sagt dir nur, was ausgeführt wurde. Stryker MCP befähigt deine KI zu beweisen, was unzerstörbar ist."
Ein hochmodernes Stryker Mutator Plugin & Standalone Control Server, das Mutation Testing Ergebnisse sowie interaktive Steuerung per Model Context Protocol (MCP) über SSE und stdio für KI-Agenten (Antigravity, Cursor, Cline, Roo Code, Claude Desktop) bereitstellt.
🚀 Quickstart • 🤖 KI-Agenten Setup • 🏗️ Architektur • 🤝 Contributing
📖 Die Story: Warum stryker-mcp-reporter?
Das 100% Coverage-Paradoxon:
Standard Code Coverage misst lediglich, welche Zeilen Code während eines Tests einmal ausgeführt wurden – selbst wenn deine Tests schwache oder gar keine Assertions enthalten. Generative KI-Agenten schreiben heute in Sekunden hunderte Zeilen Testcode, neigen aber zum "Happy Path Bias" und lassen logische Randfälle unbemerkt durch.
Die Stryker MCP Revolution:
Stryker mutiert deinen Quellcode (z. B. verwandelt es > in >=, löscht Rückgabewerte oder invertiert Logik). Überlebt ein Mutant, existiert eine unsichtbare Testlücke.stryker-mcp-reporter macht diese Mutanten für KI-Agenten lesbar und steuerbar. KI-Pair-Programmer erkennen Lücken autonom, schreiben exakte Grenzwert-Tests und eliminieren überlebende Mutanten in Echtzeit.
Related MCP server: cypress-mcp
📸 In Aktion (Reale Screenshots)
📊 1. Echter Stryker HTML Mutation Testing Report

🧬 2. Mutanten-Detailanalyse mit In-Line Code Diff

💻 3. Standalone MCP Control Server & Real-Time Protocol Verification (npm run test:e2e)

🌟 Hauptmerkmale
⚡ Interaktives Mutation Testing: KI-Agenten können Mutationstests gezielt per MCP-Tool-Call anstoßen, beobachten und auswerten.
🎯 Targeted Git-Diff Executions: Mit
run_targeted_mutation_testswerden nur die in Git geänderten TypeScript-Dateien getestet – spart bis zu 90% Laufzeit!📦 Live MCP Resources: Greife über URIs wie
stryker://report/survivedoderstryker://statusdirekt auf Testdaten zu.🤖 Agentic Testgenerierung: Der
analyze_survived_mutants-Prompt leitet KI-Agenten an, überlebende Mutanten nach TDD-Prinzipien mit exakten Vitest/Jest-Tests zu eliminieren.🧠 Vector DB & RAG-Ready Insights: Bündelt Testergebnisse in hochstrukturierte
MutationInsightEntity-Objekte für automatisierte Entwickler-Fortbildungen und Skill-Gap-Analysen.
📦 Installation & Schnellstart
Voraussetzungen: Node.js >= 22.0.0 und @stryker-mutator/core >= 8.0.0.
Installiere das Plugin in deinem Projekt:
npm install --save-dev stryker-mcp-reporterModus 1: Stryker Reporter Plugin
Füge das Plugin und den Reporter zu deiner stryker.config.mjs hinzu:
// stryker.config.mjs
export default {
plugins: [
"@stryker-mutator/*",
"stryker-mcp-reporter",
],
reporters: [
"clear-text",
"progress",
"mcp", // MCP Reporter aktivieren
],
};Beim Ausführen von npx stryker run startet der MCP-Server nach dem Testlauf automatisch auf http://127.0.0.1:3000/mcp/sse.
Modus 2: Standalone MCP Control Server
Starte den MCP Server direkt über die CLI:
# STDIO Modus (für lokale KI-Tools & direktes Spawning):
npx stryker-mcp-server --stdio
# Oder SSE Modus (Server-Sent Events via HTTP Port 3000):
npx stryker-mcp-server --sseDer Server steht dauerhaft bereit und erlaubt KI-Agenten das dynamische Ausführen von Mutationstests per MCP Tool Call.
🤖 Interaktives KI-Agenten Setup
Verbinde deine bevorzugte KI-Entwicklungsumgebung im Handumdrehen mit stryker-mcp-reporter. Du kannst zwischen STDIO (direktes Spawning via CLI, empfohlen) und SSE (HTTP/Server-Sent Events) wählen.
🌟 Option A: STDIO Transport (Empfohlen für lokale IDEs & KI-Tools)
Füge folgende Konfiguration in die MCP-Einstellungen deines KI-Tools ein:
{
"mcpServers": {
"stryker-mutation-testing": {
"command": "npx",
"args": ["-y", "stryker-mcp-server", "--stdio"]
}
}
}Unterstützt in: Claude Desktop, Cursor IDE, Google Antigravity, Roo Code, Cline, Windsurf.
🌐 Option B: SSE Transport (Server-Sent Events via HTTP)
Starte den MCP Server vorher im Hintergrund via npx stryker-mcp-server --sse und trage folgende URL ein:
{
"mcpServers": {
"stryker-mutation-testing": {
"url": "http://127.0.0.1:3000/mcp/sse"
}
}
}1. 🪐 Google Antigravity (Antigravity CLI / IDE)
Füge die Konfiguration zu deiner Workspace-Konfiguration .antigravity/mcp.json oder global unter ~/.gemini/antigravity-cli/mcp.json hinzu:
{
"mcpServers": {
"stryker-mutation-testing": {
"command": "npx",
"args": ["-y", "stryker-mcp-server", "--stdio"]
}
}
}2. ⚡ Cursor IDE
Füge folgenden Block in deine Datei .cursor/mcp.json ein (Settings -> Features -> MCP):
{
"mcpServers": {
"stryker-mcp": {
"command": "npx",
"args": ["-y", "stryker-mcp-server", "--stdio"]
}
}
}3. 🧩 Cline & Roo Code (VS Code Extension)
Öffne die MCP-Einstellungen (cline_mcp_settings.json / roo_code_mcp_settings.json) in VS Code:
{
"mcpServers": {
"stryker-mcp-reporter": {
}
}
}4. 🦘 Roo Code
Öffne die Einstellungen für Roo Code (roo_code_mcp_settings.json):
{
"mcpServers": {
"stryker-mcp": {
"command": "npx",
"args": ["-y", "stryker-mcp-server"]
}
}
}5. 🧡 Claude Desktop
Editiere deine Claude Desktop Konfigurationsdatei (claude_desktop_config.json):
{
"mcpServers": {
"stryker-mutation-testing": {
"command": "npx",
"args": ["-y", "stryker-mcp-server"]
}
}
}🔌 MCP Schnittstellen
📦 Resources (Datenabruf)
Resource URI | MimeType | Beschreibung |
|
| Der vollständige Stryker Mutation Testing Report im JSON-Format. |
|
| Kompakte Zusammenfassung der Mutations-Metriken (Score, Killed, Survived). |
|
| Liste aller überlebenden Mutanten inkl. Pfad, Zeile, Mutator & Ersetzung. |
|
| Aktueller Ausführungsstatus von Stryker ( |
🛠️ Tools (Interaktive Steuerung)
Tool Name | Parameter | Beschreibung |
|
| Startet einen vollständigen oder spezifischen Mutationstest-Lauf. |
|
| Erkennt in Git geänderte TypeScript-Dateien ( |
| - | Ruft den aktuellen Mutationsscore und die Gesamtzusammenfassung ab. |
|
| Liefert alle überlebenden Mutanten inkl. Dateipfad, Zeile, Mutator-Typ & Ersetzungscode. |
💡 Prompts (KI-gestützte Testgenerierung)
analyze_survived_mutants: Erzeugt eine strukturierte KI-Instruktion zur detaillierten Ursachenanalyse überlebender Mutanten und zur automatischen Erstellung fehlender Unit Tests nach TDD-Standards.
🏗️ Software Engineering & Architektur-Highlights
stryker-mcp-reporter ist nach den Prinzipien der Clean Architecture / Hexagonal Architecture aufgebaut, um maximale Testbarkeit, Wartbarkeit und Entkopplung zu gewährleisten.
graph TD
subgraph Infrastructure Layer ["Infrastruktur (Adapters)"]
Express["Express Server (SSE / MCP)"]
McpAdapter["McpServerAdapter"]
StrykerRunner["StrykerCliRunnerAdapter"]
GitAdapter["GitCliAdapter"]
end
subgraph Application Layer ["Applikation (Use Cases)"]
RunUC["RunMutationTestsUseCase"]
RunTargetedUC["RunTargetedMutationTestsUseCase"]
GetSurvivedUC["GetSurvivedMutantsUseCase"]
GetSummaryUC["GetMutationSummaryUseCase"]
PublishUC["PublishReportUseCase"]
end
subgraph Core Domain Layer ["Kern-Domäne (Pure TS)"]
ReportStream["ReportStream"]
StatusStream["ExecutionStatusStream"]
Entity["MutationInsightEntity"]
Result["Result<T, E>"]
end
Express --> McpAdapter
McpAdapter --> RunUC
McpAdapter --> RunTargetedUC
McpAdapter --> GetSurvivedUC
McpAdapter --> GetSummaryUC
RunUC --> ReportStream
RunUC --> StatusStream
RunUC --> StrykerRunner
RunTargetedUC --> GitAdapter
RunTargetedUC --> RunUC
PublishUC --> ReportStream🧠 Vector DB & Developer Skill-Gap Data Model
stryker-mcp-reporter transformiert rohe Mutanten-Ergebnisse in angereicherte MutationInsightEntity-Objekte. Diese enthalten strukturierte Daten zur Speicherung in Vektordatenbanken (Qdrant, Pinecone, ChromaDB, Weaviate) für RAG-Pipelines:
Mutator-Kategorie: (z. B.
Arithmetic & Math,Equality & Logic,Exception Handling).Architekturschicht: (z. B.
Domain,Application,Infrastructure).Risikoscore & Schweregrad: Automatisches Scoring (0 – 100) zur Priorisierung von Testlücken.
Embedding Payload: Vektor-DB-ready Text-String für automatisierte KI-Trainings und Entwickler-Analysen.
🤝 Contributor Onboarding & Community
Wir freuen uns über jede Unterstützung! Egal ob Bugfix, neue MCP-Tools oder Dokumentations-Verbesserungen.
🏁 Quickstart für Contributor
git clone https://github.com/kluth/stryker-mcp-reporter.git
cd stryker-mcp-reporter
npm install
npm test # Unit Tests (Vitest)
npm run test:e2e # Real E2E MCP SSE Protocol Verification
npm run test:mutation # Stryker Mutation Testing (100% Target)📝 Lizenz
MIT License © 2026 Matthias Kluth
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that exposes the pentest reporting and automation features of SysReptor as programmable tools for AI agents and automated workflows. It enables users to manage findings, projects, and templates through a standardized interface by wrapping the reptor CLI.Last updated8MIT
- Alicense-qualityFmaintenanceMCP server plugin for Cypress that enables AI agents to control a browser for automated testing and interaction.Last updated55MIT
- AlicenseAqualityAmaintenanceAn MCP server that brings senior-QA discipline to AI coding assistants, enabling test planning, TDD, mutation testing, and code review.Last updated485Apache 2.0
- Flicense-qualityDmaintenanceAn MCP server that enables AI agents to explore, search, and query API definitions from OpenAPI/Swagger JSON files.Last updated
Related MCP Connectors
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/kluth/stryker-mcp-reporter'
If you have feedback or need assistance with the MCP directory API, please join our Discord server