1. Conduid
  2. Automation
  3. AI Testing MCP
MCP server · Automation

AI Testing MCP

AI-powered testing automation MCP server for Claude Code - TestSprite alternative

Unclaimed automation
39Low

Scored 7 days ago · breakdown

About AI Testing MCP

AI Testing MCP is an MCP server in the Automation category: aI-powered testing automation MCP server for Claude Code - TestSprite alternative.

The repository has 13 stars and 0 forks.

Install

From source
git clone https://github.com/groovy-web/ai-testing-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about AI Testing MCP

Powered by Claude · Grounded in docs

I know everything about AI Testing MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

AI Testing MCP

Built by Groovy Web

Model Context Protocol (MCP) server for comprehensive AI testing, evaluation, and quality assurance.

Overview

AI Testing MCP provides standardized testing methodologies, evaluation metrics, and automated testing workflows for AI/ML systems. It implements the Model Context Protocol for seamless integration with AI development tools.

Features

Testing Capabilities

  • Unit Tests: Component-level testing
  • Integration Tests: End-to-end workflow testing
  • Performance Tests: Latency, throughput, resource usage
  • Security Tests: Adversarial attacks, prompt injection
  • Quality Tests: Output validation, consistency checks

Evaluation Metrics

  • Accuracy: Precision, recall, F1 score
  • Quality: Coherence, relevance, fluency
  • Safety: Toxicity, bias detection
  • Performance: Response time, token usage
  • Cost: API costs, compute resources

MCP Integration

  • Standard Protocol: Implements MCP specification
  • Tool Definitions: Testing tools for AI assistants
  • Resource Management: Test data and configuration
  • Prompt Templates: Reusable test prompts

Quick Start

# Clone the repository
git clone https://github.com/groovy-web/ai-testing-mcp.git
cd ai-testing-mcp

# Install dependencies
npm install

# Configure environment
cp .env.example .env
# Edit with your API keys

# Start the MCP server
npm start

# Use with MCP client
# Add server configuration to your MCP client

MCP Server Configuration

{
  "mcpServers": {
    "ai-testing": {
      "command": "node",
      "args": ["/path/to/ai-testing-mcp/dist/index.js"],
      "env": {
        "OPENAI_API_KEY": "your-key",
        "ANTHROPIC_API_KEY": "your-key"
      }
    }
  }
}

Available Tools

Testing Tools

run_test_suite

Execute a comprehensive test suite for an AI model.

{
  "name": "run_test_suite",
  "description": "Run tests on an AI model",
  "inputSchema": {
    "type": "object",
    "properties": {
      "model": { "type": "string" },
      "testCategory": {
        "type": "string",
        "enum": ["accuracy", "performance", "security", "quality"]
      },
      "testCases": { "type": "array" }
    }
  }
}

evaluate_output

Evaluate AI model outputs against metrics.

{
  "name": "evaluate_output",
  "description": "Evaluate model output quality",
  "inputSchema": {
    "type": "object",
    "properties": {
      "output": { "type": "string" },
      "expected": { "type": "string" },
      "metrics": { "type": "array" }
    }
  }
}

generate_test_cases

Generate test cases for specific scenarios.

{
  "name": "generate_test_cases",
  "description": "Generate test cases",
  "inputSchema": {
    "type": "object",
    "properties": {
      "scenario": { "type": "string" },
      "count": { "type": "number" }
    }
  }
}

Repository Structure

ai-testing-mcp/
├── docs/                    # Documentation
│   ├── mcp-protocol.md
│   ├── testing-guide.md
│   └── metrics.md
├── examples/                # Usage examples
│   ├── basic-testing/
│   ├── custom-metrics/
│   └── integration-examples/
├── src/                     # Source code
│   ├── server/              # MCP server
│   ├── tools/               # Tool implementations
│   ├── metrics/             # Evaluation metrics
│   └── tests/               # Test definitions
└── schemas/                 # JSON schemas

Usage Examples

Basic Testing

from mcp_client import MCPClient

client = MCPClient("ai-testing")

# Run accuracy tests
result = client.call_tool("run_test_suite", {
    "model": "gpt-4",
    "testCategory": "accuracy",
    "testCases": [
        {
            "input": "What is 2+2?",
            "expected": "4"
        }
    ]
})

print(f"Accuracy: {result.metrics.accuracy}")

Custom Metrics

# Evaluate with custom metrics
evaluation = client.call_tool("evaluate_output", {
    "output": model_response,
    "expected": expected_response,
    "metrics": [
        "exact_match",
        "semantic_similarity",
        "coherence",
        "relevance"
    ]
})

Documentation

Test Categories

1. Accuracy Tests

  • Exact match
  • Semantic similarity
  • Factual correctness
  • Mathematical accuracy

2. Performance Tests

  • Response time
  • Throughput
  • Token efficiency
  • Resource usage

3. Security Tests

  • Prompt injection
  • Jailbreak attempts
  • Toxic content
  • Bias detection

4. Quality Tests

  • Coherence
  • Fluency
  • Relevance
  • Completeness

Configuration

module.exports = {
  // Models to test
  models: [
    {
      name: "gpt-4",
      provider: "openai",
      apikey: process.env.OPENAI_API_KEY
    },
    {
      name: "claude-3-opus",
      provider: "anthropic",
      apikey: process.env.ANTHROPIC_API_KEY
    }
  ],

  // Test configurations
  tests: {
    accuracy: {
      enabled: true,
      threshold: 0.95
    },
    performance: {
      maxLatency: 2000,
      maxTokens: 1000
    },
    security: {
      enabled: true,
      strict: true
    }
  },

  // Output format
  reports: {
    format: "json",
    destination: "./test-results"
  }
};

Running Tests

# Run all tests
npm test

# Run specific category
npm test -- --category accuracy

# Run with specific model
npm test -- --model gpt-4

# Generate report
npm run report

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

License

This project is licensed under the MIT License - see LICENSE for details.

Code of Conduct

Please read CODE_OF_CONDUCT.md to understand our community standards.

Support

Related Projects


Related Repositories

Explore more open-source tools from Groovy Web:

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About AI Testing MCP

How do I install AI Testing MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is AI Testing MCP safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is AI Testing MCP still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.