MCP Integration
smart-audit-mcp lets an AI coding assistant read your tasks and tickets with their full context (the finding behind a task, comments, the project's repo and PRD), work on them in your own repository, then move the task, comment and resolve findings from your editor.
1. Create an API key
Go to API Keys and generate a key named after your client.
2. Configure your client
Build smart-audit-mcp once:
npm installnpm run build
Then add it to your client, replacing the path with where you built it:
{
"mcpServers": {
"pentava-audit": {
"command": "node",
"args": ["/path/to/smart-audit-mcp/dist/index.js"],
"env": {
"LYNX_POCKETBASE_URL": "http://127.0.0.1:8090",
"LYNX_API_KEY": "sa_live_..."
}
}
}
}3. Available tools
list_projectsProjects you can access, with repo and branchget_project_contextRepo, notes, PRD, latest scan and open findingslist_tasksBoard tasks by project, column, person, overdue or due dateget_task_contextOne task with schedule, history, comments, finding, tickets and project contextlist_ticketsJira, ClickUp and Slack ticketsget_ticket_contextOne ticket with related tasks and projectlist_findingsScan findings with file, line and fixlist_workspacesYour workspaces and roleslist_membersPeople in a workspace with emails, for assigningcreate_projectCreate a project, linked to a repo or manualupdate_projectChange name, notes, branch or PRDcreate_taskAdd a task with owner, start and due dateupdate_taskChange title, priority, owner (by name, email or id), start, due date and timeupdate_task_statusMove a task between columns, assigning and scheduling it in the same stepadd_task_commentComment on a taskset_finding_statusResolve or ignore a findinglist_pushesRecent pushes and their scan resultsget_push_contextA push with changed files and findingsrescan_pushQueue a push scan againlist_pipeline_runsCI/CD runs from GitHub Actions and Codemagicget_run_contextA run with its failing step and logrerun_pipelineRe-run, cancel or start a pipeline4. Agent runner tools
An agent runner starts Claude Code, Codex or Gemini CLI on a machine you control to scan pushes and fix findings. Those agents hand their work back through four extra tools, which the runner serves for the one job it is running. You do not configure them: the token they use works for that job only and stops when the job ends. See pocketbase/AGENT-RUNNER.md in the repository.
get_jobWhat the job is about and anything already reportedsubmit_findingsThe scan's complete list of problems (empty when none). Each call replaces the lastattach_evidenceA note, test result or pull request link for the job's taskclaim_taskMark the job's task as being worked on