Introducing Dench MCP
Screwtape logo

Integrate Screwtape with your AI CRM

Screwtape checks agent outputs, budgets, payments, and duplicate invoices while issuing signed receipts for audit and verification.

Explore Triggers and Actions

Authorize Payment With Payment Guard

Apply the connected key's effective spend rules to a payment intent. An allow decision atomically reserves the amount against configured budgets and returns a short-lived Ed25519-signed clearance; a block reserves nothing. This non-custodial action does not make a payment and never accepts private keys, seeds, or mnemonics. Reusing an event_id with the same body replays the decision without billing again.

ActionTry it

Check Duplicate Invoice

Judge an invoice and compare its configured identity fields with stored fingerprints before payment, optionally storing a new fingerprint and retaining submitted content when requested, and returning duplicate and verdict details.

ActionTry it

Check Payment

Assess available x402 seller or payment-request context and return an allow, review, or block verdict with a signed receipt reference when issued. All inputs are optional; provide seller_url, payment_required, or both when known. This action does not make a payment.

ActionTry it

Create Action Receipt

Create an Ed25519-signed, hash-chained receipt for an agent-reported action and status.

ActionTry it

Create Free API Key

Create a free-tier Screwtape API key with 10 calls per UTC day. An optional proof-of-work nonce raises signup limits. The returned secret is shown once.

ActionTry it

Create Free API Key via Keys Endpoint

Create a free-tier Screwtape API key, optionally using proof of work for higher signup limits. This endpoint is an alias of POST /v1/signup; prefer the signup endpoint in new workflows.

ActionTry it

Delete All Retained Calls

Permanently delete every retained call for the connected key's subscription account, or only this key when it has no plan, and return the deleted count.

ActionTry it

Delete BYOM Settings

Delete the Bring-Your-Own-Model settings stored for the connected Screwtape API key, including its encrypted provider credential.

ActionTry it

Delete Current API Key and Data

Permanently and irreversibly delete the connected API key hash, counters, payments, retained judgments, shared samples, and feedback. Call this only when the user explicitly asks to delete their key or data.

ActionTry it

Delete Duplicate Fingerprints

Permanently delete every keyed fingerprint that duplicate checks stored for the connected key and return the deleted count.

ActionTry it

Delete Receipt Evidence

Delete retained evidence for one receipt while preserving the signed receipt. This operation is available to plan keys.

ActionTry it

Delete Retained Call

Permanently delete one retained judge or consensus call by its retention id.

ActionTry it

Describe API Key Signup

Return instructions and the proof-of-work challenge for creating a free Screwtape API key. This operation does not create a key.

ActionTry it

Describe Free API Key Signup

Return instructions and the proof-of-work challenge for creating a free Screwtape API key. This operation does not create a key.

ActionTry it

Export Spend Books

Export charges for the connected key as agent spend-book rows grouped by agent, seller, vendor, UTC day, and product category in QuickBooks CSV, Xero CSV, or JSON format.

ActionTry it

Export Verdict Receipts

Export one cursor-controlled page of signed verdict receipts as a downloadable JSONL, CSV, or JSON audit file. Pass the returned cursor to continue.

ActionTry it

Get Account Settings

Read retention, anonymous-statistics contribution, and drift-alert webhook settings. The stored webhook signing secret is not returned.

ActionTry it

Get Action Receipt Key

Get the public Ed25519 key used to verify Screwtape action receipts. Signatures cover sorted-key canonical JSON of every receipt field except signature.

ActionTry it

Get BYOM Settings

Get Bring-Your-Own-Model provider, model, key suffix, and error policy for the connected Screwtape API key. The saved provider API key is never returned. BYOM is off unless Screwtape enables it; deterministic checks and per-call billing still apply.

ActionTry it

Get Current Key Usage

Return safe metadata, metered-call usage, daily quota, and credit balance for the connected Screwtape API key without revealing its secret.

ActionTry it

Get Data-Sharing Setting

Read the connected key's opt-in data-sharing state, consent metadata, stored sample count, and redaction and retention policy. Data sharing is off by default.

ActionTry it

Get Drift Alerts

List recent drift alerts for the connected key. Each alert identifies the agent, metric, and send time; tasks and outputs are not included.

ActionTry it

Get Drift Report

Return daily verdict counts and rates for up to 90 days, the previous 30-day baseline, and the latest 24 hours for the connected key.

ActionTry it

Get Payment Guard Account Rules

Read the account-default spend rules used by Screwtape Payment Guard.

ActionTry it

Get Payment Guard Rules

Read the spend rules set for the connected Screwtape API key and the effective rules used by Payment Guard.

ActionTry it

Get Receipt Keys

Get the public Ed25519 keys used to verify verdict receipts, including retired keys retained for older exports. No private key is returned.

ActionTry it

Get Retained Call

Replay one retained call, including its stored request, result, and signed receipt when still available; optionally re-check the receipt signature.

ActionTry it

Get Status

