Trust-gated AI agent examples. Check CraftedTrust before connecting to any MCP server. Python (LangGraph) + TypeScript.
trust-gated-agent-example is an early-stage Python project in the AI payments / x402 ecosystem, focused on ai-agents, ai-security, langgraph, mcp. It currently has 0 GitHub stars and 0 forks, and sits alongside related tools like agoragentic-integrations, APIbase, agentstore, mcp-server, mcp-client, cerebrus-pulse-mcp.
Reference implementations showing how to make AI agents check CraftedTrust before connecting to any MCP server. If a server scores D or F, the agent refuses to connect.
This is the "SSL certificate check for AI agents" pattern.
Add CraftedTrust to your agent's MCP config:
{
"mcpServers": {
"craftedtrust": {
"url": "https://mcp.craftedtrust.com/api/v1/mcp",
"description": "Check trust scores before connecting to MCP servers"
}
}
}
Your agent now has access to 6 tools:
| Tool | Description |
|---|---|
check_trust |
Look up trust score by URL or npm name |
scan_server |
Trigger a live security scan |
search_registry |
Search 4,200+ indexed MCP servers |
get_stats |
Ecosystem statistics |
pay_for_certification |
Initiate USDC certification payment |
verify_payment |
Verify on-chain payment |
Before your agent connects to any new MCP server:
check_trust on CraftedTrustSee python/trust_gated_agent.py for a complete LangGraph agent that gates MCP connections through CraftedTrust.
cd python
pip install -r requirements.txt
python trust_gated_agent.py
See typescript/trust-gated-client.ts for a TypeScript MCP client that checks trust scores before connecting.
cd typescript
npm install
npx tsx trust-gated-client.ts
Agent receives task → needs mcp.example.com
↓
Agent calls CraftedTrust check_trust("mcp.example.com")
↓
Score: 82/100, Grade: B ← Safe
↓
Agent connects to mcp.example.com ✓
Agent receives task → needs sketchy-server.xyz
↓
Agent calls CraftedTrust check_trust("sketchy-server.xyz")
↓
Score: 15/100, Grade: F ← Dangerous
↓
Agent refuses: "Server scored F (15/100). Not connecting." ✗
| Grade | Score | Meaning |
|---|---|---|
| A | 90-100 | Excellent security practices |
| B | 75-89 | Good security, minor improvements possible |
| C | 60-74 | Adequate but has gaps |
| D | 40-59 | Significant security issues |
| F | 0-39 | Critical issues, do not connect |
Full API documentation: mcp.craftedtrust.com/api-docs.html
MIT
Built by Cyber Craft Solutions LLC
Public adapters and discovery catalog for Triptych OS (Agent OS): agent frameworks, MCP/A2A/x402 protocols, workflows, wallets, SDKs, and examples for execute-first routing, governed handoffs, and receipt-aware agent commerce.
Universal MCP gateway for AI agents — 1108 tools, 307 providers. One endpoint (https://apibase.pro/mcp), pay-per-call with x402 USDC on Base + MPP USDC on Tempo.
Open-source marketplace for Claude Code plugins. Publish in 2 HTTP requests, earn 80% in USDC. Install: /plugin marketplace add techgangboss/agentstore
MCP server for Azeth — smart accounts, payments, reputation, and discovery tools for AI agents
Discover and pay AI agents on nullpath's marketplace via MCP. x402 micropayments with USDC.
MCP server for real-time crypto intelligence — 15 tools for technical analysis, liquidation heatmaps, market stress, funding rates across 50+ Hyperliquid perpetuals. CLI + MCP. x402 micropayments.
The agent-native LLM router for autonomous agents. 55+ models (8 free), <1ms local routing, USDC payments on Base & Solana via x402.
The AI agent with a wallet — spends USDC autonomously to get real work done. Apache-2.0, TypeScript.
The first agentic payment network: policy-controlled, gasless, and real money-ready. OmniClaw CLI + Financial Policy Engine let autonomous agents pay and earn safely at machine speed.
An open SDK for agentic payments. Let AI agents make payments, hold funds, and move money across chains with policy enforcement and human approval built in.
x402 Ecosystem Explorer
🚀 Curated list of x402 resources: HTTP 402 Payment Required protocol for blockchain payments, crypto micropayments, AI agents, API monetization. Includes SDKs (TypeScript, Python, Rust), examples, facilitators (Coinbase, Cloudflare), MCP integration, tutorials. Accept USDC payments with one line of code. Perfect for AI agent economy.