Add an adapter

Support a new store platform.

Register the platform

Add the name to SourcePlatform in lib/source-identity.ts and its API path in types/store-config.ts.

Implement

Create a folder under app/api/mcp-transport/adapters/ implementing PlatformAdapter.

Wire it

Register it in adapters/index.ts. Add cart proof handling in tools/utils.ts if the platform uses guest proofs.

Test

Add tests for store IDs, cart proofs and wrong-store requests.

On this page