rocketship-ai/rocketship
If you are the rightful owner of rocketship and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Rocketship is an open-source testing framework designed to validate complex, user-driven scenarios through declarative tests.
Enterprise-Grade Testing for Humans and Agents
Validate Any Data Resource, API, or Customer Journey With Declarative Tests
🚀 Rocketship is an open‑source testing framework that can verify complex, user-driven scenarios that are made by your customers— or your systems. Rocketship brings durable execution backed by Temporal to your testing infra, and offers extensible plugins so you can add the APIs and protocols that matter to you.
Define your test scenarios as declarative YAML specs -> and have Rocketship run them locally or in your cloud environment as deterministic workflows.
Core features:
- Rocketship CLI Run the engine locally or connect to a remote address.
- Deploy-Ready Images Need long-running, highly-scalable tests? Or just want to save test history? Host Rocketship on your own infra.
- Declarative YAML Define your test scenarios as declarative YAML specs.
- Durable Execution Need a test step to retry? Or a test to run for 10 hours? No problem!
- Plugin Ecosystem Add the APIs and protocols that matter to you.
Getting Started
Install
brew install temporal # pre-req for if you want to run the local engine
# for arm64 macos
curl -Lo /usr/local/bin/rocketship https://github.com/rocketship-ai/rocketship/releases/latest/download/rocketship-darwin-arm64
chmod +x /usr/local/bin/rocketship
For detailed installation instructions for other platforms and optional aliases, see the Installation Guide.
Save a test spec
cat > rocketship.yaml << 'EOF'
name: "Simple Test Suite"
description: "Showing some of the plugins"
vars:
base_url: "https://tryme.rocketship.sh"
tests:
- name: "User Workflow with Processing Delay"
steps:
- name: "Create a new user"
plugin: http
config:
method: POST
url: "{{ .vars.base_url }}/users"
body: |
{
"name": "Nick Martin",
"email": "nick@rocketship.sh"
}
assertions:
- type: status_code
expected: 200
- type: json_path
path: ".name"
expected: "Nick Martin"
save:
- json_path: ".id"
as: "user_id"
- name: "Wait for user processing"
plugin: delay
config:
duration: "2s"
- name: "Validate user creation with script"
plugin: script
config:
language: javascript
script: |
function main() {
const userId = state.user_id;
// Simulate some business logic validation
if (!userId || userId === "") {
throw new Error("User ID is missing or empty");
}
return {
validation_status: "passed",
user_ready: true,
message: `User ${userId} is ready for operations`
};
}
main();
EOF
Run it
rocketship run -af rocketship.yaml # starts the local engine, runs the tests, shuts the engine down
The examples use a hosted test server at tryme.rocketship.sh
that you can use:
- Test CRUD operations for a resource type
- Resources are isolated based off a session header
- FYI: Resource cleanup is done hourly (every :00)
Try the MCP Server
Rocketship includes an MCP (Model Context Protocol) server that enables AI coding agents like Cursor, Windsurf, or Claude Code write better Rocketship tests by providing examples, patterns, and guidance.
Quick Setup
For Claude Code:
Add to the .mcp.json
file in your project:
{
"mcpServers": {
"rocketship": {
"command": "npx",
"args": ["-y", "@rocketshipai/mcp-server@latest"]
}
}
}
Head to the Rocketship MCP Server Docs to see how to add it for Cursor, Windsurf, and more.
What Can It Do?
The MCP server acts as a knowledgeable assistant, providing:
get_rocketship_examples
- Get examples and best practices for specific Rocketship featuressuggest_test_structure
- Returns test templates with TODOs for you to implementget_schema_info
- Provides current schema information for validation and proper syntaxget_cli_guidance
- Provides CLI usage patterns and commands from introspectionget_rocketship_cli_installation_instructions
- Get step-by-step CLI installation instructions for different platformsanalyze_codebase_for_testing
- Analyzes codebases to suggest meaningful test scenarios
Example Usage
Ask your coding agent for guidance:
- "Show me examples of API testing with step chaining"
- "What assertions should I use for JSON responses?"
- "How do I install the Rocketship CLI?"
- "How do I configure the Supabase plugin?"
- "Give me a template for an E2E customer journey test"
The agent will ask the MCP server for relevant examples and patterns, then help you create tests based on that guidance. You maintain full control over what gets written to your files.
Documentation
Roadmap
Building the next-gen of integration testing for humans and AI agents. Suggestions and issues are welcomed! Here's what's coming in weeks, not years:
- Parameterized Tests & Scripting Parameterize your tests with environment variables, secrets, and scripted steps.
- AI Agent Integration MCP support for AI agents to automatically generate, run, and maintain integration tests based on code changes.
- LLM Browser Testing A plugin powered by Browser Use for browser-based testing.
- Test and Suite-Wide Config Schedule tests on a cadence, add retryability, and more.
- More Native Plugins Native plugin support for secret managers, databases (PostgreSQL, MongoDB), message queues (Kafka, RabbitMQ), file systems (S3, GCS), and more.
Contribute!!!
I would love to build this with you! I'm looking to start a community for 🚀. Reach out to me on LinkedIn and let's chat. A great first contribution is building a plugin for your favorite API. If you want to contribute to Rocketship, start by reading Contributing to Rocketship.
License
Rocketship is distributed under the MIT license.