Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,7 @@ FLAGS
-t, --token=<value> 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=<value> Comma-separated tool IDs or Actor full names
to expose. Forwarded as a '?tools=' query parameter.
--url=<value> Apify MCP server URL.
Expand Down
4 changes: 2 additions & 2 deletions src/commands/mcp/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -135,7 +135,7 @@ export class MCPInstallCommand extends ApifyCommand<typeof MCPInstallCommand> {
...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.',
Expand Down
Loading