@booklib/claude-ado-confirm-hook

data-ai MCP Server

Native macOS confirmation dialog for Azure DevOps MCP write operations in Claude Code

VerifiedInstall Ready
data-aidata-aiazure
2 views0 stars0 forksv1.0.0MIT

Why This Matters

Discovered via github-topic:mcp and last synced 3mo ago.

VerifiedInstall Ready
Source
github-topic:mcp
Stars
0
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

npx @booklib/claude-ado-confirm-hook

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "-booklib-claude-ado-confirm-hook": {
      "command": "npx",
      "args": [
        "@booklib/claude-ado-confirm-hook"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

3
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (3)

mcp__azure-devops__wit_add_work_item_comment

mcp__azure-devops__repo_create_pull_request

mcp__azure-devops__wit_add_artifact_link

mcp__azure-devops__repo_create_branch", "hooks": [ { "type": "command", "command": ".claude/hooks/ado-confirm.sh", "timeout": 30000, "statusMessage": "Awaiting confirmation for Azure DevOps action..." } ] } ] } } ``` The hook reads your org name and access token from `.mcp.json` automatically — no hardcoded config needed. ## How It Works 1. Claude Code calls an Azure DevOps MCP tool (create, update, link, etc.) 2. The hook intercepts the call before execution 3. For updates: fetches current values from Azure DevOps API to show the diff 4. Renders an HTML view in a native macOS WebView window 5. You click **Approve** (or Enter) to proceed, **Cancel** (or Escape) to block The dialog appears on your current screen — no desktop switching. ## Requirements - **macOS** (Cocoa WebView) - **Xcode Command Line Tools** (for `swiftc`) - **jq**, **curl** (for the shell script) - [Azure DevOps MCP server](https://github.com/microsoft/azure-devops-mcp) configured in `.mcp.json` ## Files

mcp__azure-devops__wit_update_work_item

mcp__azure-devops__wit_update_work_items_batch