From 9bb216d5a3ad09050995a7e45427ef76e432b8bc Mon Sep 17 00:00:00 2001 From: MQ37 Date: Tue, 23 Jun 2026 12:55:32 +0200 Subject: [PATCH 1/2] docs(mcp): mention CLI install command --- sources/platform/integrations/ai/mcp.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/sources/platform/integrations/ai/mcp.md b/sources/platform/integrations/ai/mcp.md index a824158fca..f561e64e24 100644 --- a/sources/platform/integrations/ai/mcp.md +++ b/sources/platform/integrations/ai/mcp.md @@ -104,6 +104,24 @@ _MCP server configuration for other clients_: Use the [UI configuration tool](ht Here's how to add the Apify MCP server to popular text editors and AI assistants: +:::tip Configure with Apify CLI + +Run `apify mcp install ` to add the Apify MCP server to a supported local client. Replace `` with `claude-code`, `cursor`, `vscode`, `vscode-insiders`, `codex`, `kiro`, or `antigravity`. + +For clients that need a token, the command uses the API token from `apify login`. Pass `--token ` to use a specific token. + +```bash +apify mcp install cursor +``` + +Use `--tools` to expose only selected tools or Actors: + +```bash +apify mcp install vscode --tools search-actors,apify/rag-web-browser +``` + +::: + From d86a907a78f01c9204c025849b4b8dddce0ac8c5 Mon Sep 17 00:00:00 2001 From: MQ37 Date: Wed, 24 Jun 2026 17:03:54 +0200 Subject: [PATCH 2/2] docs(mcp): address CLI install feedback --- sources/platform/integrations/ai/mcp.md | 43 ++++++++++++++----------- 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/sources/platform/integrations/ai/mcp.md b/sources/platform/integrations/ai/mcp.md index f561e64e24..9c4fa0c33c 100644 --- a/sources/platform/integrations/ai/mcp.md +++ b/sources/platform/integrations/ai/mcp.md @@ -104,24 +104,6 @@ _MCP server configuration for other clients_: Use the [UI configuration tool](ht Here's how to add the Apify MCP server to popular text editors and AI assistants: -:::tip Configure with Apify CLI - -Run `apify mcp install ` to add the Apify MCP server to a supported local client. Replace `` with `claude-code`, `cursor`, `vscode`, `vscode-insiders`, `codex`, `kiro`, or `antigravity`. - -For clients that need a token, the command uses the API token from `apify login`. Pass `--token ` to use a specific token. - -```bash -apify mcp install cursor -``` - -Use `--tools` to expose only selected tools or Actors: - -```bash -apify mcp install vscode --tools search-actors,apify/rag-web-browser -``` - -::: - @@ -237,6 +219,31 @@ You can also search for "Apify" in the connector directory and install it direct For detailed setup options and troubleshooting, see the [Claude Desktop integration guide](/platform/integrations/claude-desktop). + + + +Use the Apify CLI to add the Apify MCP server to a supported local client: + +```bash +apify mcp install cursor +``` + +Available clients are: `claude-code`, `cursor`, `vscode`, `vscode-insiders`, `codex`, `kiro`, and `antigravity`. + +The command creates or updates a user-level MCP server entry named `apify`. For Cursor, Kiro, and Antigravity, it writes to the client's MCP config file. For Claude Code, VS Code, VS Code Insiders, and Codex CLI, it uses the client's own install command. + +By default, the command uses the API token saved by `apify login`. To use a different token or Apify account than the one configured in the Apify CLI, pass `--token `: + +```bash +apify mcp install cursor --token +``` + +Use `--tools` to expose only selected tools or Actors: + +```bash +apify mcp install vscode --tools search-actors,apify/rag-web-browser +``` +