Salesforce Experience Cloud Salesforce GraphQL API — GraphQL

Salesforce Experience Cloud Salesforce GraphQL API — GraphQL. 1 operations. Lead operation: Salesforce Experience Cloud Execute a GraphQL Query or Mutation. Self-contained Naftiko capability covering one Salesforce Experience Cloud business surface.

Run with Naftiko Salesforce Experience CloudGraphQL

What You Can Do

POST
Executegraphqlquery — Salesforce Experience Cloud Execute a GraphQL Query or Mutation
/v1/graphql

MCP Tools

salesforce-experience-cloud-execute-graphql

Salesforce Experience Cloud Execute a GraphQL Query or Mutation

read-only

Capability Spec

graphql-graphql.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce Experience Cloud Salesforce GraphQL API — GraphQL
  description: 'Salesforce Experience Cloud Salesforce GraphQL API — GraphQL. 1 operations. Lead operation: Salesforce Experience
    Cloud Execute a GraphQL Query or Mutation. Self-contained Naftiko capability covering one Salesforce Experience Cloud
    business surface.'
  tags:
  - Salesforce Experience Cloud
  - GraphQL
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_EXPERIENCE_CLOUD_API_KEY: SALESFORCE_EXPERIENCE_CLOUD_API_KEY
capability:
  consumes:
  - type: http
    namespace: graphql-graphql
    baseUri: https://{instance}.salesforce.com/services/data/v59.0
    description: Salesforce Experience Cloud Salesforce GraphQL API — GraphQL business capability. Self-contained, no shared
      references.
    resources:
    - name: graphql
      path: /graphql
      operations:
      - name: executegraphqlquery
        method: POST
        description: Salesforce Experience Cloud Execute a GraphQL Query or Mutation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.SALESFORCE_EXPERIENCE_CLOUD_API_KEY}}'
  exposes:
  - type: rest
    namespace: graphql-graphql-rest
    port: 8080
    description: REST adapter for Salesforce Experience Cloud Salesforce GraphQL 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: executegraphqlquery
        description: Salesforce Experience Cloud Execute a GraphQL Query or Mutation
        call: graphql-graphql.executegraphqlquery
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: graphql-graphql-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce Experience Cloud Salesforce GraphQL API — GraphQL. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: salesforce-experience-cloud-execute-graphql
      description: Salesforce Experience Cloud Execute a GraphQL Query or Mutation
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: graphql-graphql.executegraphqlquery
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.