Skip to Content
PAPAMO / DOCS

Claude, Codex and MCP

Let an AI client search, read, organise and reply to your texts through the pSMS MCP server.

Connect

Start pSMS, make sure psms is on your PATH, and register the MCP server:

codex mcp add psms -- psms mcp
claude mcp add --transport stdio psms -- psms mcp

For a remote archive, add --server https://YOUR-HOST/v1 --token-file /private/owner-token.txt.

Add --key-file /private/recovery-kit.pdf (or a file with your 12 words) only if you want the AI client to read message text and contact names. The key stays on the computer running psms mcp, but the client receives the decrypted text it asks for. Without a key, tools return dates, stars and IDs only.

Tools

ToolWhat it does
search_messagesFilter by text, sender, date range, starred and unread. Follow next_cursor even when a page is empty.
get_messageOne message by ID, with the sender's contact card.
list_contactsContacts with names, numbers and emails, optionally with recent messages.
contact_historyAll messages from one sender or contact ID.
update_messageStar, unstar, or mark read or unread.
set_contact, reset_contactEdit a contact card, or go back to the phone's copy.
send_message, outbox_statusQueue a reply for your Mac to send and check on it.
cloud_statusWhether this archive is connected to papamo.dev.

Try asking: “Find starred messages from GLOBE about renewal since November 1”, or “Reply to Ana that I'm on my way.”

Treat message text as untrusted input: a text can contain instructions meant to mislead an AI. The send_message tool only sends what you ask for, but review replies before you rely on them.

On this page