Skip to main content
Connect your AI coding assistant to Autosana for seamless documentation access and test flow management directly from your IDE.

Configuration

Replace <YOUR_API_KEY> with your key from Settings → Integrations → API Key.
Run this command in your terminal:
claude mcp add --transport http autosana https://mcp.autosana.ai/mcp --header "x-api-key: <YOUR_API_KEY>"
After adding the configuration, restart your agent for the changes to take effect.

Verify the Connection

Once configured, test the server:
List all my Autosana flows
How do suites work in Autosana?
If the connection is successful, you’ll receive responses from both questions.

Available Tools

The Autosana MCP server provides comprehensive test management, debugging, and documentation access.

Flow Management

ToolDescription
flows_listList all flows in your organization, optionally filtered by suite
flows_readGet details of a specific flow by ID
flows_createCreate a new test flow with name, instructions, and optional suite
flows_updateUpdate an existing flow’s name or instructions
flows_deleteDelete one or more flows (supports batch deletion)
flows_runExecute one or more flows on an app
add_hook_to_flowAdd a setup or teardown hook to a flow

Suite Management

ToolDescription
suites_listList all test suites in your organization
suites_readGet details of a specific suite by ID
suites_createCreate a new suite with flows and optional authentication
suites_updateUpdate a suite’s name, description, or authentication setup
suites_deleteDelete one or more suites (supports batch deletion)
suites_runExecute all flows in a suite on an app

Hook Management

ToolDescription
hooks_listList all hooks in your organization, optionally filtered by flow
hooks_readGet details of a specific hook by ID
hooks_createCreate a new hook with a script (cURL, Python, JS, Shell)
hooks_updateUpdate an existing hook’s name, script, type, or description
hooks_deleteDelete one or more hooks (supports batch deletion)
hooks_runExecute a hook and wait for results

Apps & Environments

ToolDescription
apps_listList all active apps, optionally filtered by platform
apps_readGet details of a specific app by ID or name
environments_listList all environments for your organization

Results & Debugging

ToolDescription
list_suite_runsList recent suite run results with optional date filters
list_flow_runsList recent flow run results with optional date filters
list_hook_runsList recent hook run results with optional date filters
read_suite_runRead detailed suite run info showing which flows passed/failed
read_flow_runRead detailed flow run info including actions, review, and hooks
read_hook_runRead detailed hook run info including status and output

Documentation

ToolDescription
search_autosana_docsSearch Autosana documentation for information

Example Usage

Generate E2E tests from your codebase

Crawl my repo, come up with an E2E testing strategy, and create flows in Autosana

Increase test coverage from a PR

Look at this PR and get us to 80% E2E coverage by writing flows in Autosana

Debug failing tests

My login suite is failing. Help me figure out what's wrong and fix it.

Create hooks for backend setup

Create a setup hook that resets the test database before each flow runs

Check test run history

Show me the last 10 runs of my checkout flow and their success rates

Identify coverage gaps

Look at my Autosana coverage and see where we are missing tests

Resources