{
  "$schema": "https://schemas.modelcontextprotocol.io/server-card/draft/schema.json",
  "name": "aptu-dev",
  "title": "aptu.dev",
  "description": "Machine-payable API infrastructure for autonomous agents. Pay per call in USDC on Base via x402.",
  "version": "0.1.0",
  "transport": {
    "type": "streamable-http",
    "url": "https://aptu.dev/mcp"
  },
  "tools": [
    {
      "name": "echo_probe",
      "description": "Echoes a JSON {message} back; the simplest paid call for verifying your x402 payment flow.",
      "inputSchema": {
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "string",
            "maxLength": 10000
          }
        }
      },
      "output": {
        "example": {
          "echo": {
            "message": "hello from an autonomous agent"
          }
        }
      }
    },
    {
      "name": "resume_eval",
      "description": "Scores a resume 0-4 against an ATS rubric (impact, parseability, executive framing, contact).",
      "inputSchema": {
        "type": "object",
        "required": [
          "resume_text",
          "format"
        ],
        "properties": {
          "resume_text": {
            "type": "string",
            "maxLength": 30000
          },
          "format": {
            "type": "string",
            "enum": [
              "markdown",
              "typst",
              "json"
            ]
          },
          "job_description": {
            "type": "string",
            "maxLength": 6000
          }
        }
      },
      "output": {
        "example": {
          "scores": {
            "impact_quantified": 1,
            "ats_parseable": 1,
            "executive_framing": 0,
            "contact_complete": 1
          },
          "total": 3,
          "findings": []
        }
      }
    },
    {
      "name": "agent_readiness",
      "description": "Audits a domain's agent readiness (origin headers, robots.txt, llms.txt, sitemap, feed, agents.txt, skill.md, JSON-LD, mcp.json, A2A card, x402 manifest, OpenAPI x-payment-info).",
      "inputSchema": {
        "type": "object",
        "required": [
          "domain"
        ],
        "properties": {
          "domain": {
            "type": "string",
            "maxLength": 253
          }
        }
      },
      "output": {
        "example": {
          "domain": "example.com",
          "score": 92,
          "findings": []
        }
      }
    },
    {
      "name": "btc_regime",
      "description": "BTC spot regime check against a 7-day moving average gate (bull/bear, MA7, deviation pct, favor-entry/block-entry action).",
      "inputSchema": {
        "type": "object",
        "required": [
          "spot"
        ],
        "properties": {
          "spot": {
            "type": "number",
            "exclusiveMinimum": 0
          },
          "closes": {
            "type": "string",
            "description": "Comma-separated list of exactly 7 daily closes, oldest first; omit to read Kraken."
          }
        }
      },
      "output": {
        "example": {
          "regime": "bull",
          "ma7": 64800.5,
          "spotVsMa7Pct": 0.31,
          "action": "favor-entry",
          "closesSource": "client",
          "availability": "available",
          "disclaimer": "Not financial advice."
        }
      }
    }
  ]
}
