Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions src/pages/sdk/features.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
title: "SDK features"
description: "Feature parity across TypeScript, Python, and Rust MPP SDKs."
---

# SDK features [Parity across TypeScript, Python, and Rust]

This page tracks which features are implemented in each official SDK.

## Core

| Component | [TypeScript](https://github.com/wevm/mppx) | [Rust](https://github.com/tempoxyz/mpp-rs) | [Python](https://github.com/tempoxyz/pympp) |
|---|---|---|---|
| Client | ✓ | ✓ | ✓ |
| Server | ✓ | ✓ | ✓ |
| Proxy | ✓ | ✓ | — |

## Payment methods

| Method | TypeScript | Rust | Python |
|---|---|---|---|
| [Tempo](/payment-methods/tempo) | ✓ | ✓ | ✓ |
| [Stripe](/payment-methods/stripe) | ✓ | — | — |

Additional payment methods implement their own SDKs. Refer to the maintaining organizations for support and availability.

## Intents

| Intent | TypeScript | Rust | Python |
|---|---|---|---|
| [Charge](/intents/charge) | ✓ | ✓ | ✓ |
| [Session](/payment-methods/tempo/session) | ✓ | ✓ | — |

## Transports

| Transport | TypeScript | Rust | Python |
|---|---|---|---|
| [HTTP](/protocol/transports/http) | ✓ | ✓ | ✓ |
| [MCP](/protocol/transports/mcp) | ✓ | ✓ | ✓ |

### HTTP framework integrations

| Role | TypeScript | Rust | Python |
|---|---|---|---|
| **Client** | fetch | reqwest | httpx |
| **Server** | Elysia, Express, Hono, Next.js | Axum, Tower | Decorator (`@server.pay`) |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Replace the nonexistent Python HTTP integration entry

The Python HTTP server cell points readers to @server.pay, but a repo-wide rg 'server\.pay' in this docs tree finds no such API, and the existing Python server reference still documents Mpp.create(...) plus @requires_payment (src/pages/sdk/python/server.mdx:295-316). Because this page is the top-level parity matrix, advertising a Python integration path that users cannot actually find is materially misleading.

Useful? React with 👍 / 👎.


### MCP framework integrations

| Role | TypeScript | Rust | Python |
|---|---|---|---|
| **Client** | MCP SDK transport | — | — |
| **Server** | MCP SDK transport | — | FastMCP (`@pay` decorator) |

## Tempo features

| Feature | TypeScript | Rust | Python |
|---|---|---|---|
| Charge verification (server) | ✓ | ✓ | ✓ |
| Credential creation (client) | ✓ | ✓ | ✓ |
| `transaction` payload type | ✓ | ✓ | ✓ |
| `hash` payload type | ✓ | ✓ | ✓ |
| Fee payer co-signing | ✓ | ✓ | ✓ |
| Session channels (open/voucher/topUp/close) | ✓ | ✓ | — |
| SSE metered streaming | ✓ | ✓ | — |
| Attribution memo | ✓ | ✓ | ✓ |

1 change: 1 addition & 0 deletions vocs.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ export default defineConfig({
text: "SDKs",
items: [
{ text: "Overview", link: "/sdk" },
{ text: "SDK features", link: "/sdk/features" },
{
text: "TypeScript",
collapsed: true,
Expand Down
Loading