mcp-testraptor
Integrates with the Solana blockchain to handle per-call x402 payments in USDC: the server uses a Solana wallet private key to sign payment transactions locally, queries a Solana RPC endpoint for blockhash fallback, and supports mainnet/devnet networks and a trusted recipient address to settle each API call on-chain.
TestRaptor x402 MCP
MCP server exposing TestRaptor's paid APIs with per-call x402 payments (USDC on Solana, gas sponsored): no account, no API key, no subscription. An AI agent calls the tool, pays a few cents, and receives the result.
Tools (5)
Tool | Endpoint | Price |
|
| $0.002 |
|
| $0.003 |
|
| $0.005 |
|
| $0.008 |
|
| flexible (min $0.008) |
Related MCP server: MCP RAG Agent Server
Payment modes
The server reads its configuration from the environment. Two modes (in priority order):
Prepaid credit —
X402_CREDIT_TOKEN: an opaque token obtained via a top-up (credit_topuporbundle_check). Each call debits the credit without a Solana transaction. Ideal for high volume.Payer wallet —
X402_PAYER_KEY_B64: a Solana private key (64 bytes, base64) of a wallet funded in USDC (no SOL required: gas is sponsored by the facilitator). Each call settles its x402 transaction automatically.
With neither, the tools return the decoded 402 challenge (amount, payTo address,
network) so the agent understands what is being requested.
Environment variables
Variable | Role | Default |
| Paid API base URL |
|
|
|
|
| Payer wallet (64-byte secret key, base64) | — |
| Prepaid credit token | — |
| Locks the recipient (anti-misdirection) | — |
| x402 facilitator (Dexter) |
|
| Solana RPC (blockhash fallback) | public mainnet-beta |
Installation
Claude Desktop
{
"mcpServers": {
"testraptor": {
"command": "npx",
"args": ["-y", "testraptor-x402-mcp"],
"env": {
"X402_PAYER_KEY_B64": "<your base64 private key>",
"X402_TRUSTED_PAYTO": "84uuBKFPR5rYMCrJQkW5unKUebozV1xwdY5UPxBWyFvr"
}
}
}
}Cursor / other stdio clients
Add the same command: npx, args: ["-y", "testraptor-x402-mcp"] entry with your env.
Local
git clone https://github.com/maximethemens-code/testraptor-x402-mcp && cd testraptor-x402-mcp && npm install
X402_PAYER_KEY_B64=... npm start # npm start = node src/index.jsExample call
certs_check_now { domain: "example.ca" }
→ { "ok": true, ... TLS check report ... } ($0.002 USDC debited)Security
X402_PAYER_KEY_B64is never sent to the server: it is only used to sign the transaction locally.X402_TRUSTED_PAYTOis strongly recommended: it prevents the wallet from paying an unexpected recipient (e.g. ifX402_BASE_URLpoints to a malicious server).The payment wallet must be distinct from the receiving wallet (
payTo).
Known limitations
heartbeat_create_monitorrequires a signed-in TestRaptor account (SSO) on the backend: an anonymous agent will receive401after payment.Real on-chain settlement (verify/settle via Dexter) is only exercised with a wallet actually funded in USDC.
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage test suites, run tests, view results, and automate QA workflows via AI with testRigor.
Drive OctoPerf load testing from any AI agent: import, edit, validate, run scenarios, read metrics.
Katalon True Platform MCP: design tests, run with AI, upload reports, assess release readiness.
Accessibility pre-checks (WCAG/BFSG) in a real browser + statement drafts. Pay per call.
Related MCP Servers
- -
- FlicenseNot gradedqualityDmaintenanceThis MCP server enables intelligent API testing automation by combining RAG knowledge retrieval with tool execution capabilities. It allows QA engineers to perform natural language-driven API testing with contextual knowledge support.-
- AlicenseBqualityCmaintenanceMCP server to interact with the QMetry for Jira API, enabling management of test cases, test cycles, test plans, and more through well-defined tools.9348 npmApache 2.0
- AlicenseAqualityDmaintenanceEnables test execution and management through MCP clients, allowing retrieval of projects, listing tests, executing tests with browser selection, and monitoring results.613 npmMIT