# Fabio662/yieldagentx402-sdks [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/Fabio662/yieldagentx402-sdks  
**GitHub Stars:** 2  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/fabio662-yieldagentx402-sdks

## Description
Custody-free, policy-gated, receipt-backed execution layer for AI agents. 16 MCP tools across 18 chains (Base, Ethereum, Bitcoin native, Starknet, NEAR, Solana, Stacks, BNB, Rootstock, Filecoin, Aptos, Sui, TON, Tron, XRPL, Stellar, Algorand). One NEAR MPC key authority signs on EVM and BTC, no private keys held anywhere. ShadeGuard policy enforcement, Intel TDX TEE attestation, HMAC-SHA256 receipts, Filecoin and BTFS anchored. x402 protocol settlement with 0.25 percent protocol fee. Public discovery with no signup needed: call yaxgetcapabilities without auth. Instant test key (5 USD cap, 7 day) via POST /api/apply. Install via npx agentx402-mcp-server.

## Tools
Capabilities this server exposes over MCP:

- **yax_get_capabilities** — Returns every tool available on this server, what each one does, and when to use it. Call this first when connecting to understand the platform.
- **yax_run_secure_workflow** — Requests a governed agent action. Returns a run ID and policy decision; a terminal receipt is sealed, while HMAC signing, TEE binding, settlement, and provider-verified anchors are reported only when the corresponding evidence is produced.
- **yax_delegate_to_agent** — Delegates work to another agent by spawning a child orchestration run linked to your parent run. Optional hireFeeUsd triggers policy-gated x402 or ledger hire payment. Child runs inherit min(parent, child) spend caps.
- **yax_process_x402_payment** — Pre-authorizes a gas/sponsorship budget for a governed hub-scoped agent, subject to hub attachment, Agent Pack grant, and policy checks. This does NOT sign, broadcast, or settle an on-chain transaction — it only reserves budget against your daily/per-transaction sponsorship cap. No transaction hash is produced.
- **yax_check_policy** — Checks if an action would be approved by your policy without running it. Returns approved/denied, remaining spend cap, and whether human approval is required.
- **yax_get_receipt** — Fetches the stored receipt for an authorized past run. Returns policy result and available hashes, signing state, conditional TEE evidence, anchor references, and stored provider-readback verification evidence without upgrading missing evidence.
- **yax_verify_receipt** — Projects stored receipt verification evidence. verified is true only when the stored payload HMAC was cryptographically checked and a provider GET readback matched the uploaded artifact; this call does not perform a fresh provider lookup.
- **yax_list_runs** — Lists recent agent runs with status and policy result. Filter by outcome (approved/denied/escalated) to audit activity or find run IDs for receipt lookup.
- **yax_submit_approval** — Approve or deny a pending policy approval token for the authenticated agent.
- **yax_control_workflow** — Stop (cancel) or resume (approve human gate) an orchestration workflow run for this agent.
- **yax_get_wallet_status** — Returns the agent's wallet balance, spend cap, remaining cap for this period, and wallet address. Use before a payment to confirm funds are available.
- **yax_score_leads** — Scores inbound leads by conversion likelihood and syncs enriched records to your CRM. Returns each lead with a score (0–100), tier (hot/warm/cold), and enrichment data.
- **yax_enrich_lead_data** — Parses a raw lead email, form submission, or webhook payload into a structured contact record, enriches it, and logs it to your CRM. Returns name, email, company, phone, and ICP score.
- **yax_build_email_sequence** — Builds a personalized cold email sequence for a list of prospects. Researches each prospect and writes tailored copy. Returns subject lines, body, and send schedule per prospect.
- **yax_monitor_churn_risk** — Flags customers at risk of churning based on usage and payment patterns, and drafts a re-engagement email per account. Returns a prioritized risk list with churn score and outreach copy.
- **yax_get_attestation** — Reports whether TEE verification inputs are configured for this MCP Worker. It does not probe an enclave or verify a current attestation; use claim-specific verification and receipt evidence before relying on a TEE claim.
- **yax_audit_compliance** — Audits recent agent activity against policy rules and flags violations. Returns compliant vs flagged counts and report evidence; any storage CID is an anchor reference until provider readback/content match is separately verified.
- **yax_collect_ar_invoices** — Analyzes open invoices by age (30/60/90+ days) and sends escalating follow-up emails to overdue clients. Returns invoice count, total overdue amount, and emails sent per bucket.
- **yax_forecast_cash_flow** — Generates a week-by-week cash flow forecast across base, optimistic, and pessimistic scenarios. Returns projections and any report storage reference without representing CID presence alone as verified anchoring.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "yieldagentx402-sdks": {
    "command": "npx",
    "args": ["-y","agentx402-mcp-server"]
  }
}
```

## Documentation

## What Fabio662/yieldagentx402-sdks does

Fabio662/yieldagentx402-sdks distributes the client-side packages for YieldAgentX402, including an MCP server, a typed TypeScript SDK, a receipt and webhook verification library, and tool wrappers for CrewAI and LangChain. The MCP package gives compatible agents access to 18 tools spanning secure workflow orchestration, policy decisions, approvals, wallet status, receipt evidence, finance operations, and CRM workflows.

The platform covers 18 chains: Base, Ethereum, native Bitcoin, Starknet, NEAR, Solana, Stacks, BNB, Rootstock, Filecoin EVM and native Filecoin, Aptos, Sui, TON, Tron, XRPL, Stellar, and Algorand. Its wallet model uses one NEAR MPC key authority to derive EVM and Bitcoin addresses when needed; the gateway and worker do not hold private keys.

## How it works

Agents can begin with `yax_get_capabilities`, which returns the available tools and guidance on their use. `yax_check_policy` previews whether an action would be approved, reports remaining spend capacity, and indicates whether human approval is needed. A governed action is requested through `yax_run_secure_workflow`, which returns a run ID and policy decision.

Long-running or gated work can involve `yax_submit_approval` and `yax_control_workflow`. Agents can delegate to child runs with `yax_delegate_to_agent`; child spend caps are constrained by the parent and child limits. The x402 tool, `yax_process_x402_payment`, reserves a gas or sponsorship budget after policy checks. It does not sign, broadcast, or settle an on-chain transaction and does not produce a transaction hash.

Runs produce stored receipt information that can be retrieved with `yax_get_receipt`. `yax_verify_receipt` evaluates the verification evidence already stored. The platform describes HMAC-SHA256 receipts, Intel TDX inputs, and Filecoin and BTFS anchor references as part of its execution and evidence model.

## Setup and configuration

The MCP wrapper is distributed as the `agentx402-mcp-server` npm package and can be installed or launched with `npx agentx402-mcp-server`. It uses the stdio MCP pattern and is intended for clients such as Claude Desktop, Claude Code, Cursor, and Windsurf.

The hosted MCP endpoint is `https://api.yieldagentx402.app/mcp`. Capability discovery can be called there with `yax_get_capabilities` without an API key. A test key can be requested with `POST /api/apply`; the returned key has a 5 USD cap, expires after seven days, and is intended for safe read-only tools. Ready-to-paste agent configurations are available from `/api/agent-onboard`.

