docs: add Cloudflare Agents integration guide#677
Draft
parvahuja wants to merge 1 commit into
Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
cbd2cb8 to
7309f0d
Compare
7309f0d to
4cb8d50
Compare
brendanjryan
reviewed
Jun 8, 2026
4cb8d50 to
1cd97dc
Compare
1cd97dc to
b0e35bc
Compare
b0e35bc to
8f6cc02
Compare
5d2332c to
99bf6a1
Compare
gakonst
reviewed
Jun 11, 2026
gakonst
left a comment
Contributor
There was a problem hiding this comment.
dumb q- this also covers all the fetch-es that the CF agents would do right?
99bf6a1 to
b237eaf
Compare
b237eaf to
8b75546
Compare
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.
Summary
McpClient.wrap— including theonPaymentRequiredspend-policy hook.provider.mpp.methods, wallet-nativewallet_authorizeChallengeauthorization when supported); a viem private-key account appears only as a labeled local-development variant.McpClient.wrapreference page for the unified in-place API (same reference returned, SDK three-argumentcallToolpreserved, per-call approval hook), plus sidebar entries and quickstart cross-links.Every code block is compile-verified against the real SDK builds, and the integration is proven end-to-end by a deployed Worker (agent pays $0.01 per tool call on Tempo testnet, receipt with on-chain reference returned).
Dependencies — land last, in this order
McpClient.wrap,mppx/mcp/cliententrypoints) released, then bump this repo'smppxdependency.provider.mpp) released, for the Accounts hero path.wallet_authorizeChallengeclient) makes the wallet-native authorization sentence live; the guide works without it via local signing.