From 372cbac8dcba9e3ae75994254becbf6adc2facf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Sol=C3=A1r?= Date: Thu, 12 Nov 2026 11:11:32 +0100 Subject: [PATCH] fix: say personal token instead of long-lived in apify mcp install Addresses review feedback from #1529. Co-Authored-By: Claude Opus 5.5 --- docs/reference.md | 2 +- src/commands/mcp/install.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference.md b/docs/reference.md index 329bec2b0..fc5bed042 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -1994,7 +1994,7 @@ FLAGS -t, --token= Apify API token to embed in the config. Defaults to APIFY_TOKEN, then the token from 'apify login'. A token from an OAuth 'apify login' expires after about an - hour, so pass a long-lived one from Apify Console. + hour, so pass a personal one from Apify Console. --tools= Comma-separated tool IDs or Actor full names to expose. Forwarded as a '?tools=' query parameter. --url= Apify MCP server URL. diff --git a/src/commands/mcp/install.ts b/src/commands/mcp/install.ts index babf108f7..2d79c7892 100644 --- a/src/commands/mcp/install.ts +++ b/src/commands/mcp/install.ts @@ -44,7 +44,7 @@ function describeExpiry(remainingMs: number): string { /** * The token this command writes into a client's config is a copy: nothing refreshes it there. An * OAuth login's access token expires after about an hour, so the install silently stops working - * unless the user passes a long-lived API token instead. + * unless the user passes a personal API token instead. * * Returns false when the user declines, in which case nothing should be written. */ @@ -135,7 +135,7 @@ export class MCPInstallCommand extends ApifyCommand { ...YesFlag(`Overwrite an existing 'apify' entry, and accept a token that's about to expire, without prompting.`), token: Flags.string({ char: 't', - description: `Apify API token to embed in the config. Defaults to APIFY_TOKEN, then the token from 'apify login'. A token from an OAuth 'apify login' expires after about an hour, so pass a long-lived one from Apify Console.`, + description: `Apify API token to embed in the config. Defaults to APIFY_TOKEN, then the token from 'apify login'. A token from an OAuth 'apify login' expires after about an hour, so pass a personal one from Apify Console.`, }), url: Flags.string({ description: 'Apify MCP server URL.',