Google Antigravity Directory

The #1 directory for Google Antigravity prompts, rules, workflows & MCP servers. Optimized for Gemini 3 agentic development.

Resources

PromptsMCP ServersAntigravity RulesGEMINI.md GuideBest Practices

Company

Submit PromptAntigravityAI.directory

Popular Prompts

Next.js 14 App RouterReact TypeScriptTypeScript AdvancedFastAPI GuideDocker Best Practices

Legal

Privacy PolicyTerms of ServiceContact Us
Featured on FazierVerified on Verified ToolsFeatured on WayfindioAntigravity AI - Featured on Startup FameFeatured on Wired BusinessFeatured on Twelve ToolsListed on Turbo0Featured on findly.toolsFeatured on Aura++That App ShowFeatured on FazierVerified on Verified ToolsFeatured on WayfindioAntigravity AI - Featured on Startup FameFeatured on Wired BusinessFeatured on Twelve ToolsListed on Turbo0Featured on findly.toolsFeatured on Aura++That App Show

© 2026 Antigravity AI Directory. All rights reserved.

The #1 directory for Google Antigravity IDE

This website is not affiliated with, endorsed by, or associated with Google LLC. "Google" and "Gemini" are trademarks of Google LLC.

Antigravity AI Directory
PromptsMCPBest PracticesUse CasesLearn
Home
MCP Servers
Pytest MCP
check-square

Pytest MCP MCP Server

Testing framework for MCP servers

pytesttestingmcpevaluationci-cd

About

## Pytest MCP Server: Python Testing Framework The **Pytest MCP Server** integrates the powerful Pytest testing framework into Google Antigravity, enabling comprehensive Python test execution, fixture management, and result analysis through AI-assisted workflows. ### Why Pytest MCP? - **Simple Syntax**: Write tests with minimal boilerplate using intuitive assert statements - **Powerful Fixtures**: Reusable test fixtures with flexible scoping and dependency injection - **Plugin Ecosystem**: Extensive plugins for coverage, parallel execution, and framework integration - **Parametrization**: Run tests with multiple input sets using simple decorators - **Detailed Output**: Clear failure messages with comprehensive traceback information ### Key Features #### 1. Test Execution ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Run pytest on tests/ directory with verbose output and stop on first failure" }] ) ``` #### 2. Coverage Analysis ```python # Check coverage response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Run pytest with coverage and show files below 80% threshold" }] ) ``` #### 3. Fixture Management ```python # Work with fixtures response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Create pytest fixtures for database setup with proper cleanup and scope" }] ) ``` #### 4. Test Selection ```python # Select tests response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Run only tests marked as slow and tests that failed in the last run" }] ) ``` ### Configuration ```json { "mcpServers": { "pytest": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-pytest"], "env": { "PYTEST_CONFIG": "pytest.ini", "PYTEST_COVERAGE_MIN": "80" } } } } ``` ### Use Cases **Unit Testing**: Write and run comprehensive unit tests for Python applications. **Integration Testing**: Test component interactions with fixture-based setup and teardown. **CI/CD Integration**: Automate test execution in deployment pipelines with coverage gates. **TDD Workflow**: Support test-driven development with fast feedback loops. The Pytest MCP Server brings Python testing excellence to your AI-assisted workflow, enabling thorough testing with minimal friction.

Installation

Configuration
{
  "mcpServers": {
    "pytest": {
      "mcpServers": {
        "pytest-mcp": {
          "args": [
            "install",
            "pytest-mcp"
          ],
          "command": "pip"
        }
      }
    }
  }
}

How to Use

  1. 11. Install via pip install pytest-mcp
  2. 22. Task-based testing with metrics
  3. 33. JSON reports for CI/CD integration

Related MCP Servers

🧰

Toolhouse MCP

Universal AI tool platform that equips your AI with production-ready capabilities. Execute code, browse the web, manage files, send emails, and more through a unified MCP interface.

🔨

Smithery Registry MCP

The MCP server registry and discovery platform. Browse, search, and install MCP servers from the community. Find the perfect integrations for your AI development workflow.

🔍

MCP Inspector

Official debugging and testing tool for MCP servers. Inspect server capabilities, test tool calls, validate responses, and debug protocol communication in real-time.

← Back to All MCP Servers