# How to connect Screwtape to Claude

```json
{
  "title": "How to connect Screwtape to Claude",
  "toolkit": "Screwtape",
  "toolkit_slug": "screwtape",
  "framework": "Claude Cowork",
  "framework_slug": "claude-cowork",
  "url": "https://composio.dev/toolkits/screwtape/framework/claude-cowork",
  "markdown_url": "https://composio.dev/toolkits/screwtape/framework/claude-cowork.md",
  "updated_at": "2026-11-30T05:43:41.412Z"
}
```

## 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](https://docs.composio.dev/toolkits/screwtape).

## Also integrate Screwtape with

- [ChatGPT](https://composio.dev/toolkits/screwtape/framework/chatgpt)

## Connect Screwtape to Claude Cowork

### 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](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Composio&connectorUrl=https%3A%2F%2Fconnect.composio.dev%2Fmcp)
### Add manually
In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.
Click Add custom connector and paste in the Composio MCP server URL:

```bash
https://connect.composio.dev/mcp
```

## What is the Screwtape MCP server, 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.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `SCREWTAPE_AUTHORIZE_PAYMENT_GUARD` | 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. |
| `SCREWTAPE_CHECK_DUPLICATE_INVOICE` | 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. |
| `SCREWTAPE_CHECK_PAYMENT` | 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. |
| `SCREWTAPE_CREATE_ACTION_RECEIPT` | Create Action Receipt | Create an Ed25519-signed, hash-chained receipt for an agent-reported action and status. |
| `SCREWTAPE_CREATE_FREE_KEY` | 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. |
| `SCREWTAPE_CREATE_KEY` | 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. |
| `SCREWTAPE_DELETE_ALL_RETAINED_CALLS` | 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. |
| `SCREWTAPE_DELETE_BYOM_SETTINGS` | Delete BYOM Settings | Delete the Bring-Your-Own-Model settings stored for the connected Screwtape API key, including its encrypted provider credential. |
| `SCREWTAPE_DELETE_CURRENT_KEY` | 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. |
| `SCREWTAPE_DELETE_DUPLICATE_FINGERPRINTS` | Delete Duplicate Fingerprints | Permanently delete every keyed fingerprint that duplicate checks stored for the connected key and return the deleted count. |
| `SCREWTAPE_DELETE_EVIDENCE` | Delete Receipt Evidence | Delete retained evidence for one receipt while preserving the signed receipt. This operation is available to plan keys. |
| `SCREWTAPE_DELETE_RETAINED_CALL` | Delete Retained Call | Permanently delete one retained judge or consensus call by its retention id. |
| `SCREWTAPE_DESCRIBE_KEYS` | 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. |
| `SCREWTAPE_DESCRIBE_SIGNUP` | 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. |
| `SCREWTAPE_EXPORT_SPEND_BOOKS` | 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. |
| `SCREWTAPE_EXPORT_VERDICT_RECEIPTS` | 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. |
| `SCREWTAPE_GET_ACCOUNT_SETTINGS` | Get Account Settings | Read retention, anonymous-statistics contribution, and drift-alert webhook settings. The stored webhook signing secret is not returned. |
| `SCREWTAPE_GET_BYOM_SETTINGS` | 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. |
| `SCREWTAPE_GET_CURRENT_KEY_USAGE` | 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. |
| `SCREWTAPE_GET_DATA_SHARING` | 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. |
| `SCREWTAPE_GET_DRIFT` | 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. |
| `SCREWTAPE_GET_DRIFT_ALERTS` | 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. |
| `SCREWTAPE_GET_PAYMENT_GUARD_ACCOUNT_RULES` | Get Payment Guard Account Rules | Read the account-default spend rules used by Screwtape Payment Guard. |
| `SCREWTAPE_GET_PAYMENT_GUARD_RULES` | Get Payment Guard Rules | Read the spend rules set for the connected Screwtape API key and the effective rules used by Payment Guard. |
| `SCREWTAPE_GET_RECEIPT_KEY` | 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. |
| `SCREWTAPE_GET_RECEIPT_KEYS` | 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. |
| `SCREWTAPE_GET_RETAINED_CALL` | Get Retained Call | Replay one retained call, including its stored request, result, and signed receipt when still available; optionally re-check the receipt signature. |
| `SCREWTAPE_GET_STATUS` | Get Status | Get measured one-hour and 24-hour endpoint latency, uptime, rate limits, and cached x402 facilitator health for Screwtape. |
| `SCREWTAPE_GET_STATUS_JSON` | Get Status JSON | Get the JSON status document containing one-hour and 24-hour endpoint latency, uptime, rate limits, and cached x402 facilitator health. |
| `SCREWTAPE_JUDGE_OUTPUT` | 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. |
| `SCREWTAPE_LIST_RETAINED_CALLS` | 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. |
| `SCREWTAPE_LIST_VERDICT_RECEIPTS` | 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. |
| `SCREWTAPE_PATCH_ACCOUNT_SETTINGS` | Update Account Settings | Update retention, anonymous-statistics contribution, or the drift-alert webhook. Omitted fields remain unchanged; existing rows keep their expiry. |
| `SCREWTAPE_PUBLISH_RECEIPT` | 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. |
| `SCREWTAPE_PUT_BYOM_SETTINGS` | 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. |
| `SCREWTAPE_PUT_PAYMENT_GUARD_ACCOUNT_RULES` | 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. |
| `SCREWTAPE_PUT_PAYMENT_GUARD_RULES` | Set Payment Guard Rules | Set spend rules for the connected Screwtape API key. Key-specific rules override account-default rules. This endpoint is free. |
| `SCREWTAPE_REPLAY_DECISION` | 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. |
| `SCREWTAPE_RESERVE_BUDGET` | 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. |
| `SCREWTAPE_SCORE_CONSENSUS` | 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. |
| `SCREWTAPE_SCORE_SELLER_TRUST` | 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. |
| `SCREWTAPE_SEND_FEEDBACK` | 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. |
| `SCREWTAPE_SET_DATA_SHARING` | 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. |
| `SCREWTAPE_START_PAYPAL_CHECKOUT` | 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. |
| `SCREWTAPE_SUBMIT_ENTERPRISE_INQUIRY` | Submit Enterprise Inquiry | Submit contact details and a message to ask Screwtape about enterprise pricing. This stores the supplied personal contact information. |
| `SCREWTAPE_TRY_CHECK` | 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. |
| `SCREWTAPE_UNPUBLISH_RECEIPT` | Unpublish Receipt | Remove the public page and badge for one receipt published by the connected key. Receipts published by another key are not exposed. |
| `SCREWTAPE_VERIFY_ACTION_RECEIPT` | 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. |
| `SCREWTAPE_VERIFY_VERDICT_RECEIPT` | Verify Verdict Receipt | Verify the Ed25519 signature of a verdict receipt returned by Screwtape judge or consensus without storing it. |

## Supported Triggers

None listed.

## 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.

## Creating MCP Server - Stand-alone vs Composio SDK

The Screwtape MCP server connects Claude Web, Desktop, and Cowork to your Screwtape account through Composio. Once connected, Claude can use the available Screwtape tools and triggers to complete tasks on your behalf.

## Complete Code

None listed.

## How to build Screwtape MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/screwtape/framework/chatgpt)

## Related Toolkits

- [Composio](https://composio.dev/toolkits/composio) - Composio is an integration platform that connects AI agents with hundreds of business tools. It streamlines authentication and lets you trigger actions across services—no custom code needed.
- [Composio search](https://composio.dev/toolkits/composio_search) - Composio search is a unified web search toolkit spanning travel, e-commerce, news, financial markets, images, and more. It lets you and your apps tap into up-to-date web data from a single, easy-to-integrate service.
- [Perplexityai](https://composio.dev/toolkits/perplexityai) - Perplexityai delivers natural, conversational AI models for generating human-like text. Instantly get context-aware, high-quality responses for chat, search, or complex workflows.
- [Browser tool](https://composio.dev/toolkits/browser_tool) - Browser tool is a virtual browser integration that lets AI agents interact with the web programmatically. It enables automated browsing, scraping, and action-taking from any AI workflow.
- [Ai ml api](https://composio.dev/toolkits/ai_ml_api) - Ai ml api is a suite of AI/ML models for natural language and image tasks. It provides fast, scalable access to advanced AI capabilities for your apps and workflows.
- [AI/ML API MCP](https://composio.dev/toolkits/ai_ml_api_mcp) - AI/ML API MCP is a unified gateway to hundreds of AI models and generation APIs. It gives teams one place to compare models, run multimodal jobs, and track usage.
- [Aivoov](https://composio.dev/toolkits/aivoov) - Aivoov is an AI-powered text-to-speech platform offering 1,000+ voices in over 150 languages. Instantly turn written content into natural, human-like audio for any application.
- [All images ai](https://composio.dev/toolkits/all_images_ai) - All-Images.ai is an AI-powered image generation and management platform. It helps you create, search, and organize images effortlessly with advanced AI capabilities.
- [AllModels](https://composio.dev/toolkits/allmodels) - AllModels is a unified API for text-to-speech, speech-to-text, realtime voice, and voice cloning across AI providers. It gives developers one consistent way to build and manage voice features.
- [AltTextLab](https://composio.dev/toolkits/alt_text_lab) - AltTextLab is an AI service that generates accessible, SEO-aware alt text for images. It helps teams make image content easier to understand, index, and publish.
- [Anthropic administrator](https://composio.dev/toolkits/anthropic_administrator) - Anthropic administrator is an API for managing Anthropic organizational resources like members, workspaces, and API keys. It helps you automate admin tasks and streamline resource management across your Anthropic organization.
- [Api labz](https://composio.dev/toolkits/api_labz) - Api labz is a platform offering a suite of AI-driven APIs and workflow tools. It helps developers automate tasks and build smarter, more efficient applications.
- [Apiframe](https://composio.dev/toolkits/apiframe) - Apiframe is an API platform for generating and managing AI images, videos, music, uploads, assets, jobs, and custom LoRAs. It gives developers one clean API for creative AI workflows without juggling multiple model providers.
- [Apipie ai](https://composio.dev/toolkits/apipie_ai) - Apipie ai is an AI model aggregator offering a single API for accessing top AI models from multiple providers. It helps developers build cost-efficient, latency-optimized AI solutions without juggling multiple integrations.
- [Arize AX](https://composio.dev/toolkits/arize_ax) - Arize AX is an AI engineering platform for tracing, evaluating, and improving AI applications. Use it to debug LLM behavior, compare experiments, and improve production AI quality.
- [Artificial Analysis](https://composio.dev/toolkits/artificial_analysis) - Artificial Analysis is an independent benchmarking platform for AI models and API providers. Use it to compare model intelligence, coding, math, pricing, latency, throughput, and arena rankings.
- [AssemblyAI](https://composio.dev/toolkits/assemblyai) - AssemblyAI is a speech-to-text and audio intelligence API for uploaded or hosted media. Use it to turn audio and video into accurate transcripts, summaries, and insights.
- [AssemblyAI MCP](https://composio.dev/toolkits/assemblyai_mcp) - AssemblyAI MCP is a hosted speech-to-text and audio intelligence service for transcribing and analyzing media. It helps teams turn audio and video into searchable, translated, actionable transcripts.
- [Astica ai](https://composio.dev/toolkits/astica_ai) - Astica ai provides APIs for computer vision, NLP, and voice synthesis. Integrate advanced AI features into your app with a single API key.
- [Avoma](https://composio.dev/toolkits/avoma) - Avoma is an AI meeting assistant for recording, transcribing, analyzing, and managing meetings, calls, notes, scorecards, and conversation intelligence. It helps teams turn conversations into searchable notes, follow-ups, coaching insights, and revenue intelligence.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Screwtape MCP?

With a standalone Screwtape MCP server, the agents and LLMs can only access a fixed set of Screwtape tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Screwtape and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Claude Cowork?

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Screwtape tools.

### Can I manage the permissions and scopes for Screwtape while using Tool Router?

Yes, absolutely. You can configure which Screwtape scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Screwtape data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
