Connect Claude Code, Cursor, or Claude Desktop to Dhamark. Assign a ticket to the AI, and it picks it up, implements it, opens a PR, and marks it ready for QA — with no manual hand-off.
In the Dhamark portal go to Settings → API Keys → Generate key. Copy the dmk_… key — it's shown only once.
Choose your AI coding host. The MCP server runs via npx — no global install needed.
Run this once in your terminal:
claude mcp add dhamark -- npx -y @dhamark/mcpThen set the env vars via /mcp or add them to .claude/settings.json.
Create or update .cursor/mcp.json in your project root (or ~/.cursor/mcp.json globally):
{
"mcpServers": {
"dhamark": {
"command": "npx",
"args": ["-y", "@dhamark/mcp"],
"env": {
"DHAMARK_API_URL": "https://app.dhamark.com",
"DHAMARK_API_KEY": "dmk_your_key_here"
}
}
}
}Edit claude_desktop_config.json (found in Claude Desktop settings):
{
"mcpServers": {
"dhamark": {
"command": "npx",
"args": ["-y", "@dhamark/mcp"],
"env": {
"DHAMARK_API_URL": "https://app.dhamark.com",
"DHAMARK_API_KEY": "dmk_your_key_here"
}
}
}
}Paste this into your agent's system prompt or project instructions:
Use the dhamark MCP server. Call list_assigned_tickets to find todo work, get_ticket for full context, then start_work. Create a branch using the ticket's suggested_branch, implement the acceptance criteria and edge cases, open a PR with gh pr create, call link_pull_request with the PR URL, and finally mark_ready_for_qa.The agent will then pick up any ticket assigned to Dhamark and work through it end-to-end.
list_assigned_ticketsreadReturn all tickets assigned to Dhamark in a given status (defaults to "todo"). Start here to pick up work.
statusstring?Filter by status — e.g. "todo", "in_progress"get_ticketreadFetch full ticket context: description (markdown with acceptance criteria & edge cases), screenshot URL, spec, labels, and the suggested_branch the agent must use.
idstringTicket IDstart_workwriteMove a ticket to "in_progress". Call this right after picking it up and before writing code.
idstringTicket IDadd_ticket_commentwritePost a progress note or update on the ticket. Markdown supported.
idstringTicket IDbodystringComment body (markdown)link_pull_requestwriteRecord the GitHub PR URL on the ticket after running `gh pr create`.
idstringTicket IDurlstringPull request URLtitlestring?Optional PR title or identifiermark_ready_for_qawriteSet status to "qa", reassign the ticket back to the delegator, and post a "Ready for review" comment. Call this last, after the PR is linked.
idstringTicket IDnotestring?Optional extra note for the review comment