---
title: Quickstart
description: Run a secure-mcp security audit with the skill. Then, optionally, follow the staged MCP server workflow from inventory through evidence checks to a remediation report.
sidebar:
  label: Quickstart
  order: 3
---

## Run an audit with the skill

Link the skill as shown in [Installation](/docs/installation), restart your agent, and ask for an audit of the app by name:

```text
Use the secure-mcp skill to audit this app's local storage and data privacy.
```

The skill starts from the app's own data and trust boundaries: where sensitive data is stored, what external input it accepts, what it exposes, and how it is protected. It reads the source and configuration itself. It reports confirmed findings, open questions, and dismissed candidates separately, and it does not fix anything unless you ask.

## Optional: the staged MCP server workflow

With the optional server installed, the skill can also call its tools for extra heuristic help. The server's requirements and setup are in [Installation](/docs/installation). The server requires MCP protocol `2026-07-28`. Grok Build TUI is unsupported until it negotiates that revision.

The safest useful audit is staged. Each phase leaves a small artifact the next phase can use, so agents do not spend context on irrelevant checklists or jump from a regex hit to a confident claim.

1. **Inventory the target**

    Call `secure_mcp_list_project_structure` with an absolute `project_root`. Record the file count, sample paths, and any scope limits.

2. **Profile the architecture**

    Call `secure_mcp_analyze_architecture` with `stack: "auto"`. Keep its detected stacks, trust boundaries, `recommended_packs`, and `pack_batches`.

3. **Load only the relevant knowledge**

    Pass the first `pack_batches` entry to `secure_mcp_get_knowledge_pack` with the default `detail: "summary"`. Load later batches only when the review needs them.

4. **Run category checks**

    Run authentication, injection-risk, and secret-hygiene checks in parallel when the client supports it. Add the remediation threat model when control placement needs more structure.

5. **Confirm the candidates**

    Open each high- or critical-confidence candidate at its cited file and line. Verify the data flow, remove fixtures that are out of scope, and merge duplicates.

6. **Produce the report**

    Send the confirmed findings to `secure_mcp_produce_findings` with `dedupe: true`, a minimum severity/confidence, and `response_format: "markdown"` for the human-facing handoff.

### A focused architecture call

```json
{
  "project_root": "/absolute/path/to/target",
  "stack": "auto",
  "max_files": 400,
  "focus_paths": ["src", "app"]
}
```

Use `focus_paths` for a drill-down after the first repository-wide pass. Keep the initial `max_files` bounded; the server already applies depth, byte, and ignore-pattern caps.

### The non-negotiable rule

> Treat heuristic hits as candidates, not confirmed vulnerabilities. Read the cited code and verify the data flow before reporting impact.

This rule applies with or without the server. For the full sequence, intermediate artifacts, and defensive boundaries, read [Agent workflow](/docs/agent-workflow).
