feat(mcp): add create_issue tool for issue creation via MCP
related: https://gitlab.com/postgres-ai/platform/-/issues/346
Add new issue management tools to the MCP server that allow AI agents to manage issues directly in PostgresAI.
New MCP Tools
create_issue
Create a new issue with title, description, project_id, and labels parameters.
update_issue
Update an existing issue's title, description, status (0=open, 1=closed), or labels.
update_issue_comment
Update the content of an existing issue comment.
Changes
-
cli/lib/issues.ts: AddedcreateIssue,updateIssue, andupdateIssueCommentfunctions with corresponding TypeScript interfaces -
cli/lib/mcp-server.ts: Registered three new MCP tools with input validation and proper error handling
Edited by Nikolay Samokhvalov