How to work with Issues
PostgresAI generates daily issue reports with detected problems and recommended actions for your Postgres databases. This guide shows how to view, manage, and resolve issues.
Prerequisites
- A PostgresAI account with an active monitoring instance
View issues in PostgresAI Console
Open PostgresAI Console and click Issues in the left sidebar to see all issue reports.
Manage an issue
Click an issue to open its details page. You can:
- Assignees: assign the issue to a team member.
- Status & labels: update status and labels as needed.
- Resolve in Cursor: open the issue in Cursor to work through the recommended steps in your AI-assisted workflow.
Work with issues via CLI
You can also manage issues using the PostgresAI CLI:
- Installed CLI
- npx
- bunx
# List all issues
postgresai issues list
# View a specific issue
postgresai issues view <issue_id>
# Post a comment
postgresai issues post_comment <issue_id> "comment"
# List all issues
npx postgresai issues list
# View a specific issue
npx postgresai issues view <issue_id>
# Post a comment
npx postgresai issues post_comment <issue_id> "comment"
# List all issues
bunx postgresai issues list
# View a specific issue
bunx postgresai issues view <issue_id>
# Post a comment
bunx postgresai issues post_comment <issue_id> "comment"
See PostgresAI CLI reference for all available commands.
Integrate with AI coding tools
Issues can be resolved directly in AI coding tools that support MCP integration:
- Installed CLI
- npx
- bunx
- Install MCP:
postgresai mcp install - Open the issue in your AI coding tool (Cursor, Claude Code, Windsurf, or Codex)
- Follow the AI-guided steps to resolve the issue
- Install MCP:
npx postgresai mcp install - Open the issue in your AI coding tool (Cursor, Claude Code, Windsurf, or Codex)
- Follow the AI-guided steps to resolve the issue
- Install MCP:
bunx postgresai mcp install - Open the issue in your AI coding tool (Cursor, Claude Code, Windsurf, or Codex)
- Follow the AI-guided steps to resolve the issue
See How to install MCP for setup instructions.

