Repository navigation
feat: Tell Claude users to add their own server as a custom connector - #1595
Merged
Merged
Conversation
Sessions that cannot run arbitrary Actors ended their caveat with "set up your own Apify MCP server at https://mcp.apify.com". It now reads "create your own Apify MCP server configuration at https://mcp.apify.com and add it to your MCP client", or "... add it to Claude as a custom connector" when the connector URL carries ?client=claude. getOwnServerRemedy() picks the wording. The existing clientParam option is threaded to tool descriptions (tools/list), server instructions, and tool calls (sync, task, and direct Actor tools) so all five caveat sites agree. Sessions with a run tool render unchanged text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ChBz93feLbm26jESmnDTtM
Also note in the clientParam docs that it now picks tool wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ChBz93feLbm26jESmnDTtM
…g test Each site takes its wording from getOwnServerRemedy(), so one test of the helper covers the text. Also drops doc and formatting churn on pass-through params. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ChBz93feLbm26jESmnDTtM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ChBz93feLbm26jESmnDTtM
4 tasks
Checks the legacy and stateless paths render the Claude wording in the search-actors description and the instructions when clientParam is 'claude'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011QiQRhqm3wKyv6KFLncAqG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011QiQRhqm3wKyv6KFLncAqG
Threads clientParam through task mode, the direct Actor tool dispatch and the executor's tip caveat; each step could be dropped with all tests green. Also says in three comments that clientParam now picks wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011QiQRhqm3wKyv6KFLncAqG
…ions Tool results use the neutral "add it to your agent" sentence; only tools/list descriptions and the instructions switch on ?client=claude. Drops the clientParam plumbing through tool dispatch, InternalToolArgs and ActorExecutionParams. Adds isClaudeClient so the literal lives once. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
jirispilka
marked this pull request as ready for review
October 16, 2026 09:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Closes #1599. Follow-up to #1533. Jan asked in #1533 (comment) to make the remedy explicit: create a new configuration and add it to your agent. Agreed:
?client=claude, which is how the Claude directory connector URL ends.What changed
… To use another Actor, set up your own Apify MCP server at https://mcp.apify.com.… create your own Apify MCP server configuration at https://mcp.apify.com and add it to your agent.?client=claude:… and add it to Claude as a custom connector.This variant appears only in tool descriptions and the instructions. Tool results keep the neutral sentence on every client: the client knows who it is, and this keeps?client=out of tool dispatch and tool args.Proof it works
client=claudeinputSchema,outputSchema,annotations,title,_metaclient=claudeclient=claude; generic withoutclientand withclient=claude-codesearch-actors/search-actors-widgetdescriptionssearch-actorsresult footerclient=claudeandclient=cursorsessionsfetch-actor-detailsforapify/web-scraperThis Actor is not exposed as a tool …with the neutral sentence in both sessions2025-11-25and2026-07-28withclient=claudesearch-actorsdescription, neutral and old wording absent?ui=apps&client=claudesearch-actorsandsearch-actors-widgetdescriptions and in the instructionsfetch-actor-detailsforapify/rag-web-browser(served as a tool)?client=claudeand?client=claude&ui=true, which includecall-actor):tools/listand instructions byte-identical to a master build, no own-server text.node dist/stdio.js --tools <same selection>, protocol2025-11-25, 21 tools): generic sentence in the instructions.The tip caveat is covered by mocked unit tests only. A live probe found no recent RAG Web Browser run with a TIP record, and one fresh run did not write one either.
AI-assisted (Claude Code): code, tests, mcpc probes and this description. A separate Claude Code review pass found no bugs; its test and comment additions are in the last commit.
🤖 Generated with Claude Code
https://claude.ai/code/session_01ChBz93feLbm26jESmnDTtM
https://claude.ai/code/session_011QiQRhqm3wKyv6KFLncAqG