Skip to content

Add mcp server#5452

Open
DenysKuchma wants to merge 2 commits intofeature/5425-ai-trace-pluginfrom
feature/5426-mcp-server
Open

Add mcp server#5452
DenysKuchma wants to merge 2 commits intofeature/5425-ai-trace-pluginfrom
feature/5426-mcp-server

Conversation

@DenysKuchma
Copy link
Collaborator

Add MCP Server for AI-Assisted Testing

Summary

This PR introduces AI-powered capabilities to CodeceptJS with two major features:

MCP Server Integration - Enables AI agents (like Claude Desktop) to interact with and control CodeceptJS tests programmatically via the Model Context Protocol

Features Added

MCP Server (bin/mcp-server.js)

A Model Context Protocol server that exposes CodeceptJS functionality to AI agents through a standardized interface. The server provides tools to:

  • List all tests in a CodeceptJS project
  • List all available CodeceptJS actions (I.* methods)
  • Run arbitrary CodeceptJS code with full artifacts capture
  • Run specific tests with detailed output
  • Execute tests step-by-step for granular analysis
  • Start and stop browser sessions
  • Capture screenshots, ARIA snapshots, HTML, and console logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant