Shopify Storefront API · Capability

Shopify Storefront API — GraphQL

Shopify Storefront API — GraphQL. 1 operations. Lead operation: Execute Storefront Query. Self-contained Naftiko capability covering one Shopify Storefront business surface.

Run with Naftiko Shopify StorefrontGraphQL

What You Can Do

POST
Executestorefrontquery — Execute Storefront Query
/v1/graphql

MCP Tools

execute-storefront-query

Execute Storefront Query

read-only

Capability Spec

shopify-storefront-graphql.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Shopify Storefront API — GraphQL
  description: 'Shopify Storefront API — GraphQL. 1 operations. Lead operation: Execute Storefront Query. Self-contained Naftiko
    capability covering one Shopify Storefront business surface.'
  tags:
  - Shopify Storefront
  - GraphQL
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SHOPIFY_STOREFRONT_API_KEY: SHOPIFY_STOREFRONT_API_KEY
capability:
  consumes:
  - type: http
    namespace: shopify-storefront-graphql
    baseUri: https://{store_name}.myshopify.com/api/2024-10/graphql.json
    description: Shopify Storefront API — GraphQL business capability. Self-contained, no shared references.
    resources:
    - name: graphql
      path: /graphql
      operations:
      - name: executestorefrontquery
        method: POST
        description: Execute Storefront Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-Shopify-Storefront-Access-Token
      value: '{{env.SHOPIFY_STOREFRONT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: shopify-storefront-graphql-rest
    port: 8080
    description: REST adapter for Shopify Storefront API — GraphQL. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/graphql
      name: graphql
      description: REST surface for graphql.
      operations:
      - method: POST
        name: executestorefrontquery
        description: Execute Storefront Query
        call: shopify-storefront-graphql.executestorefrontquery
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: shopify-storefront-graphql-mcp
    port: 9090
    transport: http
    description: MCP adapter for Shopify Storefront API — GraphQL. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: execute-storefront-query
      description: Execute Storefront Query
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: shopify-storefront-graphql.executestorefrontquery
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.