{
  "name": "unstuck",
  "version": "0.1.0",
  "status": "planned",
  "description": "Planned MCP server for Unstuck: explains Solana transactions in plain words and returns a fix an agent can apply. Not published yet. Use the HTTP API today (curl / fetch); the MCP server and skill package ship when the API leaves beta.",
  "homepage": "https://www.unstucksol.com",
  "use_today": {
    "explain": "GET https://www.unstucksol.com/api/explain?sig=<signature>",
    "errors": "GET https://www.unstucksol.com/api/errors?q=<text>",
    "example": "curl 'https://www.unstucksol.com/api/explain?sig=3cbDDFD5GrPVzJZCfP8ppSGiTFHd6RHQBbgkrgRpXLbu2fbSPdKdgjimJduvMhRP3N8yh6QznSmtSVbh3feUwV2R'",
    "docs": "https://www.unstucksol.com/docs.html",
    "openapi": "https://www.unstucksol.com/agents/openapi.yaml",
    "skill": "https://www.unstucksol.com/agents/SKILL.md"
  },
  "payment": {
    "today": "Beta: calls are free; the x402 flow is the planned paid tier and is not enforced.",
    "planned": {
      "protocol": "x402",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "price_usdc": { "unstuck.explain": 0.10, "unstuck.errors": 0 }
    }
  },
  "tools": [
    {
      "name": "unstuck.explain",
      "status": "planned",
      "http_today": "GET https://www.unstucksol.com/api/explain?sig=<signature>",
      "description": "What happened in a transaction, what it cost, what to do next, plus a fix: { action: retry | add_sol | use_token_account | none, params, safe }.",
      "input": { "signature": "string (base58 signature or explorer link)", "audience": "user | agent (optional, echoed back)" }
    },
    {
      "name": "unstuck.errors",
      "status": "planned",
      "http_today": "GET https://www.unstucksol.com/api/errors?q=<text>",
      "description": "Public catalog: raw Solana error, decoded, in plain words, with the typical fix.",
      "input": { "query": "string (optional)" }
    }
  ]
}
