# How to integrate Linkup MCP with Grok Build

```json
{
  "title": "How to integrate Linkup MCP with Grok Build",
  "toolkit": "Linkup",
  "toolkit_slug": "linkup",
  "framework": "Grok Build",
  "framework_slug": "grok-build",
  "url": "https://composio.dev/toolkits/linkup/framework/grok-build",
  "markdown_url": "https://composio.dev/toolkits/linkup/framework/grok-build.md",
  "updated_at": "2026-11-06T09:30:45.550Z"
}
```

## Introduction

### How to integrate Linkup MCP with Grok Build
[Grok Build](https://docs.x.ai/build/overview) is xAI's terminal coding agent. It runs on Grok 4.5, plans its work before it acts, and can run multiple sub-agents in parallel. It also reads Claude Code's MCP configuration, so any server you already have in a .mcp.json is picked up with no changes.
In this guide, I will show you how to connect your Linkup account to Grok Build through Composio, so it can find recent articles on quantum computing breakthroughs, summarize top news about generative AI today, get sourced answer about electric vehicle market trends, and more without leaving the terminal. Composio holds the OAuth tokens for you, and Grok Build only calls the tools you approve.

## Also integrate Linkup with

- [Claude Code](https://composio.dev/toolkits/linkup/framework/claude-code)
- [Cursor](https://composio.dev/toolkits/linkup/framework/cursor)
- [ChatGPT](https://composio.dev/toolkits/linkup/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/linkup/framework/claude-cowork)
- [Antigravity](https://composio.dev/toolkits/linkup/framework/antigravity)
- [OpenAI Agents SDK](https://composio.dev/toolkits/linkup/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/linkup/framework/claude-agents-sdk)
- [Muse](https://composio.dev/toolkits/linkup/framework/muse)
- [Codex](https://composio.dev/toolkits/linkup/framework/codex)
- [VS Code](https://composio.dev/toolkits/linkup/framework/vscode)
- [OpenCode](https://composio.dev/toolkits/linkup/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/linkup/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/linkup/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/linkup/framework/atomic-agent)
- [Pi](https://composio.dev/toolkits/linkup/framework/pi-agent)
- [DeepSeek Harness](https://composio.dev/toolkits/linkup/framework/deepseek)
- [Google ADK](https://composio.dev/toolkits/linkup/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/linkup/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/linkup/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/linkup/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/linkup/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/linkup/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/linkup/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/linkup/framework/autogen)

## TL;DR

### Why use Composio over a standalone MCP server?
- Read and write access. Composio's Linkup integration lets Grok Build take real actions like creating drafts, sending updates, and labeling records, not just reading data.
- 1,500+ SaaS toolkits out of the box. One endpoint gives you a full catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
- One MCP server for every app. Wire up a single Composio server instead of maintaining a separate MCP entry for each app.
- Smart, context-aware tool loading. Grok Build caps how many tools it holds in a single request. Composio loads only the tools a task needs, so you do not spend that budget on tools you are not using.
- Cross-app automation. Chain actions across apps in one run. Pull a thread, summarize it in Notion, and post the highlights to Slack from a single prompt.

## Connect Linkup to Grok Build

### Prerequisites
- Grok Build installed and signed in. Install with curl -fsSL https://x.ai/cli/install.sh | bash on macOS or Linux, or irm https://x.ai/cli/install.ps1 | iex on Windows PowerShell. On first launch Grok opens a browser to authenticate; for headless or CI use, set an XAI_API_KEY environment variable instead (create the key at [console.x.ai](https://console.x.ai/)).
- Access to the Linkup account you want to connect.
- The [Composio MCP endpoint](https://dashboard.composio.dev/login?utm_source=toolkits&utm_medium=framework_template&utm_campaign=grok-build&utm_content=composio_connect). Composio's server is remote and hosted, so there is nothing to run locally and no tunnel to set up.
### Step-by-step: Connect Linkup to Grok Build
### 1. Install and verify Grok Build
Install the CLI, then restart your shell so the grok binary lands on your PATH:

```bash
curl -fsSL https://x.ai/cli/install.sh | bash
which grok
```

## What is the Linkup MCP server, and what's possible with it?

The Linkup MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Linkup account. It provides structured and secure access to web search, webpage content, response generation, and account credit information, so your agent can research topics, find relevant sources, retrieve webpage content, generate responses, and check available credits on your behalf.
- Focused web research: Have your agent search the web for relevant results and insights about a topic, question, company, or recent event.
- Webpage content retrieval: Direct your agent to fetch a webpage from a given URL and return its content in a readable markdown format.
- Source-based analysis: Let the agent search for useful sources, retrieve selected pages, and use their content to support further analysis.
- Response generation: Instruct your agent to generate a response through Linkup using an OpenAI-compatible request.
- Credit balance checks: Have your agent retrieve your current Linkup credits balance before running more searches or fetching webpages.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `LINKUP_CREATE_RESPONSE` | Create Response | Proxy endpoint for OpenAI-compatible response generation. Used when the OpenAI client's base URL is set to Linkup. Supports 'linkup-standard' for faster results and 'linkup-deep' for more comprehensive results. |
| `LINKUP_FETCH_WEBPAGE` | Fetch Webpage | Fetch and retrieve a markdown representation of a webpage from a given URL. Supports optional JavaScript rendering for single-page applications, raw HTML extraction, and image extraction from the webpage content. Use this when you need to extract clean, structured content from web pages. |
| `LINKUP_GET_CREDITS_BALANCE` | Get Credits Balance | Tool to retrieve the current credits balance for your Linkup account. Returns the number of credits remaining that can be used for search and fetch operations. |
| `LINKUP_SEARCH` | Search Linkup | Search the web using Linkup for sourced answers, raw search results, or custom structured JSON. Filter by date and domain, optionally include images, and choose standard or deep search depth; standard uses 1 credit and deep uses 10 credits. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, Grok Build can access the Linkup MCP server via Composio to run the app actions you authorize, directly from your terminal.

## Complete Code

None listed.

## How to build Linkup MCP Agent with another framework

- [Claude Code](https://composio.dev/toolkits/linkup/framework/claude-code)
- [Cursor](https://composio.dev/toolkits/linkup/framework/cursor)
- [ChatGPT](https://composio.dev/toolkits/linkup/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/linkup/framework/claude-cowork)
- [Antigravity](https://composio.dev/toolkits/linkup/framework/antigravity)
- [OpenAI Agents SDK](https://composio.dev/toolkits/linkup/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/linkup/framework/claude-agents-sdk)
- [Muse](https://composio.dev/toolkits/linkup/framework/muse)
- [Codex](https://composio.dev/toolkits/linkup/framework/codex)
- [VS Code](https://composio.dev/toolkits/linkup/framework/vscode)
- [OpenCode](https://composio.dev/toolkits/linkup/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/linkup/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/linkup/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/linkup/framework/atomic-agent)
- [Pi](https://composio.dev/toolkits/linkup/framework/pi-agent)
- [DeepSeek Harness](https://composio.dev/toolkits/linkup/framework/deepseek)
- [Google ADK](https://composio.dev/toolkits/linkup/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/linkup/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/linkup/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/linkup/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/linkup/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/linkup/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/linkup/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/linkup/framework/autogen)

## Related Toolkits

- [Composio](https://composio.dev/toolkits/composio) - Composio is an integration platform that connects AI agents with hundreds of business tools. It streamlines authentication and lets you trigger actions across services—no custom code needed.
- [Composio search](https://composio.dev/toolkits/composio_search) - Composio search is a unified web search toolkit spanning travel, e-commerce, news, financial markets, images, and more. It lets you and your apps tap into up-to-date web data from a single, easy-to-integrate service.
- [Perplexityai](https://composio.dev/toolkits/perplexityai) - Perplexityai delivers natural, conversational AI models for generating human-like text. Instantly get context-aware, high-quality responses for chat, search, or complex workflows.
- [Browser tool](https://composio.dev/toolkits/browser_tool) - Browser tool is a virtual browser integration that lets AI agents interact with the web programmatically. It enables automated browsing, scraping, and action-taking from any AI workflow.
- [Ai ml api](https://composio.dev/toolkits/ai_ml_api) - Ai ml api is a suite of AI/ML models for natural language and image tasks. It provides fast, scalable access to advanced AI capabilities for your apps and workflows.
- [Aivoov](https://composio.dev/toolkits/aivoov) - Aivoov is an AI-powered text-to-speech platform offering 1,000+ voices in over 150 languages. Instantly turn written content into natural, human-like audio for any application.
- [All images ai](https://composio.dev/toolkits/all_images_ai) - All-Images.ai is an AI-powered image generation and management platform. It helps you create, search, and organize images effortlessly with advanced AI capabilities.
- [AltTextLab](https://composio.dev/toolkits/alt_text_lab) - AltTextLab is an AI service that generates accessible, SEO-aware alt text for images. It helps teams make image content easier to understand, index, and publish.
- [Anthropic administrator](https://composio.dev/toolkits/anthropic_administrator) - Anthropic administrator is an API for managing Anthropic organizational resources like members, workspaces, and API keys. It helps you automate admin tasks and streamline resource management across your Anthropic organization.
- [Api labz](https://composio.dev/toolkits/api_labz) - Api labz is a platform offering a suite of AI-driven APIs and workflow tools. It helps developers automate tasks and build smarter, more efficient applications.
- [Apiframe](https://composio.dev/toolkits/apiframe) - Apiframe is an API platform for generating and managing AI images, videos, music, uploads, assets, jobs, and custom LoRAs. It gives developers one clean API for creative AI workflows without juggling multiple model providers.
- [Apipie ai](https://composio.dev/toolkits/apipie_ai) - Apipie ai is an AI model aggregator offering a single API for accessing top AI models from multiple providers. It helps developers build cost-efficient, latency-optimized AI solutions without juggling multiple integrations.
- [Arize AX](https://composio.dev/toolkits/arize_ax) - Arize AX is an AI engineering platform for tracing, evaluating, and improving AI applications. Use it to debug LLM behavior, compare experiments, and improve production AI quality.
- [Artificial Analysis](https://composio.dev/toolkits/artificial_analysis) - Artificial Analysis is an independent benchmarking platform for AI models and API providers. Use it to compare model intelligence, coding, math, pricing, latency, throughput, and arena rankings.
- [AssemblyAI](https://composio.dev/toolkits/assemblyai) - AssemblyAI is a speech-to-text and audio intelligence API for uploaded or hosted media. Use it to turn audio and video into accurate transcripts, summaries, and insights.
- [Astica ai](https://composio.dev/toolkits/astica_ai) - Astica ai provides APIs for computer vision, NLP, and voice synthesis. Integrate advanced AI features into your app with a single API key.
- [Avoma](https://composio.dev/toolkits/avoma) - Avoma is an AI meeting assistant for recording, transcribing, analyzing, and managing meetings, calls, notes, scorecards, and conversation intelligence. It helps teams turn conversations into searchable notes, follow-ups, coaching insights, and revenue intelligence.
- [Bigml](https://composio.dev/toolkits/bigml) - BigML is a machine learning platform that lets you build, train, and deploy predictive models from your data. Its intuitive interface and robust API make machine learning accessible and efficient.
- [Black Forest Labs](https://composio.dev/toolkits/bfl) - Black Forest Labs provides hosted FLUX models for generating and editing images and videos. It offers fast, flexible media creation with asynchronous processing and fine-tuning support.
- [Bland AI](https://composio.dev/toolkits/bland_ai) - Bland AI is a conversational AI platform for building voice agents, phone calls, messaging, and communication workflows. Use it to automate calling, evaluate conversations, and run voice operations at scale.

## Frequently Asked Questions

### What is the difference between the Composio Tool Router and a standalone Linkup MCP server?

A standalone Linkup MCP server gives Grok Build a fixed set of Linkup tools tied to that one server. The Composio Tool Router lets Grok Build load tools from Linkup and many other apps on demand, based on the task, all through a single endpoint.

### Does Grok Build support MCP?

Yes. Grok Build ships with native MCP support. Add a server with the grok mcp add command, from the in-session /mcps modal, or by editing ~/.grok/config.toml. It also reads Claude Code-style .mcp.json files, so Grok Build discovers the tools automatically.

### Can I reuse the same MCP config I already use with Claude Code?

Yes. Grok Build has zero-migration compatibility with Claude Code's configuration, so the same Composio server entry works in both without edits.

### How safe is my Linkup data with Composio?

Tokens, keys, and configuration are encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant, so your Linkup data and credentials are handled to that standard.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
