• SCHEMA
  • ROUTING
  • DATA
  • HUMAN

How to test GraphQL payloads with your AI

Connect Crafter CMS to your AI client once. After that, your agent handles the heavy lifting of query execution and schema validation.

Ask AI about this page

Short answer

How can I use AI to test my GraphQL queries?

Your AI client uses the execute_graphql_payload tool to send raw queries to your Crafter CMS delivery engine. This lets you instantly confirm that your schema is correct and your content routing works as expected.

Validation outcomes

What you get from every query

The AI processes your request and delivers these specific results.

SCHEMA

Valid schema checks

The AI confirms your query matches the current Crafter CMS schema. You get immediate feedback if a field is missing or typed incorrectly.

ROUTING

Routing verification

Your agent checks if content is being delivered to the right endpoints. This ensures your delivery engine is hitting the right targets.

DATA

Payload inspection

The AI inspects the actual JSON returned by the engine. You can verify that the data matches your application's requirements.

HUMAN

Manual fixes

If a query fails, you decide how to adjust your schema or query structure. The AI identifies the error, but you own the resolution.

The workflow

What your AI does when the query arrives.

The AI takes your natural language request and turns it into a functional test.

  1. Query construction

    Your agent translates your intent into a properly formatted GraphQL query string.

    execute_graphql_payload
  2. Payload execution

    The AI sends the raw query directly to your Crafter CMS delivery engine.

    execute_graphql_payload
  3. Result analysis

    The agent parses the JSON response to check for errors or unexpected data shapes.

    execute_graphql_payload
  4. Error reporting

    The AI explains exactly why a query failed, pointing out schema mismatches or routing issues.

    execute_graphql_payload

Try it

Copy these to start.

Use these prompts to begin testing your delivery engine.

Starting points

These are starting points. Swap out the specific field names or query fragments for your own.

Crafter CMS Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_P6chfyKRMZprL0PepFRAV3G74EOIIhKLJtyhWAmH/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Crafter CMS capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "crafter-cms-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_P6chfyKRMZprL0PepFRAV3G74EOIIhKLJtyhWAmH/mcp"
    }
  }
}
Copy into chat04
  • Run a GraphQL query to fetch the latest blog posts from my Crafter CMS.

  • Check if the 'author' field in my content schema is returning the correct object type.

  • Test the routing for my product catalog by executing a query for all items in the 'electronics' category.

  • Verify the GraphQL payload for my landing page hero component.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Crafter CMS once, then ask.

Follow the link to connect your account. Your credentials stay encrypted, and you can immediately start running queries through your preferred AI client.

Connect Crafter CMS to your AI

FAQ

How this task behaves

  • 01

    Can the AI change my CMS schema?

    No. The AI can only execute queries to read and verify data; it cannot modify your schema or content.

  • 02

    Does the AI delete any content?

    No. This tool is strictly for executing GraphQL payloads to verify delivery and schema.

  • 03

    Can I use this to update content?

    No. The current capability is limited to executing queries for verification purposes.

  • 04

    How does the AI handle query errors?

    The AI reads the error response from the delivery engine and explains the mismatch or routing failure to you.

  • 05

    Do I need to write the GraphQL manually?

    You don't have to. You can describe the data you want in plain English, and your agent will construct the query for you.

  • More questions about Crafter CMS? The Connector page answers them. See everything the Crafter CMS Connector can do

Connect Crafter CMS to Claude, Cursor, ChatGPT & more