{
  "$schema": "https://modelcontextprotocol.io/schemas/server-card/v1.json",
  "name": "OneTapQR MCP Server",
  "version": "1.0.0",
  "description": "Model Context Protocol tools for generating custom vector QR codes, barcode decoding, and link management.",
  "endpoint": "https://onetap-tools.com/api/mcp",
  "transport": "http",
  "capabilities": {
    "tools": [
      {
        "name": "generate_qr_code",
        "description": "Generate custom vector QR code with color, logo, and format options",
        "inputSchema": {
          "type": "object",
          "properties": {
            "text": {
              "type": "string",
              "description": "The payload URL or text to encode"
            },
            "format": {
              "type": "string",
              "enum": ["svg", "png", "pdf", "eps"],
              "default": "svg"
            },
            "errorCorrectionLevel": {
              "type": "string",
              "enum": ["L", "M", "Q", "H"],
              "default": "H"
            }
          },
          "required": ["text"]
        }
      },
      {
        "name": "decode_qr_code",
        "description": "Decode and parse QR code image matrix into payload data",
        "inputSchema": {
          "type": "object",
          "properties": {
            "imageUrl": {
              "type": "string",
              "description": "URL or base64 data of QR image"
            }
          },
          "required": ["imageUrl"]
        }
      }
    ]
  }
}