## Tools and capabilities

The tools fall into several groups:

- Discovery and governance: `yax_get_capabilities`, `yax_check_policy`, `yax_submit_approval`, `yax_control_workflow`, and `yax_audit_compliance`.
- Execution and delegation: `yax_run_secure_workflow` and `yax_delegate_to_agent`.
- Payments and wallet information: `yax_process_x402_payment` and `yax_get_wallet_status`.
- Audit evidence: `yax_get_receipt`, `yax_verify_receipt`, `yax_list_runs`, and `yax_get_attestation`.
- CRM and revenue operations: `yax_score_leads`, `yax_enrich_lead_data`, `yax_build_email_sequence`, `yax_monitor_churn_risk`, and `yax_collect_ar_invoices`.
- Finance planning: `yax_forecast_cash_flow`.

The CRM tools score and enrich leads, create personalized email sequences, identify churn risk, and follow up on overdue invoices. Cash-flow forecasting returns weekly base, optimistic, and pessimistic scenarios.

## Limitations and notes

A stored receipt may contain only the evidence produced by that run. TEE status does not itself probe an enclave or establish current attestation, and an anchor reference or CID is not equivalent to verified provider content. Receipt verification checks stored HMAC and provider-readback evidence rather than performing a fresh provider lookup.

The x402 payment tool is a budget reservation mechanism, not a transaction execution endpoint. Policy caps, approval requirements, authentication, and available wallet funds can affect whether an operation proceeds. Platform-level components such as the gateway, policy engine, TEE worker, orchestrator, and anchoring services are separate from the public SDK repository.

The repository is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/fabio662-yieldagentx402-sdks/readme_

