walletwallet-mcp
Exposes the WalletWallet pass API as MCP tools for creating and updating digital passes, supporting Google Wallet links and usage checks.
README
walletwallet-mcp
A remote MCP server that exposes the WalletWallet pass
API as MCP tools: create_pass, update_pass, get_google_wallet_link, check_usage.
Transport: streamable-http, mounted at /mcp on whatever host/port you deploy to.
1. Get an API key
Sign up at https://www.walletwallet.dev — free tier is 1,000 passes/month, no card
required. Copy the ww_live_... key.
2. Generate an MCP auth token
This is separate from the WalletWallet key — it's what gates access to your MCP server so random internet traffic can't call your tools and burn your WalletWallet quota. Minimal static bearer token, not OAuth.
openssl rand -hex 32
Keep this value; you'll set it as MCP_AUTH_TOKEN and also give it to your
MCP client.
3. Run locally first
pip install -r requirements.txt
export WALLETWALLET_API_KEY=ww_live_your_key
export MCP_AUTH_TOKEN=the_hex_string_from_step_2
python server.py
Server listens on 0.0.0.0:8000, MCP endpoint at http://localhost:8000/mcp.
Requests without Authorization: Bearer <MCP_AUTH_TOKEN> get a 401.
4. Deploy remotely
The Dockerfile is host-agnostic (reads PORT env var), so any of these work:
- Fly.io — fits your existing GitHub Actions + encrypted-secret pattern:
fly launch --no-deploy # generates fly.toml, don't overwrite Dockerfile fly secrets set WALLETWALLET_API_KEY=ww_live_your_key MCP_AUTH_TOKEN=the_hex_string fly deploy - Render / Railway — connect the repo, set
WALLETWALLET_API_KEYandMCP_AUTH_TOKENas environment secrets in the dashboard, it'll build from the Dockerfile automatically. - Cloud Run —
gcloud run deploy --source . --set-secrets WALLETWALLET_API_KEY=...,MCP_AUTH_TOKEN=...
Whichever you pick, both secrets go in as platform secrets, never committed, never passed through chat. Same pattern you're already using for GITHUB_TOKEN-triggered scripts.
5. Point an MCP client at it
For Claude (claude.ai / Claude Code), add a remote MCP connector pointing at:
https://<your-deployed-host>/mcp
with an Authorization: Bearer <MCP_AUTH_TOKEN> header configured on the
connector (exact UI/config field depends on the client — Claude's remote MCP
connector setup supports custom headers).
This bearer token is a coarse gate: anyone with the token can call any tool. It's appropriate for "just me, one client" use. If this server will ever be shared with other people or other services, that's a different, heavier problem — see the note below.
Notes
create_passreturnsserialNumber— save it, you need it forupdate_pass.- Updates are pushed only when a field's value actually changes AND that field
has a
changeMessageset; identical bodies are a silent no-op (per WalletWallet docs). barcodeFormatcurrently supports QR/PDF417/Aztec/Code128 per the documented format; iOS 27 is expected to add EAN-13/Code 39/Codabar/ITF — not yet reflected here.- On auth scope: this server uses a single shared static bearer token —
fine for "one person, one client." If you need per-user identity, login
flows, or third parties calling this server, that's OAuth 2.1 (which the
mcpPython SDK supports viaFastMCP(auth=...)/TokenVerifier), not this. Don't retrofit OAuth onto this file for a multi-user case — treat that as a separate build with its own auth server, token issuance, and user store.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.