Dantai/ DocsOpen app

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:

smart-audit-mcp
npm installnpm run build

Then add it to your client, replacing the path with where you built it:

mcp.json
{
  "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 branch
get_project_contextRepo, notes, PRD, latest scan and open findings
list_tasksBoard tasks by project, column, person, overdue or due date
get_task_contextOne task with schedule, history, comments, finding, tickets and project context
list_ticketsJira, ClickUp and Slack tickets
get_ticket_contextOne ticket with related tasks and project
list_findingsScan findings with file, line and fix
list_workspacesYour workspaces and roles
list_membersPeople in a workspace with emails, for assigning
create_projectCreate a project, linked to a repo or manual
update_projectChange name, notes, branch or PRD
create_taskAdd a task with owner, start and due date
update_taskChange title, priority, owner (by name, email or id), start, due date and time
update_task_statusMove a task between columns, assigning and scheduling it in the same step
add_task_commentComment on a task
set_finding_statusResolve or ignore a finding
list_pushesRecent pushes and their scan results
get_push_contextA push with changed files and findings
rescan_pushQueue a push scan again
list_pipeline_runsCI/CD runs from GitHub Actions and Codemagic
get_run_contextA run with its failing step and log
rerun_pipelineRe-run, cancel or start a pipeline

4. 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 reported
submit_findingsThe scan's complete list of problems (empty when none). Each call replaces the last
attach_evidenceA note, test result or pull request link for the job's task
claim_taskMark the job's task as being worked on