Quick Install
Add to Cursor
If the button does not open Cursor, go to Settings > MCP > Add and add server revyl with args mcp, serve.
claude mcp add revyl -- revyl mcp serve
Codex: codex mcp add revyl -- revyl mcp serve
The one-click buttons install the MCP server without an API key. Run
revyl auth login first, or add REVYL_API_KEY to your MCP config afterward. See the manual setup sections below for full config with env vars.Prerequisites
1. Install the CLI
2. Authenticate
Either log in interactively (stores credentials locally):3. Verify
Setup by Tool
Every tool uses the same core config: the command
revyl with args ["mcp", "serve"]. The only difference is where each tool expects the config file.Cursor
Create.cursor/mcp.json in your project root (project-scoped) or ~/.cursor/mcp.json (global):
revyl auth login, you can omit the env block.
Claude Code
One command:claude mcp list
Codex (OpenAI)
Claude Desktop
Edit the config file for your OS:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
VS Code (Copilot Chat)
Add to your VS Codesettings.json (Cmd+Shift+P > “Preferences: Open User Settings (JSON)”):
Windsurf
Create or edit~/.codeium/windsurf/mcp_config.json:
Installing Agent Skills (Recommended)
The Revyl agent skill teaches your AI assistant optimal workflows, grounding patterns, and troubleshooting steps. It’s optional but significantly improves the experience.
Default install
revyl-clirevyl-cli-createrevyl-cli-analyzerevyl-cli-dev-loop
Tool-specific install
--global to install to your user-level directory instead:
Installation locations
| Tool | Project-level | User-level (--global) |
|---|---|---|
| Cursor | .cursor/skills/<skill-name>/SKILL.md | ~/.cursor/skills/<skill-name>/SKILL.md |
| Claude Code | .claude/skills/<skill-name>/SKILL.md | ~/.claude/skills/<skill-name>/SKILL.md |
| Codex | .codex/skills/<skill-name>/SKILL.md | ~/.codex/skills/<skill-name>/SKILL.md |
Can I use multiple skills?
Yes. Skills are folder-based, so you can keep the Revyl skill and add your own team skills side by side. Example (Codex):revyl-cli*/revyl-mcp* skills as your base capability and add scenario-specific team skills on top.
Other skill commands
After installing, the skill is automatically discovered by your AI agent on startup. Restart your IDE if it was already running.
Verify It Works
After setup, try these prompts with your AI agent:- “Start an Android device and take a screenshot”
- “List all my Revyl tests”
- “Run the login-flow test”
- “Install this app and tap the Sign In button”
If something goes wrong, ask the agent to “Run device_doctor” — it checks auth, session, worker, and grounding health automatically.
Example Prompt Library
Use these copy/paste prompts to activate the correct skill family.CLI dev-loop prompt (revyl-cli-dev-loop)
MCP dev-loop prompt (revyl-mcp-dev-loop)
MCP create prompt (revyl-mcp-create)
CLI analyze prompt (revyl-cli-analyze)
Available MCP Tools
The Revyl MCP server exposes tools across several categories:| Category | Tools |
|---|---|
| Device Session | start_device_session, stop_device_session, get_session_info |
| Device Actions | device_tap, device_double_tap, device_long_press, device_type, device_swipe, device_drag |
| Vision | screenshot |
| App Management | install_app, launch_app |
| Test Management | run_test, run_workflow, list_tests, create_test |
| Diagnostics | device_doctor |
target="Sign In button") and coordinates are auto-resolved via AI vision. You can also pass raw x, y coordinates as an override.
Troubleshooting
”revyl: command not found”
The CLI is not in your PATH.Authentication errors
MCP server not responding
- Restart your IDE/tool
- Test manually:
revyl mcp serve - Enable debug logging: add
"REVYL_DEBUG": "true"to your config’senvblock - Run
revyl device doctorto check connectivity
”no active device session”
Sessions auto-terminate after 5 minutes of idle. Callstart_device_session() again to provision a new device.
Grounding model not finding elements
- Take a
screenshot()to see what’s actually on screen - Use more specific descriptions:
"blue 'Sign In' button"instead of"button" - Rephrase the target using exact visible text and retry
Next Steps
Agent Prompt Pack
Copy/paste prompts for reliable screenshot-observe-action loops and ad hoc-to-test conversion.
Agent Journeys
End-to-end playbooks for dev loop and ad hoc-to-test workflows.
CLI Reference
Full command reference for the Revyl CLI.
Quick Start
Get up and running with Revyl in 5 minutes.
API Reference
REST API documentation for programmatic access.
Integrations
GitHub, Slack, Expo, and more.