Grok

xAI’s Grok supports remote MCP servers, letting you use Toolcog for API operations across your conversations.

Prerequisites

Configuration

Grok supports remote MCP tools through its configuration.

Adding Toolcog

In Grok’s MCP configuration, add Toolcog as a remote server:

{
"mcpServers": {
"toolcog": {
"url": "https://mcp.toolcog.com"
}
}
}

For programmatic access via the xAI SDK (version 1.4.0+), configure remote MCP tools in your client setup.

Using Toolcog

Ask Grok to use APIs:

“Find Mailchimp operations for managing subscriber lists”

Grok will use Toolcog to discover operations, learn their interfaces, and execute them when you ask.

Authentication

When Grok needs to access your Toolcog account:

  1. Grok displays an authorization link
  2. Click to sign in to Toolcog in your browser
  3. Return to Grok

For downstream services (Mailchimp, Stripe, etc.), the same pattern applies.

Multiple Servers

You can connect multiple MCP servers to Grok simultaneously:

{
"mcpServers": {
"toolcog": {
"url": "https://mcp.toolcog.com"
},
"toolcog-internal": {
"url": "https://mcp.toolcog.com/mycompany/internal-apis"
}
}
}

Each server provides different capabilities accessible in the same conversation.

Verify It’s Working

Ask Grok:

“What Notion operations are available for creating pages?”

If Grok returns a list of operations, Toolcog is connected.

Troubleshooting

Server not connecting

Authentication errors

Tools not appearing

Next Steps