Skip to main content
Glama
clearance-mcp

clearance-mcp

by Nauti-Labs

clearance-mcp

Model Context Protocol server for Clearance — the human approval API for AI agent commerce.

Stop letting agents move money you didn't approve. One API call. The human approves with one tap. Any service verifies the signed token.


What This Is

An MCP server that exposes Clearance as a set of tools Claude (and other MCP-compatible clients) can call natively. Your AI agent can:

  • Request human approval before spending money

  • Check approval status

  • Approve, deny, or revoke a clearance

  • Verify signed tokens

  • Manage API keys and usage


Related MCP server: Payments Agent Gateway (MCP)

Installation

npm install -g clearance-mcp

Or run directly via npx:

npx -y clearance-mcp

Via GitHub (if npm not available)

npx -y github:Nauti-Labs/clearance-mcp

Configuration

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "clearance": {
      "command": "npx",
      "args": ["-y", "clearance-mcp"],
      "env": {
        "CLEARANCE_API_KEY": "clr_live_..."
      }
    }
  }
}

Environment Variables

Variable

Required

Description

CLEARANCE_API_KEY

✅

Your Clearance API key (get free at clearance.nauti-labs.com)

CLEARANCE_BASE_URL

❌

Override API base URL (default: https://clearance.nauti-labs.com)


Available Tools

Tool

Clearance API

Description

clearances_create

POST /v1/clearances

Create a human approval request. Requires title and scope.

clearances_get

GET /v1/clearances/{id}

Get one clearance by ID

clearances_list

GET /v1/clearances

List clearances. Optional status and limit (API default 50).

clearances_approve

POST /v1/clearances/{id}/decide

Approve a pending clearance (approved: true)

clearances_deny

POST /v1/clearances/{id}/decide

Deny a pending clearance (approved: false)

clearances_revoke

POST /v1/clearances/{id}/revoke

Revoke an approved clearance so its token no longer verifies

verify_token

GET /v1/verify/{token}

Verify a signed approval token

keys_create

POST /v1/keys

Create a Starter API key. Requires email.

usage_get

GET /v1/usage

Check credits used, credits remaining, and the current period

Request fields

clearances_create sends title, scope, and any of description, budget_amount, budget_currency, callback_url, metadata, and expires_in (seconds, API default 3600). The response link for the human is approval_url. webhook_url is accepted and sent as callback_url.

clearances_list returns a JSON array. Status filters are pending, approved, denied, expired, and revoked. Pagination is limit only.

clearances_approve and clearances_deny both call /decide. Body is { "approved": true|false, "note"?: string }. reason is accepted as an alias of note.

keys_create sends { "email", "name"? }. New keys are always the free Starter tier. The response field for the secret is api_key.

usage_get returns tier, credits_used, credits_remaining, clearances_this_month, period_start, and period_end.


Example Usage

In Claude, after the MCP server is connected:

You: "I want to book a $500 flight. Can you ask for approval first?"

Claude: calls clearances_create with title="Book flight to Austin", scope="purchase:flight", budget_amount=500

Claude: "I've created an approval request. Open the approval_url to approve or deny: Approve. Once you approve, I'll proceed with the booking."


Pricing

Clearance pricing:

  • Starter — Free, 50 clearances/month

  • Pro — $19/mo, 1,000 clearances/month

  • Scale — $49/mo, 10,000 clearances/month

Get your free key at clearance.nauti-labs.com.



Built by Nauti-Labs LLC · Mont Belvieu, TX

Available Tools

9 tools
clearances_approveA

Approve a pending clearance. Calls POST /v1/clearances/{id}/decide with approved=true. Returns id, status, decided_at, and the signed token.

Inputs: id (required), note.

clearances_createA

Create a human approval request. Requires title and scope. Returns the clearance, including approval_url. The human opens that URL to approve or deny; poll clearances_get or pass callback_url to hear the decision.

Inputs: scope (required), title (required), metadata, expires_in, +4 more.

clearances_denyA

Deny a pending clearance. Calls POST /v1/clearances/{id}/decide with approved=false. Optional note is stored as the decision note.

Inputs: id (required), note.

clearances_getA

Get one clearance by ID. Returns status, approval_url, expiry, and the signed token when status is approved.

Inputs: id (required).

clearances_listA

List clearances for this API key. Optional status filter and limit (API default 50). Returns a JSON array, newest first. Status values: pending, approved, denied, expired, revoked.

Inputs: limit, status.

clearances_revokeA

Revoke an approved clearance. Calls POST /v1/clearances/{id}/revoke. The signed token will no longer verify.

Inputs: id (required).

keys_createA

Create a new Clearance API key. Email is required. Keys always start on the free Starter tier (50 clearances/month); tier cannot be chosen here. Returns api_key, tier, credits_remaining, and a message. The raw key is only shown once.

Inputs: email (required), name.

usage_getA

Get usage for this API key: tier, credits_used, credits_remaining, clearances_this_month, period_start, and period_end.

Inputs: no named parameters.

verify_tokenA

Verify a signed clearance token via GET /v1/verify/{token}. No authentication is required by the API. Returns valid, clearance_id, scope, budget, approved_at, expires_at, and error when invalid.

Inputs: token (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool maps to a distinct clearance lifecycle action or auxiliary operation: list, create, get, approve, deny, revoke, verify token, create key, and get usage. Approve and deny are related decisions but are clearly separated by intent and outcome. There is no meaningful overlap between tools.

    Naming Consistency4/5

    Most tools follow a consistent resource_action pattern such as clearances_list, clearances_create, keys_create, and usage_get. The only notable deviation is verify_token, which uses verb_noun ordering. The convention is still highly predictable overall.

    Tool Count5/5

    Nine tools is a well-scoped set for a clearance approval workflow API. Each tool earns its place by covering a distinct operation rather than duplicating functionality.

    Completeness4/5

    The core clearance lifecycle is well covered: create, list, get, approve, deny, revoke, and token verification. API key management is only partially covered because keys can be created but not listed or revoked, and usage is limited to a single get operation. These are minor gaps rather than blockers for the primary clearance workflow.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers