The is a Model Context Protocol (MCP) implementation that provides AI agents with comprehensive test case generation and management capabilities.
概览
The is a Model Context Protocol (MCP) implementation that provides AI agents with comprehensive test case generation and management capabilities. Transform your product requirements into comprehensive test cases using AI-powered automation. - : Generate comprehensive test cases from product requirements and user stories - : Upload and process various document formats (PDF, DOCX, TXT, JSON, MD) - : RAG-powered document retrieval with vector embeddings - : Organize test cases and documents by projects - : Enterprise-grade security with user isolation - : Scalable content management - : Live test case generation with progress tracking Lists all projects associated with the authenticated user. Creates a new project to organize documents and test cases. - name (string): Unique project name for the user Uploads documents from the model context to the RAG service for processing.
README
以下为原文 README 节选,完整内容请查看原文。
OopsBot MCP Server
Overview
The OopsBot MCP Server is a Model Context Protocol (MCP) implementation that provides AI agents with comprehensive test case generation and management capabilities. Transform your product requirements into comprehensive test cases using AI-powered automation.
Key Features
- 🤖 AI-Powered Test Generation: Generate comprehensive test cases from product requirements and user stories
- 📄 Document Processing: Upload and process various document formats (PDF, DOCX, TXT, JSON, MD)
- 🔍 Semantic Search: RAG-powered document retrieval with vector embeddings
- 📊 Project Management: Organize test cases and documents by projects
- 🔐 Secure Authentication: Enterprise-grade security with user isolation
- ☁️ Cloud Storage: Scalable content management
- 🔄 Real-time Streaming: Live test case generation with progress tracking
Architecture
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ AI Agent │───▶│ OopsBot MCP │───▶│ Backend │
│ (Client) │ │ Server │ │ Services │
└─────────────────┘ └──────────────────┘ └─────────────────┘
│
▼
┌──────────────────┐ ┌─────────────────┐
│ Cloud Storage │ │ AI Services │
│ (Test Cases) │ │ (Documents) │
└──────────────────┘ └─────────────────┘
Available Tools
1. Project Management
list_user_projects
Lists all projects associated with the authenticated user.
Returns:
{
"projects": [
{
"project_id": "uuid-string",
"name": "Project Name",
"created_at": "2024-01-01T00:00:00Z"
}
],
"total": 1,
"user_id": "[email protected]"
}
create_project
Creates a new project to organize documents and test cases.
Parameters:
name(string): Unique project name for the user
Example:
{
"name": "E-commerce Login Flow"
}
2. Document Management
upload_document_to_rag
Uploads documents from the model context to the RAG service for processing.
Parameters:
filename(string): File name with extensionfilecontent(string): File content from the model’s contexttopic(string, optional): Document category (default: “general”)project_id(string, optional): Project ID (default: “default”)
Example:
{
"filename": "login_requirements.pdf",
"filecontent": "User authentication requirements...",
"topic": "authentication",
"project_id": "project-uuid"
}
3. Test Case Generation
generate_testcase_titles
Generates test case titles by starting a new active session.
Parameters:
project_id(string): Project ID (not name)query(string): User’s request for test case generation
Example:
{
"project_id": "project-uuid",
安装
npx @oopsbot/mcp-server配置
{
"mcpServers": {
"oopsbot": {
"command": "npx",
"args": ["@oopsbot/mcp-server"],
"env": {
"OOPSBOT_API_TOKEN": "your_token_here"
}
}
}
}