stablyhq
MCP Serverstablyhqpublic

stably mcp

该工具通过代码库上下文生成测试步骤,支持端到端测试并保存显式知识。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
Apache License 2.0
License

About This Server

该工具通过代码库上下文生成测试步骤,支持端到端测试并保存显式知识。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Stably MCP

This MCP server enables clients like Cursor to create end-to-end tests using Stably's testing platform. The magic happens when MCP uses the codebase as context and embeds such knowledge implicitly to test steps generated. It can even save explicit knowledge to the Stably backend to help test execution.

How to install

  1. Clone or download this repository to your local machine.
  2. Ensure you have Python 3.10 or higher installed.
  3. Install the dependencies:
    # Using pip
    pip install -r requirements.txt
    
    # Or using uv
    uv pip install -r requirements.txt
    
  4. Then, if you are using Cursor, go to "Settings", "Cursor Settings", "MCP", "Add new global MCP server", and use following setting:
{
  "mcpServers": {
    "Stably end-to-end testing agent": {
      "command": "python3",
      "args": [
        "/path/StablyMCP/main.py"
      ],
      "env": {
        "AUTH_EMAIL": "your-account@example.com",
        "AUTH_PASSWORD": "XXXXXXXXXXXX",
      }
    }
  }
}

How to use Stably MCP?

  1. If you see a green dot next to the MCP server 'Stably end-to-end testing agent', instead of a red dot or orange dot, then it is correctly installed

    image
  2. If you encounter any issues, e.g., login expired, try to "refresh" it and it should fix most issues. Otherwise, contact the Stably AI team

    image
  3. It is recommended to use "Agent" model with "claude-3.7-sonnet" as it is the most tested setting, other settings might also work if you know what you are doing

    image
  4. The Stably MCP works on your default project, if you want it to work with another project, you can switch your project on Stably App and "refresh" the Stably MCP on Cursor

  5. Start by asking the AI "how to use Stably MCP?" and you should see it calling "get_user_tutorial" tool, which should then provide you more detailed instructions

How does it work?

The Stably MCP server provides a bridge between an MCP client (e.g., Cursor) and Stably's testing platform:

  1. The MCP server exposes several functions that Cursor can call:

    • Set testing URL and account information
    • Create end-to-end tests with AI-generated test steps
    • Save knowledge about UX designs, user flows, and preferences
  2. When you create a test through a client, the MCP server:

    • Authenticates with the Stably API
    • Uses the codebase context to generate appropriate test steps
    • Extract and upload knowledge from the codebase to Stably's backend
    • Returns the URL where you can review
  3. The magic happens when MCP server captures important knowledge from the codebase and uses it to generate better tests and even help the tests to run more effectively.

Limitations

Current known limitations include:

  1. Local Development Testing: When testing local apps from remote server, proper tunneling is required. One experimental feature is to set the NGROK_ENABLED=true and NGROK_AUTH_TOKEN environment variables if testing against localhost. But this feature is highly unstable and not tested, and therefore not recommended.

  2. No access to runtime execution: The quality of generated test steps depends on the codebase context and the clarity of test descriptions. It will not know dynamic context such as A/B tests with dynamic feature flags.

  3. Context Limit: Currently AI is still constrained by context length and sometimes a little bit "lazy" and does not want to explore everything if you simply say a high level prompt like "explore the codebase and build knowledge base for every useful detail", or if you want to "create 20 QA tests for my codebase" in a single request, it will also not provide you high quality results. It works better if you have more specific things in mind and the AI has fewer things to digest and generate.

  4. TBD: more limitations may be added later

Quick Start

1

Clone the repository

git clone https://github.com/stablyhq/stably-mcp
2

Install dependencies

cd stably-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerstablyhq
Repostably-mcp
LanguagePython
LicenseApache License 2.0
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation