What connect does
npx @auditynow/connect is a single command that:
- Opens your browser to approve the connection (loopback handoff to localhost)
- Mints an Audity Personal Access Token (
aky_...) - Saves the token locally
- Auto-configures the Audity MCP server in Claude Desktop, Claude Code, and Cursor
- Prints manual setup instructions for ChatGPT and n8n
- Verifies the live connection
Installation & quick start
Install Node.js 18+ if you don’t have it, then run:What gets configured automatically
Claude Desktop
Auto-configures the MCP server at
https://app.auditynow.com/api/mcp with your token. No manual steps needed.Claude Code
Runs
claude mcp add (Claude Code’s MCP CLI) to register the server, no manual config needed. Also offers to install a /audit skill that triggers the Guided Audit Conductor (default yes).Scope flags
By default (as of v2.0.0), connect issues a token with read + write + generate scope, everything needed to run audits end to end, including AI generation. You can narrow the scope with flags:| Flag | Scope | Use case |
|---|---|---|
| (no flag) | read + write + generate | Standard; agents can create projects, convert leads, and run AI work: audits, document/interview analysis, deliverable generation |
--read-only | read only | Least privilege; agents can fetch data but not mutate state. Wins if combined with other flags |
--write | read + write | Agents act on your data, but no AI generation (no AI spend) |
--generate | read + write + generate | Explicit alias for the default |
Status and management
Check your token’s status:MCP server details
After connect runs, the MCP server is live at:audity
Auth header (connect sets this for you):
audity_* tools covering the full audit pipeline: document uploads, interview sessions, async analysis jobs, opportunities, ROI, and deliverables (PDF, Gamma decks, stakeholder memos).
Claude Code /audit skill (opt-in)
Claude Code supports connect’s optional /audit skill, which turns any connected, instruction-aware agent into a guided conductor. It automatically:
- Calls
audity_get_navigation_statusto check pipeline progress - Runs steps in order
- Previews cost and time before any paid/generation step and waits for approval
- Polls long jobs (and understands that a finished Gamma/PDF job means generation was TRIGGERED, not that the file is ready)
- Flags findings under 0.8 confidence as hypotheses
npx @auditynow/connect: when Claude Code is detected, connect asks whether to also install the /audit skill (default yes). In a non-interactive shell it installs automatically. There is no separate flag, it is part of the normal connect run.
Then in Claude Code, use /audit to trigger the conductor for a guided workflow.
Troubleshooting
Connect hangs on browser approval
Connect hangs on browser approval
connect opens your default browser automatically. If it doesn’t, connect prints a one-time approval URL in the terminal, open that link to approve. The URL is tied to your current connect session, so you can’t construct it by hand; re-run
npx @auditynow/connect if it expires.Every tool call returns 401 PAT_MALFORMED
Every tool call returns 401 PAT_MALFORMED
Token format is wrong. Most common cause: the tool configuration double-prefixed
Bearer Bearer aky_.... Run npx @auditynow/connect status to check your saved token, then npx @auditynow/connect remove and re-run to get a fresh one. If the token is correct but the error persists, check your tool’s auth header in Settings to confirm it’s exactly Authorization: Bearer aky_<token>.Every tool call returns 403 PAT_SCOPE_INSUFFICIENT
Every tool call returns 403 PAT_SCOPE_INSUFFICIENT
Token lacks the required scope, most commonly a token minted with
--read-only or --write being used for work that needs more. Run npx @auditynow/connect remove, then re-run with the scope you need:npx @auditynow/connectfor the full default (read + write + generate)npx @auditynow/connect --writeif you want writes but no AI spendnpx @auditynow/connect --read-onlyif you only read data
Claude Desktop / Claude Code / Cursor doesn't see Audity tools
Claude Desktop / Claude Code / Cursor doesn't see Audity tools
- Run
npx @auditynow/connect statusto check if connect is registered. - Restart your tool (Claude Desktop, Claude Code, or Cursor) fully; MCP servers are discovered at startup.
- If tools still don’t appear, run
npx @auditynow/connect removeand re-run to reconfigure.
429 rate limited
429 rate limited
See Authentication → Rate limits. Most common ceiling: write limits on batch workflows (e.g. converting 10+ leads). Consider serializing operations or adding delays.
Audit analysis times out
Audit analysis times out
Comprehensive audit runs as an async job taking ~10-15 minutes. Enqueue via
audity_enqueue_audit_analysis, then poll audity_get_job. The Guided Audit Conductor handles polling automatically.What’s next
- Guided Audit Conductor →, pipeline order, confirm-before-spend, job polling
- Run a full audit workflow →, end-to-end recipe
- Lead conversion playbook →, triage and convert from your agent

