Text a number, an AI agent shops and pays. Template for building iMessage agents on Agentcard: Photon (spectrum-ts) transport, SMS-OTP phone sign-in, and a Claude tool-use loop over the Agentcard MCP
View on GitHub ↗Homepage ↗Build an iMessage agent that can actually buy things.
Text a phone number, and an AI agent replies: it chats, it shops, and it pays with a virtual card it creates on the spot. This template is the working skeleton of that product, the same architecture behind Agentcard's own iMessage line, reduced to the parts you need and nothing else.
1. Photon provides the iMessage phone number and the spectrum-ts SDK (a persistent stream, so this runs anywhere, no public URL needed). 2. Agentcard provides money: each sender signs in as their own consumer Agentcard account by SMS code, and your agent drives every tool the Agentcard MCP server advertises with that user's OAuth token. Cards your agent creates are isolated to your app and that user, funded from their own wallet. 3. Anthropic provides the brain: a Claude tool-use loop that binds whatever tools the MCP server advertises and picks per message.
The relay itself stays thin on purpose. Shopping intelligence (carts, checkout confirmation, merchant connections) lives server-side behind the buy tool; identity and compliance (KYC, funding) live in Agentcard. What this repo owns is the conversation: transport, sign-in, the tool loop, and the safety rails around it.
Fill .env in three stages, testing as you go:
1. The pipe. Create a Photon project, put PHOTONPROJECTID + PHOTONPROJECTSECRET in .env, and text your line. The relay echoes back: the pipe works.
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/tiny-agent-company--imessage-agent-template.html)
MCP server that drives Google Flow (Veo / Nano Banana) through its internal tRPC API, with a hard credit-cost gate
Gowthaman90/mcp-bastionReliability + security proxy for the Model Context Protocol (MCP): self-healing connections, runtime tool-security (rug-pull/poisoning detection), and a compliance-mapped audit trail.
luckeyfaraday/frontier-orchestratorMulti-agent orchestration for Claude Code: MCP server + skill that keeps Claude as lead engineer while delegating backend work to OpenAI Codex and frontend/design work to Kimi
ai-hub-open/vk-ads-mcpMCP server for VK Ads API: campaigns, audiences, budgets, stats. Click.ru proxy, static token or OAuth. Docs in Russian.
ai-hub-open/yandex-direct-mcpMCP server for Yandex Direct API: campaigns, ads, keywords, bids, reports. Click.ru proxy or direct OAuth with sandbox. Docs in Russian.
naseridev/orvenMCP-compatible context and memory system: paged code navigation for AI assistants, plus a recorded, verified theory of what is known about the code.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.