Skip to main content
Glama
Solo CRM MCP

Solo CRM MCP

Official
by ppiotis

Solo CRM MCP

CI License: MIT

A minimal CRM your agent can run for you, safely. Contacts, deals with stages, follow-ups, an activity log, a pipeline summary with weighted forecast, and outreach drafts. Built for solopreneurs and freelancers who don't want a SaaS CRM. Everything lives in one JSON file on your machine, and every change is previewed and requires your confirmation.

Why

Agents are great at "log that call and remind me Friday", but a CRM that writes silently is a liability. Solo CRM makes every write a two-step preview → confirm with a cryptographic token bound to the exact change, so the agent must show you what it will do before it does it. It can draft outreach, but it cannot send anything: it has no network access.

Related MCP server: career-ops-mcp

Tools

Read-only (readOnlyHint: true)

Tool

Purpose

list_contacts

Search by text or tag; includes open-deal count

get_contact

Contact + deals + open follow-ups + recent activity

list_deals

Filter by stage, contact, open only

list_follow_ups

Sorted by due date, flagged overdue / due_today / upcoming

pipeline_summary

Per-stage counts and value, weighted forecast, win rate, stale deals, overdue follow-ups

draft_outreach

Email/DM draft from CRM context (intro, follow_up, proposal_nudge, check_in, thank_you, reengage). Never sends.

Writes: two-step, readOnlyHint: false

Tool

destructiveHint

Purpose

upsert_contact

true (updates overwrite fields)

Create or update; preview shows a from → to diff; blocks duplicate emails

delete_contact

true

Deletes contact and cascades to their deals, follow-ups and activities (counts shown in preview)

upsert_deal

true

Create or update (stage changes are recorded in stage_history)

delete_deal

true

Deletes a deal

add_follow_up

false

Schedule a reminder

complete_follow_up

false

Mark done

log_activity

false

Log call / email / meeting / DM / note

Stages: lead → qualified → proposal → negotiation → won / lost (forecast weights 10/25/50/75/100/0%).

The confirmation protocol

  1. Call a write tool without confirm_token → {"status":"preview","summary":…,"changes":…,"confirm_token":…}. Nothing is written.

  2. The agent shows you the preview.

  3. The agent calls again with identical arguments + confirm_token → {"status":"applied",…}.

Tokens are HMAC-SHA256 signed with a per-process random key and bound to the tool name, the exact arguments and the current store revision. They expire after 10 minutes and are single-use, and any other change to the CRM invalidates them. A token from one preview cannot apply a different change.

Install

Requires Node.js 20+. Add the plugin, or put this in .mcp.json:

{
  "mcpServers": {
    "solo-crm": {
      "command": "npx",
      "args": ["-y", "https://github.com/ppiotis/solo-crm-mcp/archive/refs/tags/v1.0.0.tar.gz"],
      "env": { "SOLO_CRM_PATH": "/absolute/path/to/crm.json" }
    }
  }
}

Default data file: ~/.solo-crm/crm.json (created on first confirmed write, mode 0600, folder 0700).

From source: git clone https://github.com/ppiotis/solo-crm-mcp && cd solo-crm-mcp && npm ci && npm run build && node dist/stdio.js

Remote (Streamable HTTP)

node dist/serve-http.js serves stateless Streamable HTTP at /mcp (and GET /health). Because the CRM is a local file, run it on a machine you control, e.g. a home server or private VPS, with a token:

SOLO_CRM_PATH=/data/crm.json MCP_AUTH_TOKEN=change-me HOST=0.0.0.0 PORT=3000 node dist/serve-http.js
docker build -t solo-crm-mcp . && docker run -p 3000:3000 -v "$HOME/.solo-crm:/data" -e SOLO_CRM_PATH=/data/crm.json -e MCP_AUTH_TOKEN=change-me solo-crm-mcp

