@scriptmasterlabs/mcp-x402 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.well-known/agentcard.json +34 -34
- package/.well-known/ai.txt +32 -32
- package/CONTRIBUTING.md +76 -76
- package/LICENSE +21 -21
- package/README.md +304 -304
- package/agents.json +81 -81
- package/ai/faq.json +74 -74
- package/ai/summary.json +157 -157
- package/dist/server/apm/capabilities.d.ts +31 -0
- package/dist/server/apm/capabilities.d.ts.map +1 -0
- package/dist/server/apm/capabilities.js +157 -0
- package/dist/server/apm/capabilities.js.map +1 -0
- package/dist/server/apm/execute.d.ts +18 -0
- package/dist/server/apm/execute.d.ts.map +1 -0
- package/dist/server/apm/execute.js +37 -0
- package/dist/server/apm/execute.js.map +1 -0
- package/dist/server/apm/matcher.d.ts +17 -0
- package/dist/server/apm/matcher.d.ts.map +1 -0
- package/dist/server/apm/matcher.js +71 -0
- package/dist/server/apm/matcher.js.map +1 -0
- package/dist/server/apm/quote.d.ts +53 -0
- package/dist/server/apm/quote.d.ts.map +1 -0
- package/dist/server/apm/quote.js +82 -0
- package/dist/server/apm/quote.js.map +1 -0
- package/dist/server/apm/schema.d.ts +109 -0
- package/dist/server/apm/schema.d.ts.map +1 -0
- package/dist/server/apm/schema.js +31 -0
- package/dist/server/apm/schema.js.map +1 -0
- package/dist/server/payments/agent-payment.d.ts +71 -0
- package/dist/server/payments/agent-payment.d.ts.map +1 -0
- package/dist/server/payments/agent-payment.js +112 -0
- package/dist/server/payments/agent-payment.js.map +1 -0
- package/dist/server/payments/x402.d.ts +26 -0
- package/dist/server/payments/x402.d.ts.map +1 -1
- package/dist/server/payments/x402.js +112 -3
- package/dist/server/payments/x402.js.map +1 -1
- package/dist/server/registry/backends.d.ts +29 -0
- package/dist/server/registry/backends.d.ts.map +1 -0
- package/dist/server/registry/backends.js +61 -0
- package/dist/server/registry/backends.js.map +1 -0
- package/dist/server/registry/pricing.d.ts.map +1 -1
- package/dist/server/registry/pricing.js +25 -24
- package/dist/server/registry/pricing.js.map +1 -1
- package/dist/server/tools/apm-execute.d.ts +3 -0
- package/dist/server/tools/apm-execute.d.ts.map +1 -0
- package/dist/server/tools/apm-execute.js +94 -0
- package/dist/server/tools/apm-execute.js.map +1 -0
- package/dist/server/tools/apm.d.ts +3 -0
- package/dist/server/tools/apm.d.ts.map +1 -0
- package/dist/server/tools/apm.js +135 -0
- package/dist/server/tools/apm.js.map +1 -0
- package/dist/server/tools/discovery.d.ts.map +1 -1
- package/dist/server/tools/discovery.js +20 -27
- package/dist/server/tools/discovery.js.map +1 -1
- package/dist/server/tools/index.d.ts.map +1 -1
- package/dist/server/tools/index.js +4 -0
- package/dist/server/tools/index.js.map +1 -1
- package/dist/server/tools/squeezeos.d.ts.map +1 -1
- package/dist/server/tools/squeezeos.js +25 -7
- package/dist/server/tools/squeezeos.js.map +1 -1
- package/eslint.config.mjs +28 -0
- package/llms.txt +170 -170
- package/package.json +78 -78
- package/server.json +24 -52
package/agents.json
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schema_version": "v1",
|
|
3
|
-
"name": "mcp-x402",
|
|
4
|
-
"description": "The x402 Amazon — 51 pay-per-call MCP tools covering institutional market intelligence, SEC filings, XRPL/Solana/Base payments, copy-trading, memecoin launchpad, and more. No API keys. Agents pay autonomously with USDC or RLUSD.",
|
|
5
|
-
"url": "https://mcp-x402.onrender.com",
|
|
6
|
-
"provider": {
|
|
7
|
-
"name": "ScriptMasterLabs",
|
|
8
|
-
"url": "https://scriptmasterlabs.com",
|
|
9
|
-
"contact": "timothy.walton45@gmail.com"
|
|
10
|
-
},
|
|
11
|
-
"version": "2.1.0",
|
|
12
|
-
"mcp": {
|
|
13
|
-
"transport": ["stdio", "sse", "streamable-http"],
|
|
14
|
-
"endpoints": {
|
|
15
|
-
"streamable_http": "https://mcp-x402.onrender.com/mcp",
|
|
16
|
-
"sse": "https://mcp-x402.onrender.com/sse"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"payment": {
|
|
20
|
-
"protocol": "x402",
|
|
21
|
-
"chains": ["base", "xrpl", "solana", "xahau"],
|
|
22
|
-
"currencies": ["USDC", "RLUSD"],
|
|
23
|
-
"mandate": "ap2",
|
|
24
|
-
"credit_bureau": "https://four02proof.onrender.com/v1/bureau/score",
|
|
25
|
-
"daily_cap_usd": 50,
|
|
26
|
-
"auto_approve_threshold_usd": 1.00
|
|
27
|
-
},
|
|
28
|
-
"tools": [
|
|
29
|
-
{ "name": "sml_discover", "description": "Full SML product catalog with prices. Start here.", "price": "free" },
|
|
30
|
-
{ "name": "sml_status", "description": "Health of all SML services.", "price": "free" },
|
|
31
|
-
{ "name": "squeezeos_preview", "description": "Bias + regime preview for any ticker.", "price": "free" },
|
|
32
|
-
{ "name": "squeezeos_demo", "description": "IWM council demo verdict.", "price": "free" },
|
|
33
|
-
{ "name": "squeezeos_history", "description": "Recent signal ring buffer.", "price": "free" },
|
|
34
|
-
{ "name": "squeezeos_oracle", "description": "Aggregated oracle directive.", "price": "free" },
|
|
35
|
-
{ "name": "squeezeos_ftd", "description": "SEC Reg SHO FTD registry.", "price": "free" },
|
|
36
|
-
{ "name": "squeezeos_status", "description": "SqueezeOS system health.", "price": "free" },
|
|
37
|
-
{ "name": "squeezeos_marketplace_browse", "description": "Browse peer signal listings.", "price": "free" },
|
|
38
|
-
{ "name": "squeezeos_futures_leaderboard", "description": "Top signal predictors.", "price": "free" },
|
|
39
|
-
{ "name": "squeezeos_council", "description": "Multi-engine AI verdict for any ticker.", "price": "0.10", "currency": "USDC" },
|
|
40
|
-
{ "name": "squeezeos_scan", "description": "Full $1–$50 institutional squeeze scanner.", "price": "0.05", "currency": "USDC" },
|
|
41
|
-
{ "name": "squeezeos_options", "description": "Institutional options flow scanner.", "price": "0.05", "currency": "USDC" },
|
|
42
|
-
{ "name": "squeezeos_iwm", "description": "IWM 0DTE contract scorer.", "price": "0.03", "currency": "USDC" },
|
|
43
|
-
{ "name": "squeezeos_marketplace_read", "description": "Full signal thesis from marketplace.", "price": "0.02", "currency": "USDC" },
|
|
44
|
-
{ "name": "leviathan_signal", "description": "Institutional squeeze signals, multi-engine verdict.", "price": "0.05", "currency": "USDC", "ap2_required": true },
|
|
45
|
-
{ "name": "xmit_edgar_decode", "description": "Parse SEC DEF 14A / 13F / 13D filings.", "price": "0.02", "currency": "USDC", "ap2_required": true },
|
|
46
|
-
{ "name": "xdeo_earnings_estimate", "description": "Decentralized earnings oracle. +2 bureau score.", "price": "0.02", "currency": "USDC", "ap2_required": true },
|
|
47
|
-
{ "name": "ftd_threshold_scan", "description": "SEC Reg SHO FTD data. Alerts free; full data paid.", "price": "0.05", "currency": "USDC", "free_tier": "alerts_only" },
|
|
48
|
-
{ "name": "echo_pattern_match", "description": "Historical pattern similarity scan.", "price": "free" },
|
|
49
|
-
{ "name": "ghost_route", "description": "Route private XRPL payments via Ghost Layer.", "price": "variable" },
|
|
50
|
-
{ "name": "ghost_status", "description": "Ghost Layer service health.", "price": "free" },
|
|
51
|
-
{ "name": "rails_transfer", "description": "RLUSD/XRP remittance on XRPL/Xahau.", "price": "variable" },
|
|
52
|
-
{ "name": "rails_status", "description": "Rails service health.", "price": "free" },
|
|
53
|
-
{ "name": "copytrader_subscribe", "description": "Subscribe to whale wallet copy-trading.", "price": "variable" },
|
|
54
|
-
{ "name": "copytrader_whales", "description": "Browse top whale wallets.", "price": "free" },
|
|
55
|
-
{ "name": "copytrader_status", "description": "Copy-trader service health.", "price": "free" },
|
|
56
|
-
{ "name": "launchpad_create", "description": "Deploy a bonding-curve memecoin on XRPL.", "price": "variable" },
|
|
57
|
-
{ "name": "launchpad_buy", "description": "Buy a memecoin from the bonding curve.", "price": "variable" },
|
|
58
|
-
{ "name": "launchpad_list", "description": "Browse active memecoins.", "price": "free" },
|
|
59
|
-
{ "name": "launchpad_status", "description": "Launchpad service health.", "price": "free" },
|
|
60
|
-
{ "name": "shadow_ingest", "description": "Ingest proprietary signal data.", "price": "variable" },
|
|
61
|
-
{ "name": "shadow_query", "description": "Query shadow desk signal store.", "price": "variable" },
|
|
62
|
-
{ "name": "forge_llm", "description": "BYOK LLM proxy — pay with USDC.", "price": "variable" },
|
|
63
|
-
{ "name": "forge_status", "description": "Forge gateway health.", "price": "free" },
|
|
64
|
-
{ "name": "crawl_paid_fetch", "description": "Web scraping, clean Markdown.", "price": "0.005", "currency": "USDC" },
|
|
65
|
-
{ "name": "proof_invoice", "description": "Get payment invoice for any SML endpoint.", "price": "free" },
|
|
66
|
-
{ "name": "proof_verify", "description": "Submit tx_hash → receive JWT access token.", "price": "free" },
|
|
67
|
-
{ "name": "proof_credit_score", "description": "FICO-style 300–850 credit score for any wallet.", "price": "free" },
|
|
68
|
-
{ "name": "nexus_agent_hire", "description": "Browse + hire agents. 5% commission on hire.", "price": "commission", "free_tier": "query_only" },
|
|
69
|
-
{ "name": "agentcard_lookup", "description": "Look up agent card by DID or wallet.", "price": "free" },
|
|
70
|
-
{ "name": "agentcard_mint", "description": "Mint a new agent identity card on XRPL.", "price": "variable" },
|
|
71
|
-
{ "name": "agentcard_verify", "description": "Verify an agent card signature.", "price": "free" },
|
|
72
|
-
{ "name": "tradier_quote", "description": "Real-time Tradier stock quote.", "price": "variable" },
|
|
73
|
-
{ "name": "tradier_order", "description": "Place a Tradier brokerage order.", "price": "variable" },
|
|
74
|
-
{ "name": "tradier_positions", "description": "Tradier account positions.", "price": "variable" },
|
|
75
|
-
{ "name": "robinhood_quote", "description": "Robinhood stock quote.", "price": "variable" },
|
|
76
|
-
{ "name": "robinhood_order", "description": "Place a Robinhood order.", "price": "variable" },
|
|
77
|
-
{ "name": "robinhood_portfolio", "description": "Robinhood portfolio.", "price": "variable" },
|
|
78
|
-
{ "name": "backtest_run", "description": "Run a strategy backtest.", "price": "variable" },
|
|
79
|
-
{ "name": "backtest_validate", "description": "Validate backtest parameters.", "price": "free" }
|
|
80
|
-
]
|
|
81
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "v1",
|
|
3
|
+
"name": "mcp-x402",
|
|
4
|
+
"description": "The x402 Amazon — 51 pay-per-call MCP tools covering institutional market intelligence, SEC filings, XRPL/Solana/Base payments, copy-trading, memecoin launchpad, and more. No API keys. Agents pay autonomously with USDC or RLUSD.",
|
|
5
|
+
"url": "https://mcp-x402.onrender.com",
|
|
6
|
+
"provider": {
|
|
7
|
+
"name": "ScriptMasterLabs",
|
|
8
|
+
"url": "https://scriptmasterlabs.com",
|
|
9
|
+
"contact": "timothy.walton45@gmail.com"
|
|
10
|
+
},
|
|
11
|
+
"version": "2.1.0",
|
|
12
|
+
"mcp": {
|
|
13
|
+
"transport": ["stdio", "sse", "streamable-http"],
|
|
14
|
+
"endpoints": {
|
|
15
|
+
"streamable_http": "https://mcp-x402.onrender.com/mcp",
|
|
16
|
+
"sse": "https://mcp-x402.onrender.com/sse"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"payment": {
|
|
20
|
+
"protocol": "x402",
|
|
21
|
+
"chains": ["base", "xrpl", "solana", "xahau"],
|
|
22
|
+
"currencies": ["USDC", "RLUSD"],
|
|
23
|
+
"mandate": "ap2",
|
|
24
|
+
"credit_bureau": "https://four02proof.onrender.com/v1/bureau/score",
|
|
25
|
+
"daily_cap_usd": 50,
|
|
26
|
+
"auto_approve_threshold_usd": 1.00
|
|
27
|
+
},
|
|
28
|
+
"tools": [
|
|
29
|
+
{ "name": "sml_discover", "description": "Full SML product catalog with prices. Start here.", "price": "free" },
|
|
30
|
+
{ "name": "sml_status", "description": "Health of all SML services.", "price": "free" },
|
|
31
|
+
{ "name": "squeezeos_preview", "description": "Bias + regime preview for any ticker.", "price": "free" },
|
|
32
|
+
{ "name": "squeezeos_demo", "description": "IWM council demo verdict.", "price": "free" },
|
|
33
|
+
{ "name": "squeezeos_history", "description": "Recent signal ring buffer.", "price": "free" },
|
|
34
|
+
{ "name": "squeezeos_oracle", "description": "Aggregated oracle directive.", "price": "free" },
|
|
35
|
+
{ "name": "squeezeos_ftd", "description": "SEC Reg SHO FTD registry.", "price": "free" },
|
|
36
|
+
{ "name": "squeezeos_status", "description": "SqueezeOS system health.", "price": "free" },
|
|
37
|
+
{ "name": "squeezeos_marketplace_browse", "description": "Browse peer signal listings.", "price": "free" },
|
|
38
|
+
{ "name": "squeezeos_futures_leaderboard", "description": "Top signal predictors.", "price": "free" },
|
|
39
|
+
{ "name": "squeezeos_council", "description": "Multi-engine AI verdict for any ticker.", "price": "0.10", "currency": "USDC" },
|
|
40
|
+
{ "name": "squeezeos_scan", "description": "Full $1–$50 institutional squeeze scanner.", "price": "0.05", "currency": "USDC" },
|
|
41
|
+
{ "name": "squeezeos_options", "description": "Institutional options flow scanner.", "price": "0.05", "currency": "USDC" },
|
|
42
|
+
{ "name": "squeezeos_iwm", "description": "IWM 0DTE contract scorer.", "price": "0.03", "currency": "USDC" },
|
|
43
|
+
{ "name": "squeezeos_marketplace_read", "description": "Full signal thesis from marketplace.", "price": "0.02", "currency": "USDC" },
|
|
44
|
+
{ "name": "leviathan_signal", "description": "Institutional squeeze signals, multi-engine verdict.", "price": "0.05", "currency": "USDC", "ap2_required": true },
|
|
45
|
+
{ "name": "xmit_edgar_decode", "description": "Parse SEC DEF 14A / 13F / 13D filings.", "price": "0.02", "currency": "USDC", "ap2_required": true },
|
|
46
|
+
{ "name": "xdeo_earnings_estimate", "description": "Decentralized earnings oracle. +2 bureau score.", "price": "0.02", "currency": "USDC", "ap2_required": true },
|
|
47
|
+
{ "name": "ftd_threshold_scan", "description": "SEC Reg SHO FTD data. Alerts free; full data paid.", "price": "0.05", "currency": "USDC", "free_tier": "alerts_only" },
|
|
48
|
+
{ "name": "echo_pattern_match", "description": "Historical pattern similarity scan.", "price": "free" },
|
|
49
|
+
{ "name": "ghost_route", "description": "Route private XRPL payments via Ghost Layer.", "price": "variable" },
|
|
50
|
+
{ "name": "ghost_status", "description": "Ghost Layer service health.", "price": "free" },
|
|
51
|
+
{ "name": "rails_transfer", "description": "RLUSD/XRP remittance on XRPL/Xahau.", "price": "variable" },
|
|
52
|
+
{ "name": "rails_status", "description": "Rails service health.", "price": "free" },
|
|
53
|
+
{ "name": "copytrader_subscribe", "description": "Subscribe to whale wallet copy-trading.", "price": "variable" },
|
|
54
|
+
{ "name": "copytrader_whales", "description": "Browse top whale wallets.", "price": "free" },
|
|
55
|
+
{ "name": "copytrader_status", "description": "Copy-trader service health.", "price": "free" },
|
|
56
|
+
{ "name": "launchpad_create", "description": "Deploy a bonding-curve memecoin on XRPL.", "price": "variable" },
|
|
57
|
+
{ "name": "launchpad_buy", "description": "Buy a memecoin from the bonding curve.", "price": "variable" },
|
|
58
|
+
{ "name": "launchpad_list", "description": "Browse active memecoins.", "price": "free" },
|
|
59
|
+
{ "name": "launchpad_status", "description": "Launchpad service health.", "price": "free" },
|
|
60
|
+
{ "name": "shadow_ingest", "description": "Ingest proprietary signal data.", "price": "variable" },
|
|
61
|
+
{ "name": "shadow_query", "description": "Query shadow desk signal store.", "price": "variable" },
|
|
62
|
+
{ "name": "forge_llm", "description": "BYOK LLM proxy — pay with USDC.", "price": "variable" },
|
|
63
|
+
{ "name": "forge_status", "description": "Forge gateway health.", "price": "free" },
|
|
64
|
+
{ "name": "crawl_paid_fetch", "description": "Web scraping, clean Markdown.", "price": "0.005", "currency": "USDC" },
|
|
65
|
+
{ "name": "proof_invoice", "description": "Get payment invoice for any SML endpoint.", "price": "free" },
|
|
66
|
+
{ "name": "proof_verify", "description": "Submit tx_hash → receive JWT access token.", "price": "free" },
|
|
67
|
+
{ "name": "proof_credit_score", "description": "FICO-style 300–850 credit score for any wallet.", "price": "free" },
|
|
68
|
+
{ "name": "nexus_agent_hire", "description": "Browse + hire agents. 5% commission on hire.", "price": "commission", "free_tier": "query_only" },
|
|
69
|
+
{ "name": "agentcard_lookup", "description": "Look up agent card by DID or wallet.", "price": "free" },
|
|
70
|
+
{ "name": "agentcard_mint", "description": "Mint a new agent identity card on XRPL.", "price": "variable" },
|
|
71
|
+
{ "name": "agentcard_verify", "description": "Verify an agent card signature.", "price": "free" },
|
|
72
|
+
{ "name": "tradier_quote", "description": "Real-time Tradier stock quote.", "price": "variable" },
|
|
73
|
+
{ "name": "tradier_order", "description": "Place a Tradier brokerage order.", "price": "variable" },
|
|
74
|
+
{ "name": "tradier_positions", "description": "Tradier account positions.", "price": "variable" },
|
|
75
|
+
{ "name": "robinhood_quote", "description": "Robinhood stock quote.", "price": "variable" },
|
|
76
|
+
{ "name": "robinhood_order", "description": "Place a Robinhood order.", "price": "variable" },
|
|
77
|
+
{ "name": "robinhood_portfolio", "description": "Robinhood portfolio.", "price": "variable" },
|
|
78
|
+
{ "name": "backtest_run", "description": "Run a strategy backtest.", "price": "variable" },
|
|
79
|
+
{ "name": "backtest_validate", "description": "Validate backtest parameters.", "price": "free" }
|
|
80
|
+
]
|
|
81
|
+
}
|
package/ai/faq.json
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"question": "What is mcp-x402?",
|
|
4
|
-
"answer": "mcp-x402 is the first MCP (Model Context Protocol) server that pays for itself. It connects AI agents — Claude, Cursor, or any MCP-compatible runtime — to ScriptMasterLabs financial intelligence tools via the x402 payment protocol. Agents pay with stablecoins on Base, XRPL, or Solana, and receive cryptographic receipts for every transaction. No API keys. No human billing. No subscriptions to manage.",
|
|
5
|
-
"category": "product",
|
|
6
|
-
"url": "https://scriptmasterlabs.com"
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
"question": "How do I install mcp-x402?",
|
|
10
|
-
"answer": "Install in one command: `npx @scriptmasterlabs/mcp-x402`. Or globally: `npm i -g @scriptmasterlabs/mcp-x402`. For Claude Code, add to ~/.claude/config.json: `{\"mcpServers\": {\"sml\": {\"command\": \"npx\", \"args\": [\"@scriptmasterlabs/mcp-x402\"]}}}`. For Cursor in SSE mode, run with `MCP_TRANSPORT=sse npx @scriptmasterlabs/mcp-x402` and add `{\"mcp-x402\": {\"url\": \"http://localhost:3402/sse\"}}` to your Cursor MCP settings.",
|
|
11
|
-
"category": "install",
|
|
12
|
-
"url": "https://www.npmjs.com/package/@scriptmasterlabs/mcp-x402"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"question": "What tools does mcp-x402 provide?",
|
|
16
|
-
"answer": "mcp-x402 provides 6 tools: (1) leviathan_signal — institutional squeeze signals, $0.05 USDC; (2) xmit_edgar_decode — parse SEC DEF 14A/13F/13D filings, $0.02 USDC; (3) xdeo_earnings_estimate — decentralized earnings oracle, $0.02 USDC; (4) ftd_threshold_scan — SEC Reg SHO FTD detection, alerts free / full $0.05 USDC; (5) nexus_agent_hire — agent marketplace, query free / hire 5% commission; (6) crawl_paid_fetch — pay-per-fetch web scraping, $0.005 USDC.",
|
|
17
|
-
"category": "tools",
|
|
18
|
-
"url": "https://github.com/timwal78/sml_portfolio/tree/main/mcp-x402"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"question": "How does the payment flow work?",
|
|
22
|
-
"answer": "Payment happens in 5 automatic steps: (1) Agent discovers tool prices from agents.json or llms.txt; (2) AP2 mandate is checked — Agent Credit Bureau score ≥ 300 triggers auto-approve with no human prompt; (3) x402 stablecoin transfer executes on the cheapest/fastest available chain (Base USDC preferred at <3s); (4) 402Proof generates a cryptographic receipt, returned in the `_meta` block of every response; (5) Agent Credit Bureau score updates after each successful call.",
|
|
23
|
-
"category": "payment",
|
|
24
|
-
"url": "https://four02proof.onrender.com"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"question": "What chains and currencies are supported for payment?",
|
|
28
|
-
"answer": "mcp-x402 supports three chains: Base (USDC) — preferred for speed at under 3 seconds; XRPL (RLUSD) — preferred for XRP ecosystem integrations; Solana (USDC) — last resort fallback. The server routes to the cheapest and fastest available chain automatically. All chains use stablecoins, so there is no crypto price volatility in tool costs.",
|
|
29
|
-
"category": "payment",
|
|
30
|
-
"url": "https://github.com/timwal78/sml_portfolio/tree/main/mcp-x402"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"question": "What is the Agent Credit Bureau and how does it work?",
|
|
34
|
-
"answer": "The Agent Credit Bureau is a FICO-style reputation system for AI agent wallets, scoring from 300 to 850. Scores are tied to XRPL wallet addresses and maintained by 402Proof at four02proof.onrender.com/v1/bureau/score/{wallet}. A minimum score of 300 is required for auto-approve of paid tool calls in mcp-x402. Scores increase with successful transactions — for example, xdeo_earnings_estimate grants +2 points per call. Agents build financial reputation the same way humans do.",
|
|
35
|
-
"category": "credit-bureau",
|
|
36
|
-
"url": "https://four02proof.onrender.com"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"question": "Where are my private keys stored?",
|
|
40
|
-
"answer": "Private keys are stored exclusively in your operating system's secure keychain — macOS Keychain, Windows DPAPI, or Linux Secret Service via the `keytar` library. Keys are never written to environment variables, config files, or logs. On first run, mcp-x402 provisions a wallet automatically and stores the key securely. You can review the wallet address with `npx @scriptmasterlabs/mcp-x402 wallet`.",
|
|
41
|
-
"category": "security",
|
|
42
|
-
"url": "https://github.com/timwal78/sml_portfolio/tree/main/mcp-x402"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"question": "What spend controls does mcp-x402 have?",
|
|
46
|
-
"answer": "mcp-x402 enforces three spend controls: (1) Auto-approve threshold of $1.00 — sessions under this total require no human confirmation; (2) Daily spend cap of $50.00 per wallet, enforced in-process and cannot be exceeded; (3) Price cache TTL of 60 seconds — prices are re-fetched at most once per minute to prevent stale pricing. These controls are configurable via environment variables (DAILY_SPEND_CAP_USD, AUTO_APPROVE_THRESHOLD_USD).",
|
|
47
|
-
"category": "security",
|
|
48
|
-
"url": "https://github.com/timwal78/sml_portfolio/tree/main/mcp-x402"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"question": "What is AP2 and why is it required for some tools?",
|
|
52
|
-
"answer": "AP2 (Agent Payment Protocol version 2) is a W3C Verifiable Credential-based mandate system that lets agent operators set explicit spending policies before an agent starts executing. Tools marked 'AP2 required' (leviathan_signal, xmit_edgar_decode, xdeo_earnings_estimate) verify a valid AP2 mandate before executing and fail closed if none is present. This prevents autonomous agents from spending on high-value data without explicit operator authorization. The mandate is checked via the X-AP2-MANDATE header.",
|
|
53
|
-
"category": "security",
|
|
54
|
-
"url": "https://github.com/timwal78/sml_portfolio/tree/main/mcp-x402"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"question": "How do I add x402 payments to my own MCP server?",
|
|
58
|
-
"answer": "Use the @scriptmasterlabs/mcp-x402-sdk package: `npm i @scriptmasterlabs/mcp-x402-sdk`. Import `x402Payment` and wrap your tool handler with it — 5 lines of TypeScript. The SDK handles wallet provisioning, AP2 mandate verification, chain routing, 402Proof receipt generation, and audit logging automatically. Any MCP server author can monetize their tools using the same infrastructure that powers mcp-x402.",
|
|
59
|
-
"category": "sdk",
|
|
60
|
-
"url": "https://www.npmjs.com/package/@scriptmasterlabs/mcp-x402-sdk"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"question": "What financial intelligence does leviathan_signal provide?",
|
|
64
|
-
"answer": "leviathan_signal provides institutional-grade equity squeeze signals using a multi-engine verdict system: OracleEngine (aggregates all signal types), RecurrentDepthTransformer/RDT (multi-symbol ranking via graph traversal), and SML Fractal Cascade (proprietary squeeze pattern detection). It returns a signal verdict (BUY IGNITION / BUY / HOLD / SELL / SHIELD), confidence score, regime label (ALPHA_EXPANSION / MACRO_COLLAPSE / NEUTRAL / SHIELD), and a 402Proof receipt. Cost: $0.05 USDC per call.",
|
|
65
|
-
"category": "tools",
|
|
66
|
-
"url": "https://squeezeos-api.onrender.com"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"question": "Who built mcp-x402 and is it open source?",
|
|
70
|
-
"answer": "mcp-x402 was built by ScriptMasterLabs (Script Master Labs LLC), an SDVOSB (Service-Disabled Veteran-Owned Small Business). It is MIT licensed — no proprietary core, no vendor lock-in. The source code lives inside the sml_portfolio monorepo at github.com/timwal78/sml_portfolio/tree/main/mcp-x402. The companion SDK (@scriptmasterlabs/mcp-x402-sdk) is also MIT licensed.",
|
|
71
|
-
"category": "company",
|
|
72
|
-
"url": "https://scriptmasterlabs.com"
|
|
73
|
-
}
|
|
74
|
-
]
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"question": "What is mcp-x402?",
|
|
4
|
+
"answer": "mcp-x402 is the first MCP (Model Context Protocol) server that pays for itself. It connects AI agents — Claude, Cursor, or any MCP-compatible runtime — to ScriptMasterLabs financial intelligence tools via the x402 payment protocol. Agents pay with stablecoins on Base, XRPL, or Solana, and receive cryptographic receipts for every transaction. No API keys. No human billing. No subscriptions to manage.",
|
|
5
|
+
"category": "product",
|
|
6
|
+
"url": "https://scriptmasterlabs.com"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"question": "How do I install mcp-x402?",
|
|
10
|
+
"answer": "Install in one command: `npx @scriptmasterlabs/mcp-x402`. Or globally: `npm i -g @scriptmasterlabs/mcp-x402`. For Claude Code, add to ~/.claude/config.json: `{\"mcpServers\": {\"sml\": {\"command\": \"npx\", \"args\": [\"@scriptmasterlabs/mcp-x402\"]}}}`. For Cursor in SSE mode, run with `MCP_TRANSPORT=sse npx @scriptmasterlabs/mcp-x402` and add `{\"mcp-x402\": {\"url\": \"http://localhost:3402/sse\"}}` to your Cursor MCP settings.",
|
|
11
|
+
"category": "install",
|
|
12
|
+
"url": "https://www.npmjs.com/package/@scriptmasterlabs/mcp-x402"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"question": "What tools does mcp-x402 provide?",
|
|
16
|
+
"answer": "mcp-x402 provides 6 tools: (1) leviathan_signal — institutional squeeze signals, $0.05 USDC; (2) xmit_edgar_decode — parse SEC DEF 14A/13F/13D filings, $0.02 USDC; (3) xdeo_earnings_estimate — decentralized earnings oracle, $0.02 USDC; (4) ftd_threshold_scan — SEC Reg SHO FTD detection, alerts free / full $0.05 USDC; (5) nexus_agent_hire — agent marketplace, query free / hire 5% commission; (6) crawl_paid_fetch — pay-per-fetch web scraping, $0.005 USDC.",
|
|
17
|
+
"category": "tools",
|
|
18
|
+
"url": "https://github.com/timwal78/sml_portfolio/tree/main/mcp-x402"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"question": "How does the payment flow work?",
|
|
22
|
+
"answer": "Payment happens in 5 automatic steps: (1) Agent discovers tool prices from agents.json or llms.txt; (2) AP2 mandate is checked — Agent Credit Bureau score ≥ 300 triggers auto-approve with no human prompt; (3) x402 stablecoin transfer executes on the cheapest/fastest available chain (Base USDC preferred at <3s); (4) 402Proof generates a cryptographic receipt, returned in the `_meta` block of every response; (5) Agent Credit Bureau score updates after each successful call.",
|
|
23
|
+
"category": "payment",
|
|
24
|
+
"url": "https://four02proof.onrender.com"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"question": "What chains and currencies are supported for payment?",
|
|
28
|
+
"answer": "mcp-x402 supports three chains: Base (USDC) — preferred for speed at under 3 seconds; XRPL (RLUSD) — preferred for XRP ecosystem integrations; Solana (USDC) — last resort fallback. The server routes to the cheapest and fastest available chain automatically. All chains use stablecoins, so there is no crypto price volatility in tool costs.",
|
|
29
|
+
"category": "payment",
|
|
30
|
+
"url": "https://github.com/timwal78/sml_portfolio/tree/main/mcp-x402"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"question": "What is the Agent Credit Bureau and how does it work?",
|
|
34
|
+
"answer": "The Agent Credit Bureau is a FICO-style reputation system for AI agent wallets, scoring from 300 to 850. Scores are tied to XRPL wallet addresses and maintained by 402Proof at four02proof.onrender.com/v1/bureau/score/{wallet}. A minimum score of 300 is required for auto-approve of paid tool calls in mcp-x402. Scores increase with successful transactions — for example, xdeo_earnings_estimate grants +2 points per call. Agents build financial reputation the same way humans do.",
|
|
35
|
+
"category": "credit-bureau",
|
|
36
|
+
"url": "https://four02proof.onrender.com"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"question": "Where are my private keys stored?",
|
|
40
|
+
"answer": "Private keys are stored exclusively in your operating system's secure keychain — macOS Keychain, Windows DPAPI, or Linux Secret Service via the `keytar` library. Keys are never written to environment variables, config files, or logs. On first run, mcp-x402 provisions a wallet automatically and stores the key securely. You can review the wallet address with `npx @scriptmasterlabs/mcp-x402 wallet`.",
|
|
41
|
+
"category": "security",
|
|
42
|
+
"url": "https://github.com/timwal78/sml_portfolio/tree/main/mcp-x402"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"question": "What spend controls does mcp-x402 have?",
|
|
46
|
+
"answer": "mcp-x402 enforces three spend controls: (1) Auto-approve threshold of $1.00 — sessions under this total require no human confirmation; (2) Daily spend cap of $50.00 per wallet, enforced in-process and cannot be exceeded; (3) Price cache TTL of 60 seconds — prices are re-fetched at most once per minute to prevent stale pricing. These controls are configurable via environment variables (DAILY_SPEND_CAP_USD, AUTO_APPROVE_THRESHOLD_USD).",
|
|
47
|
+
"category": "security",
|
|
48
|
+
"url": "https://github.com/timwal78/sml_portfolio/tree/main/mcp-x402"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"question": "What is AP2 and why is it required for some tools?",
|
|
52
|
+
"answer": "AP2 (Agent Payment Protocol version 2) is a W3C Verifiable Credential-based mandate system that lets agent operators set explicit spending policies before an agent starts executing. Tools marked 'AP2 required' (leviathan_signal, xmit_edgar_decode, xdeo_earnings_estimate) verify a valid AP2 mandate before executing and fail closed if none is present. This prevents autonomous agents from spending on high-value data without explicit operator authorization. The mandate is checked via the X-AP2-MANDATE header.",
|
|
53
|
+
"category": "security",
|
|
54
|
+
"url": "https://github.com/timwal78/sml_portfolio/tree/main/mcp-x402"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"question": "How do I add x402 payments to my own MCP server?",
|
|
58
|
+
"answer": "Use the @scriptmasterlabs/mcp-x402-sdk package: `npm i @scriptmasterlabs/mcp-x402-sdk`. Import `x402Payment` and wrap your tool handler with it — 5 lines of TypeScript. The SDK handles wallet provisioning, AP2 mandate verification, chain routing, 402Proof receipt generation, and audit logging automatically. Any MCP server author can monetize their tools using the same infrastructure that powers mcp-x402.",
|
|
59
|
+
"category": "sdk",
|
|
60
|
+
"url": "https://www.npmjs.com/package/@scriptmasterlabs/mcp-x402-sdk"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"question": "What financial intelligence does leviathan_signal provide?",
|
|
64
|
+
"answer": "leviathan_signal provides institutional-grade equity squeeze signals using a multi-engine verdict system: OracleEngine (aggregates all signal types), RecurrentDepthTransformer/RDT (multi-symbol ranking via graph traversal), and SML Fractal Cascade (proprietary squeeze pattern detection). It returns a signal verdict (BUY IGNITION / BUY / HOLD / SELL / SHIELD), confidence score, regime label (ALPHA_EXPANSION / MACRO_COLLAPSE / NEUTRAL / SHIELD), and a 402Proof receipt. Cost: $0.05 USDC per call.",
|
|
65
|
+
"category": "tools",
|
|
66
|
+
"url": "https://squeezeos-api.onrender.com"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"question": "Who built mcp-x402 and is it open source?",
|
|
70
|
+
"answer": "mcp-x402 was built by ScriptMasterLabs (Script Master Labs LLC), an SDVOSB (Service-Disabled Veteran-Owned Small Business). It is MIT licensed — no proprietary core, no vendor lock-in. The source code lives inside the sml_portfolio monorepo at github.com/timwal78/sml_portfolio/tree/main/mcp-x402. The companion SDK (@scriptmasterlabs/mcp-x402-sdk) is also MIT licensed.",
|
|
71
|
+
"category": "company",
|
|
72
|
+
"url": "https://scriptmasterlabs.com"
|
|
73
|
+
}
|
|
74
|
+
]
|