Local testing framework for MCP (Model Context Protocol) servers
Low maintenance activity. Last release 14 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install mcp-testingREADME as published on PyPI with version 0.1.0b4.
🧪 MCP Testing
AI-powered testing framework for MCP servers
Test your MCP servers with real AI agents conducting conversations and LLM judges evaluating results
Why MCP Testing?
Traditional testing doesn't work for MCP servers. You can't write unit tests for natural language interactions. MCP Testing solves this with:
- 🤖 Real AI Agents - Claude and ChatGPT actually use your MCP server
- 👤 User Simulation - AI simulates realistic multi-turn user behavior
- ⚖️ LLM-as-a-Judge - Intelligent evaluation instead of brittle assertions
- 🎭 Comprehensive Testing - Security, compliance and performace all in one framework
- 🔌 Multiple Transports - Supports HTTP and stdio servers
Quick Start
Get testing in 3 steps:
-
Install & Setup
pip install mcp-testing export ANTHROPIC_API_KEY="sk-ant-..." # For AI agents export OPENAI_API_KEY="sk-..." # For LLM judge -
Interactive Onboarding
mcp-t quickstart # Creates your first server & test suite -
Run Tests