Skip to content

Add partner integration guides#770

Merged
brendanjryan merged 9 commits into
mainfrom
parv/mpp-partner-integrations
Jul 2, 2026
Merged

Add partner integration guides#770
brendanjryan merged 9 commits into
mainfrom
parv/mpp-partner-integrations

Conversation

@parvahuja

@parvahuja parvahuja commented Jul 2, 2026

Copy link
Copy Markdown
Member

Summary

Adds Vercel AI SDK, Cloudflare Agents, and official MCP SDK guides under Partner Integrations for using mppx with paid MCP tools and paid HTTP requests.

The Vercel guide shows the shared Mppx.create setup, MCP tool calls through @ai-sdk/mcp, and a normal AI SDK tool that calls https://mpp.dev/api/ping/paid. The Cloudflare guide shows McpClient.wrap for MCP calls and Mppx.create for payment-aware fetch calls. The official MCP SDK guide shows the same flow with Client and StreamableHTTPClientTransport.

All guides link to managing agent spend for scoped runtime payment controls.

Validation

  • pnpm check:ci

@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mpp Ready Ready Preview, Comment Jul 2, 2026 10:01pm

Request Review

Comment thread src/pages/partner-integrations/cloudflare-agents.mdx Outdated
import { Agent } from 'agents'
import { tempo } from 'mppx/client'
import { McpClient } from 'mppx/mcp/client'
import { account } from './payments'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this local import? can we just inline this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it makes a little more sense in the rendered guide - but the "account" is created once on line 17 and then used on line 38 and 62 - so would have to inline in two places wdyt.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lmk what you think this is the only comment i didnt address

Comment thread src/pages/partner-integrations/cloudflare-agents.mdx
Comment thread src/pages/partner-integrations/mcp-sdk.mdx Outdated
Comment thread src/pages/partner-integrations/mcp-sdk.mdx Outdated
Comment thread src/pages/partner-integrations/vercel-ai-sdk.mdx Outdated
Comment thread src/pages/partner-integrations/vercel-ai-sdk.mdx Outdated
@brendanjryan brendanjryan merged commit a890897 into main Jul 2, 2026
12 checks passed
@brendanjryan brendanjryan deleted the parv/mpp-partner-integrations branch July 2, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants