How to connect Screwtape to Claude

Connect Claude Web, Desktop and Cowork to Screwtape MCP. Check this agent output for policy violations, verify payment against the approved budget, and more using natural language, with authentication handled for you.

Screwtape logoScrewtape
Api Key

Screwtape is an agent governance service that checks outputs, budgets, payments, and invoices. It issues signed receipts that make automated actions easier to audit and verify.

49 Tools

Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.

This guide walks you through the easiest and most secure way to connect your Screwtape account to Claude via Composio Connect, enabling it to check this agent output for policy violations, verify payment against the approved budget, find duplicate invoices and issue receipts, and more such actions on your behalf without compromising your account security.

Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Screwtape with

Connecting Screwtape to Claude Web, Desktop, and Cowork

Two ways to add the Composio connector. Pick whichever you prefer.

1. Add with one click

Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.

Add to Claude

Add manually

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

2. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Web, Desktop, and Cowork

3. Connect your Screwtape account

Back in Claude, ask it to connect to Screwtape or give it any Screwtape-related task.

For example, ask Claude to:

  • "Check this agent output for policy violations"
  • "Verify payment against the approved budget"
  • "Find duplicate invoices and issue receipts"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Claude, and your Screwtape account is ready to use.

What is the Screwtape Claude Connector, and what's possible with it?

The Screwtape MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Screwtape account. It provides structured and secure access to output judgments, consensus scoring, payment and budget controls, duplicate invoice checks, and signed receipts, so your agent can evaluate work, compare agent answers, control spending, detect duplicate invoices, and maintain verifiable audit records on your behalf.

  • Agent output evaluation: Have your agent judge an output against its task, evidence, criteria, and deterministic checks, then return a pass, fail, or retry verdict with a signed receipt when issued.
  • Consensus and reliability checks: Let the agent compare two to sixteen answers for agreement and false-consensus risk, then review the consensus answer, answer clusters, reasons, and signed receipt when issued.
  • Budget and payment controls: Direct your agent to reserve budget, apply spend rules to payment intents, and assess payment context with an allow, review, or block verdict when a signed receipt is issued.
  • Invoice and decision review: Instruct your agent to check invoices for duplicates before payment and replay invoice decisions against retained evidence using the original or current policy.
  • Verifiable audit records: Have your agent create, publish, list, export, and verify signed action or verdict receipts, while reviewing retained calls, usage, drift reports, and account settings.

Troubleshooting

1. Why does Claude not use the Composio connector for Screwtape?

The connector can show as connected, but Claude must use it in each Screwtape conversation.

  • Click + at the lower left of the chat, or type /.
  • Hover Connectors.
  • Turn on Composio.
  • Ask Claude to connect to Screwtape again.

2. Why does Claude show an MCP server error before Screwtape connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Screwtape.

  • Check that the connector URL is https://connect.composio.dev/mcp.
  • Connectors run from Anthropic's cloud, so your device network is usually not the problem.
  • Add the connector again from Customize > Connectors, then ask Claude to connect Screwtape.
  • If it fails again, send the error and the ofid_ reference id to support@composio.dev.

3. Why does the Screwtape authorization link not work?

The Composio connector is one server. Your Screwtape account connects separately when Claude asks for it.

  • If the browser does not open, or the link expires, ask Claude to retry the Screwtape connection.
  • Composio creates a fresh Screwtape authorization link.
  • Open that link in your browser and finish the Screwtape sign-in.

4. Why do Screwtape actions fail after they worked before?

The Screwtape connection can expire or lose permission.

  • Ask Claude to inspect the Screwtape connection.
  • If the connection is unhealthy, disconnect it when Claude prompts you.
  • Reconnect the Screwtape account and retry the action.
  • If Claude shows a permission prompt, approve it before Claude changes data in Screwtape.
  • If the action still fails with a permission error, check that the connected account has that permission in Screwtape itself.

