Skip to Content
v0.8.0 · shippedNative iOS / Android / Flutter / Capacitor SDKs, A2A discovery, SOC 2 readiness, residency, BYO storage, BYOK. Read the changelog →
SDK reference@mushi-mushi/mcp-ci

@mushi-mushi/mcp-ci

The Mushi v2 GitHub Action — runs the five-gate composite check, drafts inventory entries from a recent crawl, and bootstraps an authenticated session for crawler / synthetic monitor runs against staging.

Quick start

.github/workflows/mushi-gates.yml
name: Mushi gates on: pull_request: branches: [main, master] jobs: gates: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 - uses: kensaurus/mushi-mushi/packages/mcp-ci@master with: api-key: ${{ secrets.MUSHI_API_KEY }} project-id: ${{ secrets.MUSHI_PROJECT_ID }} command: gates

The action posts a single composite GitHub status — mushi-mushi/gates — which rolls up:

  • mushi-mushi/no-dead-handler — empty onClick / onSubmit etc. found by the ESLint plugin.
  • mushi-mushi/no-mock-leak — faker / John Doe arrays surfaced in non-test paths.
  • Inventory drift — actions added, removed, or renamed since the last push.
  • Agentic-failure detection — handlers that regressed across deploys (the inventory’s expected_outcome checks no longer hold).
  • Synthetic walk health — the synthetic monitor’s last walk against staging.

Commands

command:What it does
gatesThe default — runs all five gates and posts the composite check.
proposeAsks the LLM proposer for an updated inventory.yaml draft, opens a PR.
discover-apiCrawls the candidate routes the SDK observed in production.
discovery-statusPrints the current discovery snapshot for the project.
auth-bootstrapRuns the inventory.yaml auth.scripted block and seeds the cookies into project_settings.

In your IDE

The same commands are exposed as MCP tools via @mushi-mushi/mcp. Cursor, Claude Code, and Copilot can run them on your behalf when the MCP server is configured. Inside the admin console you can also click Run gates / Run crawler directly on each row of the User stories page — see Admin → User stories · Inventory.

Inputs

InputRequiredDefaultDescription
api-keyProject API key (mushi_…).
project-idProject ID (proj_…).
commandgatesOne of the commands listed above.
api-urlauto-routedOverride for self-hosted Mushi deployments.
inventoryinventory.yamlPath to the inventory file (relative to repo root).
working-directory.Sub-directory to run the action from (monorepos).
Last updated on