Client: {"url":"https://your-host/mcp","headers":{"Authorization":"Bearer change-me"}}. Put TLS in front (Caddy / Cloudflare Tunnel). Do not expose it publicly without MCP_AUTH_TOKEN.

Env var

Default

Purpose

SOLO_CRM_PATH

~/.solo-crm/crm.json

Data file (must end in .json)

MCP_AUTH_TOKEN

unset

HTTP only: require a bearer token

HOST / PORT

127.0.0.1 / 3000

HTTP bind

Security & privacy

  • No network, no telemetry. The server never makes outbound requests. Runtime deps: the MCP SDK and zod.

  • Human-in-the-loop writes. Preview → confirm with bound, expiring, single-use tokens (unit-tested: wrong args, reuse, stale revision, malformed, expired).

  • Accurate MCP annotations on every tool (readOnlyHint, destructiveHint, idempotentHint, openWorldHint: false).

  • Can't send messages. draft_outreach returns text with "sent": false.

  • Data safety. Atomic writes (temp file + rename), serialised in-process; private file permissions; a corrupt file is reported and never overwritten.

  • Validated input. zod schemas for every field (emails, ISO dates, ISO currency codes, id formats, length caps).

  • No secrets in code or config. The optional HTTP bearer token is compared in constant time.

Reviewer test plan

Setup: add the plugin with SOLO_CRM_PATH set to a scratch file, e.g. /tmp/solo-crm-review.json.

  1. Preview gate. Ask: "Add Sam Rivera (sam@rivera.studio) from Rivera Studio, and a $800 logo deal at proposal stage." → Expect a preview of both changes and a question asking you to confirm, with no file created yet. Say "yes" → both applied; the file now exists.

  2. Follow-ups. Ask: "Remind me to nudge Sam on 2026-01-05, then what's overdue?" → Expect preview → confirm, then list_follow_ups showing the item as overdue.

  3. Pipeline. Ask: "How's my pipeline?" → Expect pipeline_summary: 1 open deal, $800 open value, $400 weighted forecast, the proposal stage listed.

  4. Draft, never send. Ask: "Draft a proposal nudge to Sam." → Expect a subject draft that names the deal (subject "Re: proposal for "), and an explicit note that nothing was sent.

  5. Destructive guard. Ask: "Delete Sam." → Expect a preview stating it will PERMANENTLY delete the contact plus 1 deal and 1 follow-up. Say "no" → the file is unchanged.

Development

npm ci
npm test               # build + unit tests + e2e over stdio and Streamable HTTP
npm audit --omit=dev

License

MIT © Paris Piotis

Available Tools

13 tools
add_follow_upAdd follow-upA

Schedule a follow-up reminder for a contact (optionally tied to a deal). TWO-STEP: the first call (no confirm_token) only returns a preview and a confirm_token; nothing is written. Show the preview to the user, and only after they approve call again with the same arguments plus confirm_token.

Inputs: due (required), note (required), contact_id (required), deal_id, +1 more.

complete_follow_upComplete follow-upA
Idempotent

Mark a follow-up as done. TWO-STEP: the first call (no confirm_token) only returns a preview and a confirm_token; nothing is written. Show the preview to the user, and only after they approve call again with the same arguments plus confirm_token.

Inputs: follow_up_id (required), confirm_token.

delete_contactDelete contactA
DestructiveIdempotent

Permanently delete a contact AND their deals, follow-ups and activities. TWO-STEP: the first call (no confirm_token) only returns a preview and a confirm_token; nothing is written. Show the preview to the user, and only after they approve call again with the same arguments plus confirm_token.

Inputs: contact_id (required), confirm_token.

delete_dealDelete dealA
DestructiveIdempotent

Permanently delete a deal (follow-ups linked to it are unlinked, not deleted). TWO-STEP: the first call (no confirm_token) only returns a preview and a confirm_token; nothing is written. Show the preview to the user, and only after they approve call again with the same arguments plus confirm_token.

Inputs: deal_id (required), confirm_token.

