Can Grok connect to LinkedIn?
Yes. xAI's docs say custom connectors are available to all Grok users: you add any public remote MCP server on grok.com, and Grok discovers its tools. Kiin's founder has confirmed Kiin works in Grok. Developers can also attach Kiin to the xAI API as a remote MCP tool.
How to connect LinkedIn Ads to Grok
Go to grok.com/connectors, click New Connector, choose Custom, paste https://mcp.kiin.co/mcp and complete the Kiin sign-in. Grok then lists Kiin's tools and you can ask about your LinkedIn Ads in any chat. On Business and Enterprise plans an admin provisions the connector first.
- Sign up for Kiin with LinkedIn and connect your ad account.
- Open grok.com/connectors → New Connector → Custom.
- Paste
https://mcp.kiin.co/mcpand complete the sign-in Grok asks for, using your Kiin (LinkedIn) login. - In a new chat ask “What did we spend on LinkedIn last month?”
Plans: “available to all Grok users”, per xAI; Business and Enterprise need an admin to provision it in the cloud console. xAI's page does not detail the sign-in method or transports for custom connectors. Source: xAI docs, Grok connectors (checked 26 Oct 2026).
How to use Kiin with the xAI API (remote MCP tools)
The xAI API accepts a remote MCP server as a tool: pass server_url and server_label, and a bearer token in authorization. It supports streamable HTTP and SSE. Kiin signs users in with OAuth, so this route suits developers who can supply a Kiin access token; talk to us first.
import os
from xai_sdk import Client
from xai_sdk.chat import user
from xai_sdk.tools import mcp
client = Client(api_key=os.getenv("XAI_API_KEY"))
chat = client.chat.create(
model="grok-4.7",
tools=[
mcp(
server_url="https://mcp.kiin.co/mcp",
server_label="kiin",
authorization=os.getenv("KIIN_ACCESS_TOKEN"),
),
],
)
chat.append(user("What did we spend on LinkedIn Ads last month?"))
print(chat.sample().content)
Or in the OpenAI-compatible Responses API, add this to the tools array:
{
"type": "mcp",
"server_url": "https://mcp.kiin.co/mcp",
"server_label": "kiin",
"authorization": "<access token>"
}
xAI's docs list server_url and server_label as required, and authorization as the token set in the Authorization header; require_approval is not supported, so Kiin's own preview-then-confirm is the safety step. The authorization line and the Kiin URL are our adaptation of xAI's example, which uses a public server with no auth; the model name is the one xAI's example used on 26 Oct 2026. Source: xAI docs, remote MCP tools.
First prompts to try in Grok
Name Kiin in the prompt the first few times, so Grok uses the connector rather than web search.
- “Using Kiin, what did we spend on LinkedIn last month?”
- “Using Kiin, which companies engaged with our ads three or more times this month?”
- “Using Kiin, how does our cost per lead compare with similar advertisers?”
- “Run a Kiin audit and list the top three fixes. Do not apply them.”
If it does not work in Grok
Most Grok problems are plan permissions or the API route.
- There is no Custom option. On Business and Enterprise plans an admin has to provision the connector in the cloud console first.
- Grok answers from the web instead. Say "using Kiin" in the prompt, or check the connector is switched on for that chat.
- The xAI API returns an auth error. The API needs a Kiin access token in
authorization, and Kiin signs people in with OAuth. Talk to us about API tokens. - You want approval steps in the API.
require_approvalis not supported, so rely on Kiin's preview-then-confirm: the first write call changes nothing.
Other assistants
Setup guides for Claude · ChatGPT · Claude Duet · Microsoft Copilot · Cursor and Claude Code · Gemini · OpenAI dots · Perplexity. Every client and the full comparison: LinkedIn Ads MCP server.
Stuck, or setting this up for a team? Book a call →