{
  "name": "OneDollarStock commerce",
  "version": "0.1.0",
  "origin": "https://www.onedollarstock.com",
  "service_endpoint": "https://www.onedollarstock.com/api/ucp/mcp",
  "protocol_version": "2026-04-08",
  "endpoints": {
    "mcp": "https://www.onedollarstock.com/api/ucp/mcp",
    "agent_card": "https://www.onedollarstock.com/.well-known/agent-card.json",
    "storefront": "https://www.onedollarstock.com"
  },
  "ucp": {
    "version": "2026-04-08",
    "services": {
      "dev.ucp.shopping": [
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/overview",
          "transport": "mcp",
          "endpoint": "https://www.onedollarstock.com/api/ucp/mcp",
          "schema": "https://ucp.dev/2026-04-08/services/shopping/mcp.openrpc.json"
        },
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/overview",
          "transport": "a2a",
          "endpoint": "https://www.onedollarstock.com/.well-known/agent-card.json"
        }
      ]
    },
    "capabilities": {
      "dev.ucp.shopping.cart": [
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/cart",
          "schema": "https://ucp.dev/2026-04-08/schemas/shopping/cart.json",
          "config": {
            "payment_mode": "user_confirmed_shopify_checkout",
            "payment_completed_by_tools": false
          }
        }
      ],
      "dev.ucp.shopping.checkout": [
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/checkout",
          "schema": "https://ucp.dev/2026-04-08/schemas/shopping/checkout.json",
          "config": {
            "checkout_provider": "Shopify",
            "checkout_confirmation": "user_visible_browser_checkout",
            "payment_mode": "user_confirmed_shopify_checkout",
            "payment_completed_by_tools": false
          }
        }
      ]
    }
  },
  "services": {
    "dev.ucp.shopping": [
      {
        "version": "2026-04-08",
        "transport": "mcp",
        "endpoint": "https://www.onedollarstock.com/api/ucp/mcp"
      },
      {
        "version": "2026-04-08",
        "transport": "a2a",
        "endpoint": "https://www.onedollarstock.com/.well-known/agent-card.json"
      }
    ]
  },
  "capabilities": {
    "dev.ucp.shopping.cart": {
      "version": "2026-04-08",
      "payment_mode": "user_confirmed_shopify_checkout"
    },
    "dev.ucp.shopping.checkout": {
      "version": "2026-04-08",
      "checkout_provider": "Shopify",
      "payment_mode": "user_confirmed_shopify_checkout",
      "payment_completed_by_tools": false
    }
  },
  "commerce": {
    "payment_mode": "user_confirmed_shopify_checkout",
    "payment_completed_by_tools": false,
    "checkout_provider": "Shopify",
    "checkout_confirmation": "user_visible_browser_checkout",
    "tools": [
      {
        "name": "onedollarstock.search",
        "title": "Search OneDollarStock",
        "description": "Search OneDollarStock for stock assets, collections, templates, photos, vectors, or other creative resources.",
        "inputSchema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "query"
          ],
          "properties": {
            "query": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120,
              "description": "Search phrase to use on the storefront."
            }
          }
        },
        "annotations": {
          "readOnlyHint": true
        }
      },
      {
        "name": "onedollarstock.get_product",
        "title": "Get Product",
        "description": "Fetch public Shopify product JSON by handle and return variants, prices, links, and checkout/cart URLs.",
        "inputSchema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "handle"
          ],
          "properties": {
            "handle": {
              "type": "string",
              "pattern": "^[a-z0-9][a-z0-9-]{0,120}$",
              "description": "Shopify product handle, for example stock-photo-pack."
            }
          }
        },
        "annotations": {
          "readOnlyHint": true,
          "untrustedContentHint": true
        }
      },
      {
        "name": "onedollarstock.get_license",
        "title": "Get License Guidance",
        "description": "Return storefront license and purchase-confirmation guidance for agents.",
        "inputSchema": {
          "type": "object",
          "additionalProperties": false,
          "properties": {}
        },
        "annotations": {
          "readOnlyHint": true
        }
      },
      {
        "name": "onedollarstock.create_cart",
        "title": "Create Cart Link",
        "description": "Create Shopify cart and checkout permalinks from variant IDs and quantities without taking payment.",
        "inputSchema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "items"
          ],
          "properties": {
            "items": {
              "type": "array",
              "minItems": 1,
              "maxItems": 20,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "variant_id",
                  "quantity"
                ],
                "properties": {
                  "variant_id": {
                    "type": "integer",
                    "minimum": 1
                  },
                  "quantity": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 99
                  }
                }
              }
            },
            "discount": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            }
          }
        },
        "annotations": {
          "readOnlyHint": true
        }
      },
      {
        "name": "onedollarstock.checkout_url",
        "title": "Get Checkout URL",
        "description": "Return a user-visible Shopify checkout URL for the current browser cart or supplied cart items.",
        "inputSchema": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "items": {
              "type": "array",
              "minItems": 1,
              "maxItems": 20,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "variant_id",
                  "quantity"
                ],
                "properties": {
                  "variant_id": {
                    "type": "integer",
                    "minimum": 1
                  },
                  "quantity": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 99
                  }
                }
              }
            },
            "discount": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            }
          }
        },
        "annotations": {
          "readOnlyHint": true
        }
      }
    ]
  }
}