You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,8 +58,7 @@ For example, it can:
58
58
You can use the Apify MCP Server in two ways:
59
59
60
60
**HTTPS Endpoint (mcp.apify.com)**: Connect from your MCP client via OAuth or by including the `Authorization: Bearer <APIFY_TOKEN>` header in your requests. This is the recommended method for most use cases. Because it supports OAuth, you can connect from clients like [Claude.ai](https://claude.ai) or [Visual Studio Code](https://code.visualstudio.com/) using just the URL: `https://mcp.apify.com`.
61
-
-`https://mcp.apify.com` (recommended) for streamable transport
62
-
-`https://mcp.apify.com/sse` for legacy SSE transport
61
+
-`https://mcp.apify.com` streamable transport
63
62
64
63
**Standard Input/Output (stdio)**: Ideal for local integrations and command-line tools like the Claude for Desktop client.
65
64
- Set the MCP client server command to `npx @apify/actors-mcp-server` and the `APIFY_TOKEN` environment variable to your Apify API token.
returnbuildMCPResponse([`This is an MCP Server Actor with the following tools:\n\n${toolsInfo}\n\nTo call a tool, use step="call" with actor name format: "${baseActorName}:{toolName}"`]);
@@ -420,7 +420,7 @@ EXAMPLES:
420
420
}
421
421
constcontent=[
422
422
// TODO: update result to say: this is result of info step, you must now call again with step=call and proper input
Copy file name to clipboardExpand all lines: src/tools/fetch-actor-details.ts
+17-7Lines changed: 17 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -40,13 +40,23 @@ USAGE EXAMPLES:
40
40
content: [{type: 'text',text: `Actor information for '${parsed.actor}' was not found. Please check the Actor ID or name and ensure the Actor exists.`}],
eventStr+=`(Flat price: $${event.eventPriceUsd} per event)`;
51
64
}elseif(event.eventTieredPricingUsd){
@@ -58,14 +71,14 @@ function payPerEventPricingToString(pricingPerEvent: ExtendedPricingInfo['pricin
58
71
}
59
72
eventStrings.push(eventStr);
60
73
}
61
-
return`This Actor charges per event as follows:\n${eventStrings.join('\n')}`;
74
+
return`This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for the following events:\n${eventStrings.join('\n')}`;
// If there is no pricing infos entries the Actor is free to use
66
79
// based on https://github.com/apify/apify-core/blob/058044945f242387dde2422b8f1bef395110a1bf/src/packages/actor/src/paid_actors/paid_actors_common.ts#L691
0 commit comments