Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ’ป Developer Tools
  3. Drain MCP
Drain MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 9:01:30 PM

Drain MCP

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe havenโ€™t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time โ€” check back soon.
View Repository2 GitHub StarsTotal stargazers on GitHub for the source repository (2 stars).Visit Website

Pay for AI inference with USDC micropayments on Polygon. No API keys needed.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "drain-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "drain-mcp"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives๐Ÿ’ป More in Developer Tools

Documentation Overview

DRAIN

DRAIN Logo

Decentralized Runtime for AI Networks

An open protocol for trustless, streaming micropayments between AI consumers and providers.

License: MIT PRs Welcome ERC-8190

ERC-8190: This protocol is being formalized as an Ethereum standard โ€” Payment Channels with Signed Vouchers. The ERC defines the minimal interface for unidirectional payment channels using EIP-712 signed vouchers, complementary to ERC-8183 (Agentic Commerce).


โšก Superior to Per-Request-Providers.

Code
โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘                           1000 AI REQUESTS                                   โ•‘
โ• โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ฃ
โ•‘                                                                              โ•‘
โ•‘   DRAIN              โ”‚  Per-Request Payments (x402, etc.)                    โ•‘
โ•‘   โ”€โ”€โ”€โ”€โ”€              โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€                     โ•‘
โ•‘   2 transactions     โ”‚  1000 transactions                                    โ•‘
โ•‘   ~$0.04 gas         โ”‚  ~$20+ gas                                            โ•‘
โ•‘   0ms latency        โ”‚  2-5 sec per request                                  โ•‘
โ•‘   1 wallet popup     โ”‚  1000 wallet popups (or API key)                      โ•‘
โ•‘                                                                              โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
๐Ÿฆ 2 On-Chain TXsโšก Zero Latency๐Ÿ’ธ ~$0.04 Total Gas๐Ÿ” No API Keys
Open + Close onlyOff-chain vouchers500x cheaper at scaleCryptographic auth

Why DRAIN?

Existing decentralized AI protocols require holding volatile tokens, creating speculation dynamics that overwhelm utility. Meanwhile, 78% of the world lacks credit cards, and AI agents can't have bank accounts.

DRAIN fills this gap: stablecoin micropayments without tokens, complexity, or intermediaries.

ProblemDRAIN Solution
Token volatilityUSDC-only, predictable pricing
High fees~$0.02 per tx on Polygon (varies: $0.015-0.025)
AI agents can't payFirst-class programmatic support
Credit card barriersPermissionless crypto access

Overview

DRAIN enables permissionless, pay-per-token AI inference without intermediaries. Users open payment channels with USDC, stream requests to any compatible provider, and settle on-chain only when needed.

Core Principles:

  • Minimal โ€“ The protocol defines only what's necessary
  • Permissionless โ€“ Anyone can be a provider or consumer
  • Trustless โ€“ Cryptography replaces trust
  • Immutable โ€“ No admin keys, no upgrades, no fees

How It Works

DRAIN is like a prepaid card for AI: deposit USDC, use it across requests, withdraw the remainder.

DRAIN Protocol Overview
Code
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                        Off-Chain (Fast & Free)                   โ”‚
โ”‚                                                                  โ”‚
โ”‚    Consumer                                      Provider        โ”‚
โ”‚        โ”‚                                             โ”‚           โ”‚
โ”‚        โ”‚โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Request + Voucher โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚           โ”‚
โ”‚        โ”‚โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ AI Response โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”‚           โ”‚
โ”‚        โ”‚โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Request + Voucher โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚           โ”‚
โ”‚        โ”‚โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ AI Response โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”‚           โ”‚
โ”‚        โ”‚                    ...                      โ”‚           โ”‚
โ”‚                                                                  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚                                             โ”‚
         โ”‚              On-Chain (Rare)                โ”‚
         โ–ผ                                             โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                        DRAIN Contract                            โ”‚
โ”‚                                                                  โ”‚
โ”‚     open(provider, amount, duration)    โ†’  Lock USDC             โ”‚
โ”‚     claim(channelId, amount, signature) โ†’  Pay provider          โ”‚
โ”‚     close(channelId)                    โ†’  Refund remainder      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

The Two Roles

RoleWhat They DoOn-Chain Actions
ConsumerPays for AI servicesopen (deposit), close (refund)
ProviderDelivers AI responsesclaim (withdraw earnings)

Consumer Flow

  1. Open Channel: Deposit USDC for a specific provider and duration (~$0.02 gas, ~5 sec finality)
  2. Use Service: Send requests with signed vouchers (free, off-chain, $0.000005 per request)
  3. Close Channel: Withdraw unused USDC after expiry (~$0.02 gas, ~5 sec finality)

Provider Flow

  1. Receive Request: Validate voucher signature and amount
  2. Deliver Service: Return AI response
  3. Claim Payment: Submit highest voucher to get paid (~$0.02 gas, ~5 sec finality)

