walletmcppass: Apple Wallet passes

v1.3.0
com.walletmcppass/wallet-mcp Checked 2 days ago Published 11 days ago

Create signed Apple Wallet passes (.pkpass): boarding passes, tickets, coupons.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_wallet_pass Create Apple Wallet pass

Create a signed Apple Wallet pass (.pkpass) and return a link to download it. Builds one pass in one of the five Wallet styles -- boardingPass, eventTicket, coupon, storeCard or generic -- from the text fields, colors, barcode and optional PNG images given below, signs it with this service's Apple Pass Type ID certificate, and returns an https download_url valid for 1 hour. Opening the link on an iPhone shows "Add to Apple Wallet". Passes install on any iOS version; the iOS 26/27 layouts fall back to the classic style on older iPhones. Barcodes: QR, PDF417, Aztec…

ParameterTypeDescription
contact_email *string
description *string
organization_name *string
style *string
x402_ready *
artwork_png_b64
auxiliary_fields
back_fields
background_color
background_png_b64
barcode_alt_text
barcode_format
barcode_message
credit_key
expiration_date
featured_actions
footer_fields
foreground_color
generate_logoboolean
header_fields
icon_colorstring
icon_png_b64
icon_text
info_links
label_color
locations
logo_color
logo_png_b64
logo_text
max_distance
posterboolean
primary_fields
primary_logo_png_b64
relevant_date
secondary_fields
secondary_logo_png_b64
semantic_layoutboolean
semantics
serial_number
strip_png_b64
thumbnail_png_b64
transit_type
updatableboolean
updatable_hoursinteger
voidedboolean
x402_payment

update_wallet_pass Update Apple Wallet pass

Change a pass made with create_wallet_pass(updatable=True); every iPhone that added it refreshes. Takes the serial_number and edit_token returned when the pass was created, the required contact_email and x402_ready, plus any of create_wallet_pass's parameters (x402_payment and credit_key included), with the same meanings. Each parameter given replaces the stored value completely (a fields list replaces the whole list, so resend unchanged fields too); parameters left out keep their current values. Clear a text value with "" and a list with []. To cancel a pass, set voided=T…

ParameterTypeDescription
contact_email *string
edit_token *string
serial_number *string
x402_ready *
artwork_png_b64
auxiliary_fields
back_fields
background_color
background_png_b64
barcode_alt_text
barcode_format
barcode_message
credit_key
description
expiration_date
featured_actions
footer_fields
foreground_color
generate_logo
header_fields
icon_color
icon_png_b64
icon_text
info_links
label_color
locations
logo_color
logo_png_b64
logo_text
max_distance
organization_name
poster
primary_fields
primary_logo_png_b64
relevant_date
secondary_fields
secondary_logo_png_b64
semantic_layout
semantics
strip_png_b64
style
thumbnail_png_b64
transit_type
voided
x402_payment

buy_pass_credits Buy Apple Wallet pass credits by card

Start a card payment for prepaid pass credits, for users without an x402 crypto wallet. Packs: "100" (100 passes for $1), "500" (500 for $5), "2000" (2000 for $20). Nothing is charged by this call: it returns a checkout_url that the user opens and pays themselves. Only call it when the user asked to pay by card or agreed to buy a pack. Args: pack: "100", "500" or "2000". contact_email: the user's email; the checkout and receipt use it. Ask the user for it. credit_key: to top up an existing credit_key; leave out to get a new one. Returns {credit_ke…

ParameterTypeDescription
contact_email *string
pack *string
credit_key

check_pass_credits Check Apple Wallet pass credits

Credits left on a credit_key from buy_pass_credits, and its recent purchases (status pending until the card payment succeeds, then paid). Returns {credits_left, purchases: [{pack, passes, status, created, paid_at}]}.

ParameterTypeDescription
credit_key *string