cucumberstudio
MCP Server for Cucumber Studio
claude mcp add --transport stdio herosizy-cucumberstudio-mcp npx cucumberstudio-mcp \ --env LOG_FILE="" \ --env MCP_HOST="0.0.0.0" \ --env MCP_PORT="3000" \ --env LOG_LEVEL="info" \ --env LOG_TRANSPORT="stderr" \ --env MCP_TRANSPORT="stdio" \ --env MCP_CORS_ORIGIN="true" \ --env LOG_API_RESPONSES="false" \ --env CUCUMBERSTUDIO_UID="your_uid" \ --env LOG_REQUEST_BODIES="false" \ --env LOG_RESPONSE_BODIES="false" \ --env CUCUMBERSTUDIO_BASE_URL="https://studio.cucumberstudio.com/api" \ --env CUCUMBERSTUDIO_CLIENT_ID="your_client_id" \ --env CUCUMBERSTUDIO_ACCESS_TOKEN="your_token"
How to use
This MCP server provides access to Cucumber Studio data through the Model Context Protocol. It exposes endpoints and tools that allow an AI assistant to list projects, retrieve project details, browse and search test scenarios by tags, access action words (reusable test steps), and inspect test executions and build information. The server supports both STDIO and HTTP transports, so you can connect via npx for quick local testing or run it inside a container for production deployments. Typical usage is to configure MCP clients to point at this server and then query tools like cucumberstudio_list_projects, cucumberstudio_get_project, cucumberstudio_list_scenarios, cucumberstudio_get_scenario, cucumberstudio_find_scenarios_by_tags, and cucumberstudio_get_project_runtimes or similar actions depending on the client integration.
How to install
Prerequisites:
- Node.js and npm installed on your machine
- Optional: Docker if you prefer containerized usage
Installation steps:
-
Clone the repository (or install via npm if published): git clone https://github.com/HeroSizy/cucumberstudio-mcp.git cd cucumberstudio-mcp
-
Install dependencies: npm install
-
Set up environment variables (create a .env file or use your shell environment): CUCUMBERSTUDIO_ACCESS_TOKEN=your_token CUCUMBERSTUDIO_CLIENT_ID=your_client_id CUCUMBERSTUDIO_UID=your_uid
Optional overrides
CUCUMBERSTUDIO_BASE_URL=https://studio.cucumberstudio.com/api MCP_TRANSPORT=stdio
-
Build the server (if you are developing or using TypeScript sources): npm run build
-
Run the server (example using npx as described in the README): npx cucumberstudio-mcp
-
Alternative: Docker usage
- Pull and run the official image, supplying credentials via env vars docker run -e CUCUMBERSTUDIO_ACCESS_TOKEN=... -e CUCUMBERSTUDIO_CLIENT_ID=... -e CUCUMBERSTUDIO_UID=... herosizy/cucumberstudio-mcp
Additional notes
Tips and common considerations:
- Ensure your Cucumber Studio credentials are kept secret and not committed to source control.
- If using the HTTP transport, configure MCP_PORT and MCP_HOST as needed and ensure networking allows access.
- The server supports multiple transport modes (stdio, http, streamable-http). Choose based on your client integration.
- Enable logging options (LOG_LEVEL, LOG_API_RESPONSES, LOG_REQUEST_BODIES, LOG_RESPONSE_BODIES) to aid debugging, but disable verbose logs in production to improve performance.
- If using Docker, consider using a .env file and the env_file option in docker-compose for easier management.
- Verify required environment variables are present; missing credentials will cause API calls to fail.
- For desktop extension usage, the recommended flow is via the provided .dxt extension which encapsulates MCP configuration.
Related MCP Servers
mcp-graphql
Model Context Protocol server for GraphQL
tableau
Tableau's official MCP Server. Helping Agents see and understand data.
ghost
A Model Context Protocol (MCP) server for interacting with Ghost CMS through LLM interfaces like Claude. Allow you to control your Ghost blog by simply asking Claude etc.
any-script
An MCP server that exposes arbitrary CLI tools and shell scripts as MCP Tools
filesystem
A Model Context Protocol (MCP) server for platform-agnostic file capabilities, including advanced search/replace and directory tree traversal
prometheus
A Model Context Protocol (MCP) server implementation that provides AI agents with programmatic access to Prometheus metrics via a unified interface.