kushbitx-mcp-agent
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kushbitx-mcp-agentevaluate a 0.25 USDC spend against SpendGuard policy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kushbitx-mcp-agent
An MCP-compatible AI agent integration for @kushbitx/sdk — built for the KushBitx bounty issue #1.
The agent exposes three narrow, read-only tools over the Model Context Protocol and drives them through a real MCP client. It performs the free token preview, one SpendGuard policy evaluation, and one x402 payment-challenge discovery without signing or paying anything.
Security posture
Guarantee | How it is enforced |
No private key is ever requested, read, stored, or logged | No key argument exists in any tool schema; |
No payment is ever signed or executed | The x402 tool stops at the HTTP 402 challenge and returns it verbatim |
No signing, payment, recovery, or policy-mutation tool is exposed | Only three read-only tools are registered |
SpendGuard is never claimed to enforce anything | Every description and the run summary state the decision is advisory and that enforcement belongs to the signing/execution layer |
Unexpected responses surface as failures | Any non-402 status or missing challenge throws and is reported with |
Related MCP server: TensorFeed-x402-Base-MCP
Tools exposed
Tool | Free? | Purpose |
| ✅ | Inspect basic Base token market data for an address |
| ✅ | Evaluate a proposed USDC spend against a policy before money moves |
| ✅ | Discover the x402 payment requirements for a paid service (stops at 402) |
Requirements
Node.js 22 or later (tested on v22.23.1)
No API key, no wallet, no funds required for the free acceptance path
Setup
git clone <this-repo>
cd kushbitx-mcp-agent
npm installRun
node agent.mjsThis spawns the MCP server over stdio, lists its tools, then runs the three acceptance steps through the MCP protocol.
Using the server from another MCP host
// e.g. Claude Desktop / Cursor / any MCP-compatible client
{
"mcpServers": {
"kushbitx": {
"command": "node",
"args": ["/absolute/path/to/kushbitx-mcp-agent/src/server.mjs"]
}
}
}Verified output
Captured from a real run on 2026-09-19 (full log: evidence/run-output.txt):
====================================================================
MCP handshake — tools exposed by the server
====================================================================
- kushbitx_preview_token
Free. Inspect basic Base token market data for an address.
- kushbitx_evaluate_spend
Free preview. Evaluate a proposed USDC spend against a policy BEFORE any money moves.
- kushbitx_get_payment_challenge
Discover the x402 payment requirements for a paid KushBitx service.
====================================================================
Step 2 — SpendGuard evaluation (0.25 USDC)
====================================================================
{
"version": "spendguard-preview-1",
"agentId": "kushbitx-demo-agent",
"amount": "0.25",
"decision": "HUMAN_APPROVAL",
"findings": [
{ "code": "RISK_REVIEW", "message": "Risk evidence is not a trusted ALLOW signal." }
],
"advisory": true,
"executionAuthorized": false,
"note": "This stateless preview does not hold keys, execute a payment or prove that
caller-supplied policy and risk inputs are trusted. Enforce the decision in a
separate signer or approval service."
}
====================================================================
Step 3 — x402 payment challenge discovery (no signing, no payment)
====================================================================
{
"service": "token-risk",
"path": "/api/token-risk",
"challenge": {
"x402Version": 2,
"error": "Payment required",
"accepts": [
{
"scheme": "exact",
"network": "eip155:8453",
"amount": "250000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0x0d68028d06af13379C872FEE032568B4Be712f22",
"maxTimeoutSeconds": 300,
"extra": { "name": "USD Coin", "version": "2" }
}
]
}
}
====================================================================
Summary
====================================================================
1. token preview : PASS
2. SpendGuard evaluate: PASS
3. x402 challenge : PASS
No private key was requested, read, or stored. No payment was signed.
SpendGuard output is advisory; enforcement belongs to the signing layer.The x402 challenge above is read-only evidence: amount: "250000" is 0.25 USDC in 6-decimal base units on Base (eip155:8453). Nothing was signed and nothing was paid.
Notes and observations
Upstream flakiness on the free preview. During testing on 2026-09-19 the
POST /api/token-previewendpoint returned HTTP503with{"error":"Market data is temporarily unavailable. Please try again shortly; the preview is free."}intermittently — roughly one call in three — while/api/spendguard/evaluateand/api/token-riskstayed healthy.src/retry.mjsretries only these transient signals with bounded attempts, and a genuine failure is still surfaced as an error rather than a silent success.Schema discovery.
evaluateSpendvalidates progressively and reveals required fields one at a time. The accepted shape is{ agentId, requestId, amount, chain: 'base', asset: 'USDC', recipient, service?, policy }withpolicyrequiringmaxPerTransaction,remainingDailyBudget,requireHumanAbove,maxRepeats,allowedRecipients, andblockUnknownRecipients.Reproducibility. The maintainer can reproduce this end to end with
npm install && node agent.mjs. No credentials, wallet, or funding is needed.
Sanitization
The evidence log contains only public data: the well-known USDC contract address on Base, the SDK's own published payTo address from the x402 challenge, and BaseScan-visible values. No private key, seed phrase, wallet address used for personal testing, API key, or personal data appears anywhere in this repository.
License
Apache-2.0, matching the upstream SDK.
This server cannot be deployed
Maintenance
Related MCP Connectors
Paid MCP tools behind one endpoint. Agents pay per call in USDC on Base via x402.
Metered MCP tools: free discovery over MCP; per-call execution settled in USDC via x402 v2.
Pay-per-call MCP tools via x402 (USDC on Base): QR codes, images, text analysis, web fetch.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for pay-per-call DeFi and crypto data via x402 micropayments on Base. 8 endpoints: token prices, TVL, funding rates, token security, gas tracker, whale monitoring, wallet profiling, and yield scanning.823 npmMIT
- AlicenseAqualityDmaintenanceThe x402 ecosystem's read MCP for Base. Verify on-chain USDC settlements, parse publisher manifests, and audit x402 payment receipts from any MCP-compatible AI agent.11103 npm2MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that provides AI agents with pay-per-call access to a suite of tools (honeypot check, token market, DeFi yields, etc.) via USDC on Base using the x402 protocol.1 npmMIT

tereno-mcpofficial
AlicenseNot gradedqualityBmaintenanceMCP server for verifying blockchain safety on Base via x402, with free pricing/receipt tools and paid per-call guard, contract, and metadata checks settled in USDC.25 npmMIT