From a8b05334ae3449ff2e59805a1b1816d8c147b1bb Mon Sep 17 00:00:00 2001 From: MQ37 Date: Mon, 1 Dec 2025 09:26:54 +0100 Subject: [PATCH 1/2] docs: add mcp ui configurator to the vercel ai page --- sources/platform/integrations/ai/vercel-ai-sdk.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sources/platform/integrations/ai/vercel-ai-sdk.md b/sources/platform/integrations/ai/vercel-ai-sdk.md index b73aa55a7b..00d7129bf6 100644 --- a/sources/platform/integrations/ai/vercel-ai-sdk.md +++ b/sources/platform/integrations/ai/vercel-ai-sdk.md @@ -52,6 +52,13 @@ Make sure to set the `APIFY_TOKEN` environment variable with your Apify API toke ::: + +:::tip Easy configuration + +Use the UI configurator `https://mcp.apify.com/` to select your tools visually, then copy the configuration to your client. + +::: + ```typescript // Connect to the Apify MCP server and get the available tools const url = new URL('https://mcp.apify.com'); From 00342b555b294ecf61e4afc3298d9ebfc7fe363d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Olender?= <92638966+TC-MO@users.noreply.github.com> Date: Wed, 10 Dec 2025 11:06:11 +0100 Subject: [PATCH 2/2] remake admonitions remove stacked admonition remake them into prose --- .../platform/integrations/ai/vercel-ai-sdk.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/sources/platform/integrations/ai/vercel-ai-sdk.md b/sources/platform/integrations/ai/vercel-ai-sdk.md index 00d7129bf6..37a773b518 100644 --- a/sources/platform/integrations/ai/vercel-ai-sdk.md +++ b/sources/platform/integrations/ai/vercel-ai-sdk.md @@ -27,7 +27,7 @@ Apify is a marketplace of ready-to-use web scraping and automation tools, AI age ### Prerequisites -- _Apify API token_: To use Apify Actors in Vercel AI SDK, you need an Apify API token. To obtain your token check [Apify documentation](https://docs.apify.com/platform/integrations/api). +- _Apify API token_: You need an Apify API token set as the `APIFY_TOKEN` environment variable. To obtain your token check [Apify documentation](https://docs.apify.com/platform/integrations/api). - _Node.js packages_: Install the following Node.js packages: ```bash @@ -44,20 +44,7 @@ import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/ import { createOpenRouter } from '@openrouter/ai-sdk-provider'; ``` -Connect to the Apify MCP server and get all available tools for the AI agent: - -:::warning Required setup - -Make sure to set the `APIFY_TOKEN` environment variable with your Apify API token before running the code. - -::: - - -:::tip Easy configuration - -Use the UI configurator `https://mcp.apify.com/` to select your tools visually, then copy the configuration to your client. - -::: +Connect to the Apify MCP server and get all available tools for the AI agent. You can use the [UI configurator](https://mcp.apify.com/) to select your tools visually and generate the configuration code below: ```typescript // Connect to the Apify MCP server and get the available tools