Ghostly is purpose-built to work with Cursor’s Model Context Protocol support. Once the MCP server is registered, Cursor’s Composer agent gains direct access to Ghostly’s testing tools — meaning you can describe a user journey in plain English inside Composer and Cursor will callDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Meza-dev/Ghostly/llms.txt
Use this file to discover all available pages before exploring further.
submit_plan or ghostly_run_flow on your behalf, without you writing a single line of test code manually.
Automatic setup with ghostly install
The fastest way to wire Ghostly into Cursor is to run the install command after generating your API key:
Generate local credentials
Run the installer
- Writes the
ghostlyMCP server entry to~/.cursor/mcp.json - Copies Cursor rules to
~/.cursor/rules/ghosttester-expert-architect.mdc - Installs Ghostly skills to
~/.cursor/skills/ghosttester-expert-architect/
Manual mcp.json entry
If you need to add or update the entry by hand, open ~/.cursor/mcp.json (create it if it doesn’t exist) and merge in the following:
Using Ghostly from Cursor Composer
Once the MCP server is active andghostly up is running, you can drive tests directly from Cursor’s Composer panel.
Confirm the engine is running
Verify Ghostly is up by visiting
http://localhost:4000/health in your browser or checking that ghostly up is active in a terminal.Open Cursor Composer
Press Ctrl+I (Windows/Linux) or Cmd+I (macOS) to open the Composer panel. Make sure you are in Agent mode so that MCP tools are available.
Describe your test goal
Type a natural-language instruction. For example:
“Run an E2E test that logs in to http://localhost:3000 with user@example.com and verifies the dashboard loads.”Cursor’s agent will read the project map via
get_project_map, compose the steps, and call submit_plan with the structured plan.Typical Composer prompts
Submit a full login flow
“Use Ghostly to test logging in at http://localhost:3000 with admin@acme.com, then verify the /dashboard route loads.”
Inspect your project's components
“Call get_project_map for the current project root and tell me which forms are available.”
Run a local headless flow
“Run a headless ghostly_run_flow that navigates to /signup and fills out the registration form.”
List existing projects
“List my Ghostly projects and show me the IDs I can use as the
project parameter.”Cursor Agent CLI as an LLM provider
Ghostly’s assisted mode supports a local Cursor CLI binary as the LLM provider. If you configurecursor-cli as the model source in ghostly config, the following additional requirements apply:
The
agent binary from Cursor must be installed separately on your system path, and you must have completed authentication by running agent login at least once before Ghostly’s assisted mode can use it. This is independent from the MCP integration and only applies when using Cursor’s AI as Ghostly’s strategist/healer model.What ghostly install writes to Cursor
Files written by ghostly install
Files written by ghostly install
| Path | Purpose |
|---|---|
~/.cursor/mcp.json | Registers the Ghostly MCP server with your API key and API URL |
~/.cursor/rules/ghosttester-expert-architect.mdc | Cursor rule that instructs the agent how to use Ghostly tools correctly |
~/.cursor/skills/ghosttester-expert-architect/ | Skill definitions that guide the Composer agent through the Ghostly testing workflow |
mcp.json which contains your API key.