Load testing and performance testing platform.
## Artillery MCP Server: Load Testing and Performance Monitoring The **Artillery MCP Server** integrates modern load testing capabilities into Google Antigravity, enabling performance validation of APIs, microservices, and web applications through AI-assisted test creation and analysis. ### Why Artillery MCP? - **Modern Protocol Support**: Test HTTP, WebSocket, Socket.io, gRPC, and custom protocols with built-in engines - **Cloud-Native**: Designed for testing modern architectures including microservices, serverless, and containerized apps - **Scenario-Based Testing**: Create realistic user scenarios with complex workflows and conditional logic - **Real-Time Metrics**: Monitor performance metrics in real-time with detailed latency distributions and error rates - **CI/CD Integration**: Integrate performance testing into deployment pipelines with configurable thresholds ### Key Features #### 1. Load 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 Artillery load test against the API with 100 virtual users ramping up over 5 minutes" }] ) ``` #### 2. Scenario Design ```python # Create test scenarios response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Design Artillery scenario simulating user browsing products, adding to cart, and checkout" }] ) ``` #### 3. Performance Analysis ```python # Analyze results response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Analyze load test results and identify endpoints with p99 latency above 500ms" }] ) ``` #### 4. Threshold Validation ```python # Check performance gates response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Verify load test results meet SLA: p95 under 200ms, error rate under 1%" }] ) ``` ### Configuration ```json { "mcpServers": { "artillery": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-artillery"], "env": { "ARTILLERY_CONFIG_PATH": "./artillery.yml", "ARTILLERY_CLOUD_KEY": "your-cloud-key" } } } } ``` ### Use Cases **Pre-Release Testing**: Validate application performance before major releases to prevent production incidents. **Capacity Planning**: Determine system capacity limits and plan infrastructure scaling appropriately. **Regression Detection**: Catch performance regressions early by integrating load tests in CI/CD. **SLA Validation**: Continuously verify applications meet performance SLAs and service agreements. The Artillery MCP Server brings professional load testing into your development workflow, ensuring applications perform reliably under real-world traffic conditions.
{
"mcpServers": {
"artillery": {}
}
}