# ScriptMasterLabs MCP Server (x402 Pay-Per-Call)

> ScriptMasterLabs MCP Server (x402 Pay-Per-Call) is a paid API for AI agents from scriptmasterlabs.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-30).

Exposes a pay-per-call MCP (Model Context Protocol) server offering AI tools such as stock market cycle analysis, accessible via JSON-RPC 2.0 over HTTP with per-call USDC micropayment.

## Facts

- Endpoint: POST https://scriptmasterlabs.com/v1/mcp?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-mcp-server-x402-pay-per-call-7ad8ed79
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5oinFRQTyjyZaYA0quZt7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scriptmasterlabs-mcp-server-x402-pay-per-call-7ad8ed79 -d '<json body>'
```

Example prompt: List all available tools on the ScriptMasterLabs MCP server, then call the stock cycle analysis tool for AAPL and give me the results.

## When to prefer this

Choose this endpoint when you need to invoke AI tools via the MCP protocol with per-call micropayment (x402/USDC), especially for stock market cycle analysis or other tools curated by ScriptMasterLabs. Prefer it over generic REST APIs when your agent is already x402-payment-capable and you want to list or call tools dynamically via JSON-RPC without a subscription.

## Known failure modes

- Payment not accepted — x402 payment verification fails, call is rejected
- Invalid JSON-RPC structure — missing required fields like jsonrpc, id, or method causes a parse error
- Unknown tool name passed to tools/call — server returns an error result
- Rate limiting or quota exceeded — server rejects call after payment threshold
- Malformed params object — tool-specific parameter validation failure

## How this service works

x402 pay-per-call APIs, MCP servers and practical AI field guides from a veteran-owned lab. Verify the provider, then pay per accepted call.

## Output

A JSON-RPC 2.0 response containing the tool result, typically structured text content with analysis data such as stock symbol and market cycle details (e.g. {id, result: {content: [{type: 'text', text: '{symbol, cycle, ...}'}]}, jsonrpc: '2.0'}).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "jsonrpc",
      "id",
      "method"
     ],
     "properties": {
      "id": {
       "type": [
        "integer",
        "string"
       ]
      },
      "method": {
       "enum": [
        "tools/list",
        "tools/call"
       ],
       "type": "string"
      },
      "params": {
       "type": "object"
      },
      "jsonrpc": {
       "type": "string",
       "const": "2.0"
      }
     },
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "POST"
    },
    "bodyType": {
     "type": "string",
     "const": "json"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": 1,
  "result": {
   "content": [
    {
     "text": "{\"symbol\": \"AAPL\", \"cycle\": {...}}",
     "type": "text"
    }
   ]
  },
  "jsonrpc": "2.0"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-mcp-server-x402-pay-per-call-7ad8ed79/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scriptmasterlabs.com](https://www.zero.xyz/host/scriptmasterlabs.com/llms.txt)
