{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "name": "parallel-paradigm-agent-commerce",
  "version": "1.0.0",
  "description": "Model Context Protocol (MCP) server & machine endpoint for discovering, purchasing, and executing Parallel Paradigm AI Design Harnesses.",
  "homepage": "https://parallelparadigm.org",
  "pricing": {
    "currency": "USD",
    "rate_model": "FLAT_FEE_PER_EXECUTION",
    "unit_amount": 5.00,
    "payment_method": "STRIPE_FIAT"
  },
  "endpoints": {
    "discovery": "https://parallelparadigm.org/api/agent/v1/discovery",
    "authentication": "https://parallelparadigm.org/api/agent/v1/auth",
    "payment": "https://parallelparadigm.org/api/agent/v1/pay",
    "execution": "https://parallelparadigm.org/api/agent/v1/harness/execute"
  },
  "tools": [
    {
      "name": "purchase_design_harness",
      "description": "Authorize and settle a $5.00 USD Stripe fiat payment to obtain a cryptographic Execution Token for the Parallel Paradigm design harness.",
      "parameters": {
        "type": "object",
        "properties": {
          "paymentMethodId": {
            "type": "string",
            "description": "Stripe Payment Method ID (pm_...) or 'auto_agent_intent' for testing/pre-funded agent wallets."
          },
          "agentId": {
            "type": "string",
            "description": "Unique identifier of the executing AI agent."
          }
        },
        "required": ["agentId"]
      }
    },
    {
      "name": "execute_design_harness",
      "description": "Submit project parameters alongside a valid $5.00 ExecutionToken to generate complete architecture blueprints, brand DNA palettes, and component manifests.",
      "parameters": {
        "type": "object",
        "properties": {
          "executionToken": {
            "type": "string",
            "description": "Cryptographically signed token returned by /api/agent/v1/pay."
          },
          "projectName": {
            "type": "string",
            "description": "Name of the target project/application."
          },
          "projectDescription": {
            "type": "string",
            "description": "Full semantic description of requirements and user stories."
          },
          "targetAudience": {
            "type": "string",
            "description": "Primary user personas."
          },
          "brandAesthetic": {
            "type": "object",
            "properties": {
              "luminance": { "type": "number", "minimum": 0, "maximum": 1 },
              "chroma": { "type": "number", "minimum": 0, "maximum": 1 },
              "thermal": { "type": "number", "minimum": -1, "maximum": 1 }
            }
          }
        },
        "required": ["executionToken", "projectName", "projectDescription"]
      }
    }
  ]
}
