io.github.Opafex/mcp-approval-queue

Official registry AI and agents

Human approval gate for AI agents: risk-scored requests that only a person can approve

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package @opafex/mcp-approval-queue
Claude Code
claude mcp add mcp-approval-queue -e 'APPROVAL_QUEUE_STATE_DIR=<APPROVAL_QUEUE_STATE_DIR>' -e 'APPROVAL_QUEUE_TTL_HOURS=<APPROVAL_QUEUE_TTL_HOURS>' -- npx -y @opafex/mcp-approval-queue@0.2.0
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mcp-approval-queue": {
            "command": "npx",
            "args": [
                "-y",
                "@opafex/mcp-approval-queue@0.2.0"
            ],
            "env": {
                "APPROVAL_QUEUE_STATE_DIR": "<APPROVAL_QUEUE_STATE_DIR>",
                "APPROVAL_QUEUE_TTL_HOURS": "<APPROVAL_QUEUE_TTL_HOURS>"
            }
        }
    }
}

Environment variables

  • APPROVAL_QUEUE_STATE_DIR Directory holding state.json; the server and the CLI must share it (default ~/.opafex/approval-queue)
  • APPROVAL_QUEUE_TTL_HOURS Hours before an undecided request expires (default 24)

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. Opafex MCPs
  2. Servers
  3. Quick Start
  4. Development
  5. Shared Utilities
  6. License

Opafex MCPs

Open-source Model Context Protocol servers by Opafex. Each server is a standalone npm package usable with Claude Code, Claude Desktop, Cursor, and any MCP-compatible client.

Servers

PackageDescriptionStatus
@opafex/mcp-enrichmentCompany, contact, email & phone enrichment via Clearbit, Hunter.io, TwilioAvailable
@opafex/mcp-file-processorDocument text extraction, keyword detection, chunkingAvailable
@opafex/mcp-web-researchWeb search (Brave API), SSRF-guarded page fetch, research synthesisAvailable
@opafex/mcp-approval-queueHuman-in-the-loop approval gate — the agent asks, only a person approves (elicitation or CLI)Available
@opafex/knowledge-gridLayered context for agents (a library, in its own repo)Available

Quick Start

# Clone and install
git clone https://github.com/opafex/opafex-mcps.git
cd opafex-mcps
npm install
npm run build

# Run the enrichment server (mock mode — no API keys needed)
node packages/enrichment/dist/index.js
Add to Claude Code

Create or edit .mcp.json in your project root:

{
  "mcpServers": {
    "enrichment": {
      "command": "node",
      "args": ["/path/to/opafex-mcps/packages/enrichment/dist/index.js"],
      "env": {
        "CLEARBIT_API_KEY": "sk-...",
        "HUNTER_API_KEY": "...",
        "TWILIO_ACCOUNT_SID": "...",
        "TWILIO_AUTH_TOKEN": "..."
      }
    }
  }
}

All servers work in mock mode when API keys are omitted — great for development and testing.

Development

npm install          # Install all dependencies
npm run build        # Build all packages
npm test             # Run all tests
Adding a New Server
  1. Create packages/<server-name>/ with package.json, tsconfig.json, and src/
  2. Use @opafex/mcp-shared for the server bootstrap (createMCPServer)
  3. Define tools in tools.ts, wire up in index.ts
  4. Add tests in __tests__/

See packages/enrichment as a reference implementation.

Shared Utilities

@opafex/mcp-shared provides:

  • createMCPServer() / buildMCPServer() — Reusable MCP server bootstrap with tool/resource registration and stdio transport
  • ToolContext.elicit — ask the user a question through the client's UI (MCP elicitation), out of the model's reach
  • Validation helpers — Email, domain, phone format validation

License

MIT

Frequently asked questions

What is io.github.Opafex/mcp-approval-queue?

Human approval gate for AI agents: risk-scored requests that only a person can approve

How do I install io.github.Opafex/mcp-approval-queue?

It runs on your machine. In Claude Code: claude mcp add mcp-approval-queue -e 'APPROVAL_QUEUE_STATE_DIR=<APPROVAL_QUEUE_STATE_DIR>' -e 'APPROVAL_QUEUE_TTL_HOURS=<APPROVAL_QUEUE_TTL_HOURS>' -- npx -y @opafex/mcp-approval-queue@0.2.0. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.Opafex/mcp-approval-queue need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is io.github.Opafex/mcp-approval-queue open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains io.github.Opafex/mcp-approval-queue?

It is published by opafex. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.