Channel Duration & Provider Protection

The consumer sets the channel duration when opening (e.g., 24h). But providers control their requirements:

Provider Can...How
Require minimum durationReject vouchers from channels < X hours
Recommend durationDocument in API: "We recommend 24h channels"
Claim anytimeNo deadline until consumer calls close()

Key insight: Even after channel expiry, the provider can claim as long as the consumer hasn't closed. The consumer must actively call close() โ€“ it's not automatic.

Vouchers Are Cumulative

Each voucher contains the total amount spent, not the increment:

Code
Request 1: voucher.amount = $0.10  (total spent so far)
Request 2: voucher.amount = $0.25  (total, not $0.15 increment)
Request 3: voucher.amount = $0.40  (total, not $0.15 increment)

Provider only needs to claim the last voucher to receive full payment.

Payment Currency

AssetNetworkWhy
USDCPolygonStable ($1), liquid ($500M+), low fees (~$0.02/tx, varies: $0.015-0.025)

USDC on Polygon can be bridged from Ethereum, Base, Arbitrum via Circle CCTP.

Handshake58 Marketplace

The official DRAIN marketplace is Handshake58 - a provider directory where AI agents can discover and pay for AI inference.

LinkDescription
https://www.handshake58.comMain marketplace
https://www.handshake58.com/for-agentsQuick start for AI agents
https://www.handshake58.com/api/mcp/providersProvider discovery API

For AI Agents

Install the MCP Server and start using AI with crypto payments:

Terminal
npm install -g drain-mcp

Configure in Claude Desktop or Cursor:

config.json
{
  "mcpServers": {
    "drain": {
      "command": "drain-mcp",
      "env": {
        "DRAIN_PRIVATE_KEY": "your-polygon-wallet-key"
      }
    }
  }
}

That's it! The MCP server auto-discovers providers from Handshake58.

Agent-Oriented Endpoints

URLPurpose
/for-agentsStatic, crawlable agent page
/api/agentQuick discovery JSON
/llms.txt25-line agent instruction
/skill.mdFull documentation (MCP first)

Protocol Specification (ERC-8190)

DRAIN implements ERC-8190: Payment Channels with Signed Vouchers โ€” an Ethereum standard for streaming micropayments via EIP-712 signed vouchers.

ComponentDescriptionStandard
Smart ContractEscrow and settlement logic (IPaymentChannel)ERC-8190 (normative)
Voucher FormatEIP-712 typed signatures for off-chain paymentsERC-8190 (normative)
Service InteractionHTTP 402 discovery, cost reporting, error codesERC-8190 (RECOMMENDED)
API StandardOpenAI-compatible interface with payment headersApplication layer

The protocol intentionally excludes provider discovery, reputation systems, dispute resolution, and governance. See ERC-8183 (Agentic Commerce) and ERC-8004 (Trustless Agents) for complementary standards.

Full specification: See contracts/ for the Solidity implementation and the ERC-8190 draft for the formal standard.

Security Model

PartyProtected AgainstHow
ConsumerOverchargingOnly signs amounts they agree to
ConsumerNon-deliveryStops signing, refunds after expiry
ProviderOverspendingamount โ‰ค deposit enforced on-chain
ProviderDouble-spendUSDC locked in contract, not wallet

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • Ignite UI MCP Server logoIgnite UI MCP Server

    Unified MCP server for Ignite UI โ€” documentation, API, and CLI scaffolding

    ๐Ÿ’ป Developer Tools1 views
    Compare vs Ignite UI MCP Server โ†’
  • MCP Server Taiwan Weather logoMCP Server Taiwan Weather

    ็”จๆ–ผๅ–ๅพ—่‡บ็ฃไธญๅคฎๆฐฃ่ฑก็ฝฒ API ่ณ‡ๆ–™็š„ Model Context Protocol (MCP) Server

    ๐Ÿ’ป Developer Tools0 views
    Compare vs MCP Server Taiwan Weather โ†’
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    ๐Ÿ’ป Developer Tools1 views
    Compare vs PraisonAI โ†’
  • Open Notebook logoOpen Notebook

    MCP server that wraps the Open Notebook API

    ๐Ÿ’ป Developer Tools0 views
    Compare vs Open Notebook โ†’

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Drain MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "drain-mcp": { "command": "npx", "args": ["-y", "drain-mcp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDrain MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/drain-mcp?style=directory)](https://allmcps.com/mcp/drain-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/drain-mcp"><img src="https://allmcps.com/api/badge/drain-mcp?style=directory" alt="Drain MCP on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ’ปDeveloper Tools
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars2
GitHub Star CountTotal stargazers on GitHub representing community popularity (2 stars).
36Quality signal: Fair ยท 36/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools15/30
Adoption & activity2/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ’ป Developer Tools โ†’Best MCP servers for Developers โ†’Alternatives to Drain MCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code