draft_outreachDraft outreach (never sends)A
Read-onlyIdempotent

Draft an email/DM for a contact using their CRM context (deal, last activity). Returns text only; this server has no ability to send messages.

Inputs: purpose (required), contact_id (required), tone, channel, +2 more.

get_contactGet contact with historyA
Read-onlyIdempotent

Full contact record with their deals, open follow-ups and the 20 most recent activities.

Inputs: contact_id (required).

list_contactsList / search contactsA
Read-onlyIdempotent

List contacts, optionally filtered by a search string (name, email, company, notes) or tag.

Inputs: tag, limit, query.

list_dealsList dealsB
Read-onlyIdempotent

List deals, optionally by stage or contact. Includes the contact name.

Inputs: stage, open_only, contact_id.

list_follow_upsList follow-upsA
Read-onlyIdempotent

Open follow-ups sorted by due date, flagged overdue / due today. Use due_within_days to limit.

Inputs: as_of, include_done, due_within_days.

log_activityLog activityA

Record a call, email, meeting, DM or note against a contact (and optionally a deal). TWO-STEP: the first call (no confirm_token) only returns a preview and a confirm_token; nothing is written. Show the preview to the user, and only after they approve call again with the same arguments plus confirm_token.

Inputs: type (required), summary (required), contact_id (required), at, +2 more.

pipeline_summaryPipeline summaryB
Read-onlyIdempotent

Deals and value per stage, weighted forecast, win rate, overdue follow-ups and stale open deals (no activity in N days).

Inputs: as_of, stale_after_days.

upsert_contactCreate or update contactA
Destructive

Create a contact, or update one when contact_id is given (only provided fields change). TWO-STEP: the first call (no confirm_token) only returns a preview and a confirm_token; nothing is written. Show the preview to the user, and only after they approve call again with the same arguments plus confirm_token.

Inputs: name, tags, email, notes, +4 more.

upsert_dealCreate or update dealA
Destructive

Create a deal for a contact, or update an existing deal (e.g. move stage, change value) when deal_id is given. TWO-STEP: the first call (no confirm_token) only returns a preview and a confirm_token; nothing is written. Show the preview to the user, and only after they approve call again with the same arguments plus confirm_token.

Inputs: stage, title, value, deal_id, +4 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 13 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: contacts (list/get/upsert/delete), deals (list/upsert/delete), follow-ups (list/add/complete), activities (log), analytics (pipeline_summary), and outreach drafting. No two tools overlap in function, and the two-step confirmation applies uniformly to all mutating tools, so there is no ambiguity about which tool to use for a given operation.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun or noun_verb pattern (list_contacts, get_contact, upsert_deal, add_follow_up, complete_follow_up, pipeline_summary). Verbs are standard CRM terms and suffixes are predictable, making the naming pattern easy to learn.

    Tool Count5/5

    13 tools is well-scoped for a CRM: read operations (list/get/pipeline_summary), full create/update/delete for contacts and deals, and follow-up lifecycle management. No redundant or trivial tools; each earns its place.

    Completeness5/5

    The surface covers the core CRM lifecycle: contact CRUD, deal CRUD, follow-up scheduling/completion, activity logging, pipeline analytics, and outreach drafting. There are no obvious gaps for the stated domain; the only limitation (no message sending) is explicitly noted and is not a CRUD gap.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to manage CRM data including companies, contacts, prospects, pipelines, forecasts, and tasks via typed MCP tools, with local SQLite storage and a JSON CLI.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables tracking of job applications and freelance leads through an MCP interface, with tools to add and update items, list and summarize the pipeline, flag stale entries, and draft follow-up messages grounded in each item's logged notes using locally stored JSON data.
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables Claude to record job applications in a local JSON file and then list them, change their status (applied, replied, interview, rejected, offer), and surface stale applications that need a follow-up. Requires no database or account, and validates every input so saves stay clean.
      4
      1
      MIT