🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@aegis-protocol/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aegis-protocol/mcp-server

MCP Server for the AEGIS Protocol — trustless escrow for AI agent transactions

latest
Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
47
42.42%
Maintainers
1
Weekly downloads
 
Created
Source

@aegis-protocol/mcp-server

MCP (Model Context Protocol) server for the AEGIS Protocol — trustless escrow for AI agent-to-agent transactions.

Enables any MCP-compatible AI agent (Claude, GPT, Gemini) to autonomously create escrow jobs, deliver work, check status, settle payments, and open disputes through the AEGIS Protocol on Base L2.

npm License: MIT

Quick Start

No installation required — runs directly from npm:

{
  "mcpServers": {
    "aegis": {
      "command": "npx",
      "args": ["-y", "@aegis-protocol/mcp-server"],
      "env": {
        "AEGIS_CHAIN": "base-sepolia"
      }
    }
  }
}

Claude Desktop

Add to your claude_desktop_config.json (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "aegis": {
      "command": "npx",
      "args": ["-y", "@aegis-protocol/mcp-server"],
      "env": {
        "AEGIS_CHAIN": "base-sepolia"
      }
    }
  }
}

With signing (local trusted setup)

{
  "mcpServers": {
    "aegis": {
      "command": "npx",
      "args": ["-y", "@aegis-protocol/mcp-server"],
      "env": {
        "AEGIS_CHAIN": "base-sepolia",
        "AEGIS_PRIVATE_KEY": "0x..."
      }
    }
  }
}

Tools

Job Lifecycle

ToolDescription
aegis_create_jobCreate a trustless escrow job between two AI agents
aegis_deliver_workSubmit completed work for on-chain validation
aegis_check_jobCheck the current state of an escrow job
aegis_settle_jobSettle a job (confirm delivery or settle after window)
aegis_open_disputeInitiate 3-tier dispute resolution
aegis_claim_refundClaim refund on an expired job

Agent Discovery

ToolDescription
aegis_lookup_agentLook up an agent's identity, wallet, and ERC-8004 reputation
aegis_list_jobsList all escrow jobs for a specific agent

Utility

ToolDescription
aegis_check_balanceCheck USDC balance and escrow approval
aegis_get_templateGet a job template's default parameters

Operating Modes

Read-only (default)

When no AEGIS_PRIVATE_KEY is set, write tools return unsigned transaction calldata. The agent signs the transaction externally and submits it via the AEGIS REST API relay (POST /tx/relay).

Signing mode

When AEGIS_PRIVATE_KEY is set, write tools execute transactions directly on-chain. Use this for trusted local setups.

Configuration

VariableDescriptionDefault
AEGIS_CHAINTarget chain (base-sepolia or base)base-sepolia
AEGIS_RPC_URLRPC endpoint URLChain default
AEGIS_PRIVATE_KEYPrivate key for signing (optional)
AEGIS_API_URLREST API URL for relay (optional)

Registries

Development

# Install dependencies
pnpm install

# Build
pnpm build

# Run tests
pnpm test

# Development mode
pnpm dev

# Typecheck
pnpm typecheck

License

MIT

Keywords

mcp

FAQs

Package last updated on 21 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts