Skip to main content
POST
/
v1
/
ui
/
products
/
mcp
/
bootstrap
/
preview
Preview MCP bootstrap
curl --request POST \
  --url https://api.example.com/v1/ui/products/mcp/bootstrap/preview \
  --header 'Content-Type: application/json' \
  --data '
{
  "originUrl": "<string>",
  "metadata": {},
  "name": "<string>",
  "description": "<string>",
  "imageUrl": "<string>",
  "productType": "<string>",
  "mcpDomain": "<string>",
  "authHeaderName": "<string>",
  "authApiKey": "<string>",
  "plans": [
    {
      "key": "<string>",
      "name": "<string>",
      "price": 1,
      "currency": "<string>",
      "billingCycle": "weekly",
      "type": "recurring",
      "creditsPerUnit": 123,
      "billingModel": "pre-paid",
      "freeUnits": 1,
      "limit": 1,
      "features": {}
    }
  ],
  "tools": [
    {
      "name": "<string>",
      "description": "<string>",
      "noPlan": true,
      "planKeys": [
        "<string>"
      ]
    }
  ]
}
'
{
  "discoveredTools": [
    {
      "name": "<string>",
      "description": "<string>"
    }
  ],
  "validation": {
    "valid": true,
    "errors": [
      "<unknown>"
    ]
  },
  "metadataSource": {
    "name": "request",
    "description": "request"
  },
  "suggestedMapping": [
    {
      "name": "<string>",
      "description": "<string>",
      "planKey": "<string>"
    }
  ],
  "derivedName": "acme-origin-mcp",
  "derivedDescription": "MCP toolkit for document retrieval and summarization."
}

Body

application/json
originUrl
string<uri>
required
Minimum string length: 1
metadata
object
required
name
string
description
string
imageUrl
string
productType
string
mcpDomain
string
authHeaderName
string
authApiKey
string
plans
object[]
tools
object[]

Response

Bootstrap preview generated successfully

discoveredTools
object[]
required

Discovered tools from the origin MCP server

validation
object
required

Validation status for the provided bootstrap payload

metadataSource
object
required

Source of derived metadata

suggestedMapping
object[]
required

Suggested default tool-to-plan mapping for UI review

derivedName
string

Product name derived from origin MCP metadata or hostname fallback

Example:

"acme-origin-mcp"

derivedDescription
string

Product description derived from origin server instructions

Example:

"MCP toolkit for document retrieval and summarization."