5. How do I switch to a different Screwtape account?

Claude can manage the Screwtape connection for you.

  • Ask Claude to disconnect or delete the current Screwtape account.
  • Ask Claude to connect Screwtape again.
  • Open the new Composio authorization link for Screwtape.
  • Sign in with the other Screwtape account in the browser.
  • After the account connects, ask Claude to retry the Screwtape task.

6. Why is my Screwtape connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Screwtape connection works in Claude Web, Desktop, and Cowork.

  • In Claude Desktop, open Customize > Connectors.
  • Next to Composio, click ⋮ and click Clear cache.
  • If Screwtape tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
  • On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Screwtape.
TOOLS

Supported Tools

Every Screwtape action and event your agent gets out of the box.

Authorize Payment With Payment Guard

Apply the connected key's effective spend rules to a payment intent.

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.

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.

Create Action Receipt

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

Create Free API Key

Create a free-tier Screwtape API key with 10 calls per UTC day.

Create Free API Key via Keys Endpoint

Create a free-tier Screwtape API key, optionally using proof of work for higher signup limits.

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.

Delete BYOM Settings

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

Delete Current API Key and Data

Permanently and irreversibly delete the connected API key hash, counters, payments, retained judgments, shared samples, and feedback.

Delete Duplicate Fingerprints

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

Delete Receipt Evidence

Delete retained evidence for one receipt while preserving the signed receipt.

Delete Retained Call

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

Describe API Key Signup

Return instructions and the proof-of-work challenge for creating a free Screwtape API key.

Describe Free API Key Signup

Return instructions and the proof-of-work challenge for creating a free Screwtape API key.

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.

Export Verdict Receipts

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

Get Account Settings

Read retention, anonymous-statistics contribution, and drift-alert webhook settings.

Get BYOM Settings

Get Bring-Your-Own-Model provider, model, key suffix, and error policy for the connected Screwtape API key.

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.

Get Data-Sharing Setting

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

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.

Get Drift Alerts

List recent drift alerts for the connected key.

Get Payment Guard Account Rules

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

Get Payment Guard Rules

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

Get Action Receipt Key

Get the public Ed25519 key used to verify Screwtape action receipts.

Get Receipt Keys

Get the public Ed25519 keys used to verify verdict receipts, including retired keys retained for older exports.

Get Retained Call

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

Get Status

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

Get Status JSON

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

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.

List Retained Calls

Return the 20 newest judge and consensus calls that the connected key chose to retain.

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.

Update Account Settings

Update retention, anonymous-statistics contribution, or the drift-alert webhook.

Publish Receipt

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

Set BYOM Settings

Set or rotate Bring-Your-Own-Model provider settings for the connected Screwtape API key.

Set Payment Guard Account Rules

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

Set Payment Guard Rules

Set spend rules for the connected Screwtape API key.

Replay Decision

Re-run invoice rules against retained evidence using the original or current policy version.

Reserve Budget

Reserve one spend event against a shared agent-run cap and return whether it is allowed, duplicated, retried, or anomalous.

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.

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.

Send Verdict Feedback

Record whether the verdict on one call made by the connected key was correct.

Set Data-Sharing Setting

Turn opt-in data sharing on or off for the connected key.

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.

Submit Enterprise Inquiry

Submit contact details and a message to ask Screwtape about enterprise pricing.

Try Check

Run Screwtape's deterministic, no-key invoice sample for a duplicate, clean, or bad-total scenario.

Unpublish Receipt

Remove the public page and badge for one receipt published by the connected key.

Verify Action Receipt

Verify an action receipt by its Screwtape receipt ID or by a portable receipt object, including its hash-chain link.

Verify Verdict Receipt

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

FRAMEWORKS

How to build Screwtape MCP Agent with another framework

FAQ

Frequently asked questions

Start with Screwtape.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Screwtape tool your agent needs.Free to start.

Start building