Get measured one-hour and 24-hour endpoint latency, uptime, rate limits, and cached x402 facilitator health for Screwtape.

ActionTry it

Get Status JSON

Get the JSON status document containing one-hour and 24-hour endpoint latency, uptime, rate limits, and cached x402 facilitator health.

ActionTry it

Judge Output

Judge one agent output against its task, evidence, criteria, and optional deterministic checks, returning a pass, fail, or retry verdict and a signed receipt when issued. It can retain submitted content when requested.

ActionTry it

List Retained Calls

Return the 20 newest judge and consensus calls that the connected key chose to retain. Calls not submitted with retain=true are never included.

ActionTry it

List Verdict Receipts

List one page of signed verdict receipts stored for the connected API key, with optional date filters and an agent-controlled continuation cursor.

ActionTry it

Publish Receipt

Publish one signed receipt owned by the connected key and return its public page, badge, and embed snippets. Republishing retains the same public ID.

ActionTry it

Replay Decision

Re-run invoice rules against retained evidence using the original or current policy version. No model is called and the replay is not billed.

ActionTry it

Reserve Budget

Reserve one spend event against a shared agent-run cap and return whether it is allowed, duplicated, retried, or anomalous. The reservation is persistent; reuse event_id only to intentionally replay the same event.

ActionTry it

Score Consensus

Compare 2-16 agent answers for agreement and false-consensus risk, returning a consensus answer, clusters, reasons, and a signed receipt when issued. It can retain submitted content when requested.

ActionTry it

Score Seller Trust

Assess whether a paying agent looks abusive or risky before accepting payment, using network history and optionally contributed observations or seller-computed counts.

ActionTry it

Send Verdict Feedback

Record whether the verdict on one call made by the connected key was correct. The first submission is stored and later submissions replace it; judged text is never stored and notes are automatically redacted.

ActionTry it

Set BYOM Settings

Set or rotate Bring-Your-Own-Model provider settings for the connected Screwtape API key. Screwtape AES-GCM encrypts the provider key at rest and never logs it. Unknown models require custom=true. The default error policy is deny, which fails closed for payment decisions.

ActionTry it

Set Data-Sharing Setting

Turn opt-in data sharing on or off for the connected key. Disabling it deletes all stored samples immediately. Call this only when the user explicitly asks.

ActionTry it

Set Payment Guard Account Rules

Set the account-default spend rules used by Screwtape Payment Guard. Key-specific rules take precedence. This endpoint is free.

ActionTry it

Set Payment Guard Rules

Set spend rules for the connected Screwtape API key. Key-specific rules override account-default rules. This endpoint is free.

ActionTry it

Start PayPal Checkout

Start a PayPal card checkout for the $100 Sandbox Evaluation Pack, which provides 2,000 standard checks for 30 days and may be purchased once per customer. This action creates a new key for the supplied email; it never asks an agent to provide an existing API key.

ActionTry it

Submit Enterprise Inquiry

Submit contact details and a message to ask Screwtape about enterprise pricing. This stores the supplied personal contact information.

ActionTry it

Try Check

Run Screwtape's deterministic, no-key invoice sample for a duplicate, clean, or bad-total scenario. This demo does not call a model, store a fingerprint, issue a receipt, or make a paid call.

ActionTry it

Unpublish Receipt

Remove the public page and badge for one receipt published by the connected key. Receipts published by another key are not exposed.

ActionTry it

Update Account Settings

Update retention, anonymous-statistics contribution, or the drift-alert webhook. Omitted fields remain unchanged; existing rows keep their expiry.

ActionTry it

Verify Action Receipt

Verify an action receipt by its Screwtape receipt ID or by a portable receipt object, including its hash-chain link. Provide exactly one input; portable objects are serialized into the provider's receipt query parameter.

ActionTry it

Verify Verdict Receipt

Verify the Ed25519 signature of a verdict receipt returned by Screwtape judge or consensus without storing it.

ActionTry it

How the Screwtape integration works

The Screwtape integration connects Dench directly to Screwtape, so agents can read and act on your Screwtape data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

49 actions are available for agents to invoke on your behalf. Every call runs through Screwtape's own authorization, scoped to the account you connect.

Set up Screwtape in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find Screwtape and click Connect — you'll authorize access through Screwtape's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use Screwtape in chat, or call it from an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the Screwtape integration work with Dench?

The Dench Screwtape integration connects your AI CRM to Screwtape, so AI agents can work with your Screwtape data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with Screwtape via Dench?

The Screwtape integration currently exposes 49 actions, including Authorize Payment With Payment Guard, Check Duplicate Invoice, Check Payment, Create Action Receipt, Create Free API Key, and Create Free API Key via Keys Endpoint. Agents invoke them on your behalf from chat or from automations.

Do I need to write code to connect Screwtape to Dench?

No. You connect Screwtape from your Dench workspace using Screwtape's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the Screwtape integration secure?

Connections are authorized through Screwtape's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Screwtape connection from your workspace settings at any time.