AsterPay KYA Hook — ERC-8183 Integration
MCP serverAI & modelsasterpay lets an AI pay for things in euros while you keep control through spending budgets. It adds trust to agent commerce with know-your-agent (KYA) checks and merchant discovery. Once added, your AI can handle payments and purchases within the limits you set.
Use AsterPay KYA Hook — ERC-8183 Integration in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add AsterPay KYA Hook — ERC-8183 Integration and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use AsterPay KYA Hook to check agent trust
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
Details
Available today. Use it from your connected AI after setup.
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
Add asterpay, set a budget, and then ask your AI to find a merchant or make a payment. The source is available at github.com/asterpay/erc8183-kya-hook.
What your AI can do with it
- Pay and settle in euros
- Set spending budgets for purchases
- Run KYA (know-your-agent) checks
- Discover merchants to buy from
- Use 22 tools covering agent commerce
Install AsterPay KYA Hook — ERC-8183 Integration
The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.
Claude Code
claude mcp add --transport http --scope user asterpay-kya-hook-erc-8183-integ 'https://mcp-api.asterpay.io/mcp'Run it once in your project, then open /mcp to approve any sign-in the server asks for.
Claude Desktop
https://mcp-api.asterpay.io/mcpAdd a custom connector in Settings, paste this address, and approve the sign-in.
Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=asterpay-kya-hook-erc-8183-integ&config=eyJ1cmwiOiJodHRwczovL21jcC1hcGkuYXN0ZXJwYXkuaW8vbWNwIn0=Open the link and Cursor adds the server at that address.
ChatGPT
https://mcp-api.asterpay.io/mcpIn Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.
Codex
codex mcp add asterpay-kya-hook-erc-8183-integ --url 'https://mcp-api.asterpay.io/mcp'Run it once, then sign in with codex mcp login asterpay-kya-hook-erc-8183-integ if the server asks for an account.
From the project's README
As published by asterpay/erc8183-kya-hook in README.md.
Know Your Agent (KYA) verification gate for Agentic Commerce jobs.
This hook implements the IACPHook interface to enforce AsterPay's 5-layer Trust Framework before AI agents can participate in ERC-8183 commerce jobs.
How It Works
Client creates job with hook = AsterPayKYAHook
│
▼
┌──── setProvider() ────┐
│ beforeAction: │
│ ✓ Sanctions Oracle │
│ ✓ Trust Score ≥ N │
│ ✓ Score freshness │
└───────────────────────┘
│
▼
┌──────── fund() ───────┐
│ beforeAction: │
│ ✓ Same KYA checks │
│ ✓ Cache result │
└───────────────────────┘
│
provider works...
│
┌─────── complete() ────┐
│ afterAction: │
│ → ReputationPositive │
└───────────────────────┘
Architecture
| Contract | Purpose |
|---|---|
AsterPayKYAHook.sol | Main hook — sanctions + trust score gate |
IACPHook.sol | ERC-8183 hook interface |
IAgenticCommerce.sol | Read-only ACP job interface |
IAgentTrustScore.sol | AsterPay trust score oracle interface |
ISanctionsOracle.sol | Chainalysis oracle interface |
Checks Performed
- Sanctions screening — Chainalysis Oracle on Base (OFAC, EU, UN). Fail-closed if oracle unreachable.
- Trust Score — Agent must have score ≥
minTrustScore(default: 20 = verified tier) - Score freshness — Score must be updated within
maxScoreAgeseconds (default: 3600) - Tier validation — Agent must not be in "blocked" tier
Quick Start
Deploy
cd contracts/erc8183-kya-hook
# Install Foundry deps
forge install
# Deploy to Base Sepolia
ACP_ADDRESS=0x... \
TRUST_ORACLE_ADDRESS=0x... \
forge script script/Deploy.s.sol:DeployKYAHook \
--rpc-url base_sepolia --broadcast --verify
Test
forge test -vvv
TypeScript SDK
import { createKYAHookSDK } from './ts-sdk/kya-hook';
import { ethers } from 'ethers';
const provider = new ethers.JsonRpcProvider('https://mainnet.base.org');
const signer = new ethers.Wallet(PRIVATE_KEY, provider);
const sdk = createKYAHookSDK(HOOK_ADDRESS, ACP_ADDRESS, signer);
// Pre-flight check
const result = await sdk.wouldPass('0xAgentWallet...');
console.log(result);
// { passes: true, score: 42, tier: 'verified', sanctionsClear: true }
// Create a KYA-protected job
const jobId = await sdk.createJobWithKYA({
provider: '0xAgentWallet...',
evaluator: '0xEvaluator...',
expiredAt: Math.floor(Date.now() / 1000) + 86400,
description: 'Translate document EN→FR',
});
// Fund triggers KYA check automatically
await sdk.fundJob(jobId, 100n);
Configuration
| Parameter | Default | Description |
|---|---|---|
minTrustScore | 20 | Minimum score (0-100). 20 = verified tier |
maxScoreAge | 3600 | Max seconds since last score update |
sanctionsEnabled | true | Enable Chainalysis screening |
All configurable by contract owner via setMinTrustScore(), setMaxScoreAge(), setSanctionsEnabled().
Events
| Event | When | Use |
|---|---|---|
KYAVerified | Agent passes all checks | Index verified agents |
KYABlocked | Agent fails any check | Alert, compliance logging |
ReputationPositive | Job completed | Feed into ERC-8004 reputation |
ReputationNegative | Job rejected | Feed into ERC-8004 reputation |
License
MIT (hook contract) / CC0 (interfaces aligned with ERC-8183 and EIP-Agent Trust Score)
Tools it offers (4)
What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.
check_agent_trustsettlement_estimatemarket_ratesmerchant_resolve
Signals
- GitHub stars
- 1
- Last commit
- Mar 2026
Advanced
- Delivery
- asterpay MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
io-asterpay-asterpay- Source
- github.com/asterpay/erc8183-kya-hook
- Hosted endpoint
https://mcp-api.asterpay.io/mcp
github.com/asterpay/erc8183-kya-hook
More in AI & models
MCP server · upstash
More in AI & modelsAdButler
MCP server · adbutler
More in AI & modelsatom-mcp-server
MCP server · a7om-ai
More in AI & modelsottasia
MCP server · aiweather-anurag
More in AI & modelsunphurl
MCP server · 123ergo
More in AI & modelsmicrosoft-learn-mcp
MCP server · microsoftdocs
More in AI & models