Build on Shruwd

Use Shruwd in Grok

Add Shruwd to Grok as a custom connector, sign in, and ask Grok about your brand in AI answers. Or call it from the xAI API.

Add Shruwd to Grok as a custom connector. Grok can then read your brand's visibility in AI answers, its findings and its crawler activity, and set up prompts and competitors for you.

Add the connector

  1. Go to grok.com/connectors.
  2. Click New Connector, then Custom.
  3. Enter the URL:
    text
    https://shruwd.io/mcp
    
  4. Sign in to Shruwd, choose the workspace and the access, and click Allow.

Grok Business and Enterprise: an admin adds the connector first, at console.x.ai under Grok Business → Connectors → Add Connector → Other.

Ask

  • "What's my AI visibility for acme.com?"
  • "Which findings should I fix first?"
  • "Which AI crawlers visited my site this week?"

From the xAI API

Pass Shruwd as a remote MCP tool, with an API key from Account → API keys as its authorization:

curl https://api.x.ai/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $XAI_API_KEY" \
  -d '{
    "model": "grok-4.7",
    "input": [{ "role": "user", "content": "What is my AI visibility on Google AI Overviews?" }],
    "tools": [{
      "type": "mcp",
      "server_url": "https://shruwd.io/mcp",
      "server_label": "shruwd",
      "authorization": "sh_live_…"
    }]
  }'

The key works with or without Bearer in front.

Disconnect

In Shruwd, go to Account → API keys. Under Connected apps, remove Grok. It is signed out at once. A key used from the API is revoked from the same page.

Next steps