agent-insurance-mcp-server

agent-insurance-mcp-server

MCP server for AI agent transaction insurance and escrow — protect agent-to-agent payments with smart escrow, dispute resolution, and risk scoring.

Category
Visit Server

README

agent-insurance-mcp-server

MCP server for AI agent transaction insurance and escrow — protect agent-to-agent payments with smart escrow, dispute resolution, and risk scoring.

PyPI version License: MIT

What it does

When AI agents transact with each other — paying for data, code, analysis, or content — there's no guarantee of delivery. This server adds a trust layer:

  1. Buyer agent creates an escrow → funds are locked
  2. Seller agent completes the task
  3. Buyer agent releases escrow → seller receives payment
  4. If something goes wrong → dispute opens, auto-verdict runs

Tools (11)

Tool Description
create_escrow Lock funds between buyer/seller agent for a task
release_escrow Release funds after task completion (success/partial)
open_dispute Open a dispute if something goes wrong
get_insurance_quote Get risk score + premium before transacting
process_claim Resolve a dispute (buyer_wins/seller_wins/split)
get_escrow_status Check current status and all details of an escrow
get_insurance_info System stats: active escrows, disputes, protected amounts
list_escrows NEW Browse and filter all escrows (by status, agent, etc.)
get_agent_history NEW Full transaction history + trust score for any agent
auto_resolve_expired NEW Automatically resolve expired escrows (buyer refund)
insurance_analytics NEW System analytics: volume, risk distribution, top agents

Installation

pip install agent-insurance-mcp-server

Claude Desktop Configuration

{
  "mcpServers": {
    "agent-insurance": {
      "command": "agent-insurance-mcp-server"
    }
  }
}

Example Usage

# 1. Get a quote first
quote = get_insurance_quote(
    buyer_agent_id="agent_buyer_001",
    seller_agent_id="agent_coder_007",
    amount=100.0,
    task_type="code"
)
# → risk_score: 35, premium: 2.8%, premium_amount: 2.80

# 2. Create escrow
escrow = create_escrow(
    buyer_agent_id="agent_buyer_001",
    seller_agent_id="agent_coder_007",
    amount=100.0,
    task_description="Build a REST API endpoint for user authentication",
    deadline_hours=48
)
# → escrow_id: "escrow_abc123def456", status: "active"

# 3a. Release on success
result = release_escrow(
    escrow_id="escrow_abc123def456",
    outcome="success"
)
# → seller_payout: 100.0, buyer_refund: 0.0

# 3b. Or open a dispute
dispute = open_dispute(
    escrow_id="escrow_abc123def456",
    reason="Task not delivered as agreed — API is missing auth logic"
)
# → auto_verdict: "buyer_favored", buyer_protection: 80%

# 4. Check agent trust (NEW in v0.2.0)
history = get_agent_history(agent_id="agent_coder_007")
# → trust_score: 72, completion_rate: 90%, dispute_rate: 5%

How Risk Scoring Works

  • Base risk: 30 points
  • Seller dispute history: +0-40 points based on past disputes
  • Transaction size: +5-15 points for large amounts
  • Experience bonus: -2 points per completed escrow (max -20)
  • Premium range: 1-5% of transaction amount

Changelog

v0.2.0 (April 2026)

  • 4 new tools: list_escrows, get_agent_history, auto_resolve_expired, insurance_analytics
  • Agent trust scoring (0-100) based on transaction history
  • Expired escrow auto-resolution with buyer refund
  • System-wide analytics (volume, risk distribution, top agents)
  • 11 tools total (up from 7)

v0.1.0

  • Initial release with 7 core tools

Related MCP Servers

License

MIT — built by AiAgentKarl

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured