Skip to main content
Glama
ripper-mcp

ripper-mcp

by stan13

ripper-mcp

A lightweight, local MCP server for Ripper. It exposes everything the in-app assistant can do — contacts, listings, tasks, notes, timeline, and cross-CRM search — to any MCP client (Claude Desktop, Claude Code, Cursor, …), authenticated as your own Ripper account.

It's a thin, generic shell: it knows no individual tool. It reads the tool catalog from the deployed Ripper backend at runtime and dispatches every call through a single gateway. So:

  • Tool changes are live. It polls the backend's manifest; when the catalog changes it swaps its tool list and emits notifications/tools/list_changed — no reinstall, no restart.

  • The client stays current on its own. Launched via npx ripper-mcp@latest, every start fetches the newest version. A rare backend shellVersion bump just prints an update notice.

The backend half of this (the mcp.* gateway) lives in the private Ripper app. This repo is only the local client.

Quick start

# 1. Log in once (browser SSO — your normal Google sign-in). Caches a personal
#    token at ~/.ripper/credentials.json (chmod 0600).
npx ripper-mcp@latest login

# 2. Check state
npx ripper-mcp@latest status

login starts a loopback listener and opens the /mcp/connect consent page. Sign in, click Approve, and the authorization code is redirected straight back to the CLI on 127.0.0.1 and exchanged for your token (PKCE — see below).

Related MCP server: MCP Task Assistant

Wire it into a client

Claude Desktop — claude_desktop_config.json:

{
  "mcpServers": {
    "ripper": {
      "command": "npx",
      "args": ["-y", "ripper-mcp@latest"]
    }
  }
}

Claude Code — .mcp.json (or claude mcp add):

{
  "mcpServers": {
    "ripper": { "command": "npx", "args": ["-y", "ripper-mcp@latest"] }
  }
}

Prefer a global install? npm i -g ripper-mcp then use "command": "ripper-mcp".

How it fits together

Claude Desktop / Cursor  ──stdio──▶  ripper-mcp (local)  ──HTTPS──▶  Ripper backend (Convex)
                                         │                              ├─ mcp.getManifest  (tool catalog + versions)
                                         │                              ├─ mcp.callTool     (runs a tool as you)
                                         └─ ~/.ripper/credentials.json  ├─ mcp.authorize   (browser consent → code)
                                                                        └─ mcp.token       (PKCE exchange → token)

Login uses OAuth 2.0 Authorization Code + PKCE with a loopback redirect (RFC 8252 — the same native-app flow as gh / gcloud): login starts a listener on 127.0.0.1, opens the consent page, and after you approve, the authorization code is redirected to your own loopback and exchanged (with the PKCE verifier that never leaves this machine) for a 90-day access token. Only the token's SHA-256 hash is stored on the backend; no password is ever handled here.

Commands

ripper-mcp            # start the stdio server (default)
ripper-mcp serve      # explicit
ripper-mcp login      # browser-SSO login, cache token
ripper-mcp logout     # clear cached token
ripper-mcp status     # show config + login state

Configuration

Resolution order for every setting: CLI flag → env var → ~/.ripper/credentials.json → default.

Setting

Flag

Env var

Default

Backend URL

--convex-url

RIPPER_CONVEX_URL

reliable-bullfrog-975 (production)

App URL

--app-url

RIPPER_APP_URL

https://rippr.dev (production)

Token

—

RIPPER_MCP_TOKEN

cached after login

Poll period

—

RIPPER_MCP_POLL_MS

60000 (min 10000)

Update controls:

Env var

Effect

RIPPER_MCP_NO_SELFUPDATE=1

Suppress the "newer version available" notice.

RIPPER_MCP_AUTO_UPDATE=1

Also run npm i -g ripper-mcp@latest in the background when behind.

Security notes

  • PKCE + loopback means an authorization code is only ever delivered to your 127.0.0.1, and can't be exchanged for a token without the verifier that never leaves this machine — so a phished or intercepted code is useless to anyone else. The listener binds to loopback only and checks the state.

  • Tokens expire after 90 days and are revocable. Only their SHA-256 hash is stored server-side; the plaintext is returned to the CLI once and cached at ~/.ripper/credentials.json (chmod 0600).

  • Rotate/revoke by running ripper-mcp logout then login again (or revoking the token from the Ripper app). Treat the credentials file like any credential.

Development

npm install
npm run check          # syntax-check all sources
node bin.mjs status

Run against a non-default deployment with --convex-url / RIPPER_CONVEX_URL.

License

MIT

Available Tools

22 tools
add_timeline_eventA

Log a timeline activity — a phone call, text, meeting, video call, or note. Attach it to a contact (contactId), a listing (listingId), or both. Pass at least one. Use find_contacts / find_listings first to get the id.

Inputs: type (required), date, title, contactId, +2 more.

complete_taskA

Mark a task done (or reopen it). Use list_tasks to get the taskId. Set completed=false to reopen.

Inputs: taskId (required), completed.

create_contactB

Create a new contact. Provide whatever details are known — every field is optional, but include at least a name.

Inputs: city, email, phone, state, +10 more.

create_listingA

Create a property listing for a client. Requires the owning contactId (use find_contacts, or create_contact for a new client) and a street address. Provide whatever else is known; status defaults to coming-soon.

Inputs: address (required), contactId (required), city, notes, +16 more.

create_noteA

Save freeform context about a contact that doesn't fit a structured field — budget/price range, motivation, financing, preferences, whether they're represented, reactions, etc. Use this liberally so nothing the user mentions is lost. Use find_contacts first to get the contactId.

Inputs: content (required), contactId (required).

create_taskA

Create a task / to-do. Optionally link it to a contact by passing contactId (from find_contacts).

Inputs: title (required), dueDate, category, priority, +2 more.

delete_taskA

Delete a task. Use list_tasks to get the taskId. Only delete when the user clearly asks to remove it (to just finish it, use complete_task).

Inputs: taskId (required).

delete_timeline_eventA

Delete a timeline event. Use find_contacts then list_timeline_events to get the activityId. Only delete when the user clearly asks to remove an event.

Inputs: activityId (required).

find_emailsA

Search or list the user's synced email. Pass a query to full-text search subject + body across the whole mailbox, and/or filter by folder, contactId (email from/to that contact), unreadOnly, starredOnly, or a date window (dateFrom/dateTo). Returns matching emails with their ids, sender, subject, date, folder, read/starred flags, and a snippet. This is the tool for 'did X email me', 'what's unread in my inbox', 'show me emails from this client', or 'find that email about the inspection'. Get an emailId here before get_email / update_email / delete_email.

Inputs: limit, query, dateTo, folder, +4 more.

find_listingsA

Search the user's property listings by address/city/MLS/description, and/or filter by status, owning contact, or a DATE WINDOW. Returns listings with their ids, owner, and key dates (listDate/expirationDate/saleDate). This is the tool for vague temporal questions about listings — e.g. 'which listing is going live this week' → dateField listDate with dateFrom/dateTo covering this week (optionally status coming-soon); 'what's expiring this month' → dateField expirationDate; 'what closed in June' → dateField saleDate. Also call it to get a listingId before updating a listing or logging a listing event.

Inputs: query, dateTo, status, dateFrom, +2 more.

get_contactA

Read the full detail of one contact — their fields plus their notes, tasks, listings, and recent timeline. Use this to answer questions about a person or to check what's already recorded before writing. Get the contactId from find_contacts.

Inputs: contactId (required).

get_emailA

Read one email in full — headers, folder/read/starred flags, attachment list, the full body text, and its linked contact. Get the emailId from find_emails.

Inputs: emailId (required).

get_listingA

Read the full detail of one listing — all property/pricing fields, its owner contact, and its recent timeline. Get the listingId from find_listings.

Inputs: listingId (required).

list_notesA

List the saved notes on a contact so you can recall context you or the agent captured earlier. Use find_contacts first to get the contactId.

Inputs: contactId (required).

list_tasksA

List tasks / to-dos. By default returns open (incomplete) tasks. Filter by contact, due-date window, priority, or category to answer questions like 'what's due this week?' or 'what's open for this client?'.

Inputs: category, dueAfter, priority, contactId, +2 more.

list_timeline_eventsA

List a contact's recent timeline events with their ids. Call this to get an activityId before editing or deleting a timeline event. Use find_contacts first to get the contactId.

Inputs: contactId (required).

search_crmA

Search across the whole CRM — contacts, listings, tasks, notes, and timeline events — in one call, with each result carrying its linked records (a timeline event includes who it was with and which listing; a listing includes its owner). Use this for recall and cross-record questions like 'who did I meet at the open house last weekend' (filter timeline by dateFrom/dateTo and a keyword like 'open'), 'what listings does this client have', or 'find everything about 123 Maple St'.

Inputs: query, dateTo, dateFrom, entities, +4 more.

send_emailA

Compose an email and either send it or save it as a draft. Set draft true (the DEFAULT unless the user clearly says to send now) to save to the Drafts folder without sending; set it false only when the user explicitly asks to send. Requires a connected email account (see list_email_accounts). Direct sending is supported for Outlook accounts; for other providers the message is saved as a draft. The recipient is auto-linked to a matching contact when one exists.

Inputs: to (required), body (required), subject (required), cc, +4 more.

update_contactA

Update details on an existing contact. Only include the fields you want to change. Use find_contacts first to get the contactId.

Inputs: contactId (required), city, email, phone, +11 more.

update_emailA

Triage an email: mark it read/unread, star/unstar, flag important, move it to a folder (inbox/sent/archive/trash/draft — use trash to remove it from the inbox), or link/unlink it to a contact. Only include the fields you want to change. Get the emailId from find_emails.

Inputs: emailId (required), read, folder, starred, +3 more.

update_listingA

Update a listing — including moving it through the pipeline (e.g. set status to pending or sold, with saleDate/salePrice). Only include the fields you want to change. Use find_listings first to get the listingId.

Inputs: listingId (required), city, notes, state, +17 more.

update_taskA

Change fields on an existing task — reschedule (dueDate), reprioritize, re-title, recategorize, or relink to a contact. Only include what changes. Use list_tasks to get the taskId.

Inputs: taskId (required), title, dueDate, category, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 22 tools

    Disambiguation4/5

    Most tools map clearly to a distinct resource and action — contacts, tasks, listings, emails, and timeline events are well separated. The main ambiguities are create_note vs. add_timeline_event's note type and search_crm overlapping with the targeted find_* helpers.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern with predictable prefixes like create_, get_, list_, update_, delete_, find_, and send_. Minor variation like add_timeline_event instead of create_timeline_event does not undermine the overall pattern.

    Tool Count3/5

    22 tools cover contacts, tasks, notes, timeline events, listings, and email, so the count is high but not unreasonable. It sits in the 16–25 range that feels heavy and would benefit from consolidation, especially around note/timeline and search/find overlaps.

    Completeness2/5

    Several tool descriptions reference find_contacts and list_email_accounts, but those tools are not exposed, creating dead ends for obtaining contactIds and email account info. There are also lifecycle gaps: no update/delete for notes, no update for timeline events, and no delete for contacts or listings.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers