# SMB Sandbox [Health: Active]

**Category:** 👤 Customer Data Platforms  
**Repository:** https://github.com/teamshift-io/smb-sandbox  
**GitHub Stars:** 1  
**npm Downloads (last month):** 223  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/smb-sandbox

## Description
Mock small-business CRM, inbox, calendar, invoicing and phone tools for testing AI agents safely.

## Tools
Capabilities this server exposes over MCP:

- **crm_search_contacts** — Find people by name, email, phone digits or title. Use before any contact-specific action to get the contact id. Set missingInfo to find contacts lacking a valid email or phone.
- **crm_get_contact** — Full profile of one contact plus their customer account, leads, deals and recent calls. Use when you need context before replying to or changing a contact.
- **crm_create_contact** — Add a new person, optionally linked to a customer account. Search first to avoid creating duplicates.
- **crm_update_contact** — Change a contact's name, email, phone, title or customer link. Omitted fields stay as they are; null clears a field. Use to fix missing or malformed contact info.
- **crm_merge_contacts** — Fold a duplicate contact (mergeId) into the one to keep (keepId): empty fields are filled from the duplicate, all leads/deals/messages/calls are re-pointed, and the duplicate is deleted. Irreversible; confirm they are the same person first.
- **crm_list_customers** — List customer accounts (households or businesses), newest first. Filter by text, status or owner.
- **crm_get_customer** — One customer account with its contacts, deals, jobs and invoices. Use for a full account picture.
- **crm_list_employees** — Active staff with ids and roles. Use to pick an owner for a deal/lead or an assignee for a job or task.
- **crm_list_leads** — Inbound leads, newest first. Set uncontacted: true to find leads nobody has responded to yet.
- **crm_update_lead** — Change a lead's status or owner. Note: sending an email/SMS or logging an outbound call to the lead's contact marks it contacted automatically.
- **crm_list_deals** — Sales pipeline deals, most recently updated first. Use staleDays to find open deals with no activity for N days, openOnly to skip won/lost.
- **crm_get_deal** — One deal with its quotes and contact.
- **crm_update_deal** — Move a deal to a new stage and/or set its next action, amount or owner. Stage moves must follow the pipeline (new→qualified→quote-sent→negotiation→won/lost; won is final; lost can reopen). Moving to lost requires lostReason. Set nextAction to {summary, dueOn} so every open deal has a next step.
- **crm_list_quotes** — Quotes/estimates. Set notFollowedUp: true to find sent quotes that never got a follow-up.
- **crm_send_quote** — Send a draft quote to the customer (status becomes sent). Only works on drafts.
- **crm_follow_up_quote** — Message the deal's contact about a sent/viewed quote and record the follow-up on the quote. Write the full message body. Goes to the outbox; nothing is really delivered.
- **crm_list_tasks** — To-dos for staff. Filter by status, assignee or a related record id.
- **crm_create_task** — Create a to-do for a staff member, linked to the records it is about (relatedIds). Use when a human must do something you cannot.
- **crm_complete_task** — Mark an open task done.
- **inbox_list_threads** — Email and SMS conversations, newest activity first, with unread counts and the last message snippet. Use unreadOnly to triage.
- **inbox_get_thread** — All messages in one thread, oldest first. Read before replying.
- **inbox_send_email** — Send an email to a contact, raw address, or as a reply in an existing thread (threadId). Subject is required for new threads. Written to the outbox only; nothing leaves the sandbox.
- **inbox_send_sms** — Send a text message to a contact, raw number, or within an SMS thread. Outbox only.
- **inbox_mark_thread_read** — Mark every message in a thread as read after handling it.
- **calendar_list_jobs** — Scheduled work (appointments / work orders / projects), latest start first. Filter by status, customer, assignee, or a start-time window [from, to).
- **calendar_get_job** — One job with its customer and invoices.
- **calendar_schedule_job** — Book new work for a customer. Assignees must be active employees and not double-booked (pass allowOverlap to override).
- **calendar_reschedule_job** — Move a scheduled or no-show job to a new time window (optionally new assignees). Does NOT notify the customer; send them a message separately if policy requires.
- **calendar_cancel_job** — Cancel a scheduled or in-progress job. Requires a reason. Cannot be undone.
- **calendar_complete_job** — Mark a scheduled or in-progress job completed now, with optional notes.
- **invoicing_list_invoices** — Invoices, newest first. Set overdue: true for unpaid invoices past their due date.
- **invoicing_get_invoice** — One invoice with its payments and balance due.
- **invoicing_create_invoice** — Issue an invoice to a customer (optionally for a job of that customer). Total is computed from line items; due date defaults to company payment terms.
- **invoicing_send_reminder** — Send a payment reminder for an open or partially-paid invoice to the customer's contact (outbox only). A default polite body is used if none is given.
- **invoicing_void_invoice** — Void an invoice that has no payments applied (e.g. issued against the wrong job). Irreversible; requires a reason.
- **invoicing_record_payment** — Record money received against an invoice. Cannot exceed the balance; void, draft and paid invoices are rejected.
- **invoicing_list_payments** — Payments received, newest first. Set unmatched: true for payments not yet applied to any invoice.
- **invoicing_match_payment** — Apply an unmatched payment to the invoice it pays. Customer must match and amount must not exceed the balance.
- **phone_list_calls** — Phone call log, newest first. Use outcome: missed and direction: inbound to find calls that may need a callback.
- **phone_log_call** — Record a call you made or took (e.g. a callback), with outcome and a short summary. No real call is placed.
- **admin_get_company_policies** — The company's plain-language operating rules (response times, follow-up cadence, payment terms...). Read before acting.
- **admin_get_company** — Company profile plus the simulated current time and today's date in company time.
- **admin_get_audit_log** — Every mutation attempted so far (tool, input, ok/error, changed ids), in order. Use sinceSeq to fetch only newer entries.
- **admin_reset** — Restore the original dataset and clock, discarding every change. The audit log is kept and records the reset.
- **admin_save_state** — Write the current dataset, audit log and outbox to the --state-out file for grading.
- **admin_advance_clock** — Move simulated time forward by N minutes (e.g. to simulate waiting for a reply).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "smb-sandbox": {
    "command": "npx",
    "args": ["-y","@teamshift/sandbox-mcp"]
  }
}
```

## Documentation

## What SMB Sandbox MCP server does

SMB Sandbox MCP server gives an AI agent a fictional small business to work with through Model Context Protocol. The dataset can represent industries such as home services, dental clinics, marketing agencies, auto repair, and professional services. Its records include contacts, customer accounts, leads, sales deals, quotes, staff tasks, email and SMS threads, scheduled jobs, and related operational history.

The project is intended for agent evaluation rather than production business operations. Seeded data can contain realistic problems such as duplicate contacts, uncontacted leads, stale deals, and quotes that need follow-up. The surrounding project also provides workflows with deterministic graders that compare the resulting business state against expected changes.

## How it works

Run the sandbox MCP package as a local stdio process, or use its Streamable HTTP mode, and connect an MCP-compatible client. The server operates on generated fictional business data. A seed and industry can be selected when starting it, which makes test runs repeatable.

Agents can inspect records before taking action, then create or update records through the exposed tools. Changes are validated and audited within the process. Messages are recorded in an outbox; sending an email or SMS does not contact a real person. Calendar operations update jobs and assignments in the sandbox, including checks for active employees and scheduling conflicts.

For evaluation, the companion workflow package can display a task and later grade a saved state. Grading can check record changes, outbound messages, audit activity, and whether unrelated data was modified.

## Setup and configuration

The repository requires Node.js 20 or newer. Install and build the project with pnpm, or run the published MCP package directly with npx:

```bash
npx -y @teamshift/sandbox-mcp
```

A Claude MCP configuration can start the same package with `claude mcp add sandbox -- npx -y @teamshift/sandbox-mcp`. For a repeatable evaluation run, select an industry and seed and optionally choose toolsets and a state output file:

```bash
npx @teamshift/sandbox-mcp --industry home-services --seed 42 --toolsets crm,inbox,calendar,invoicing,phone --state-out run.json
```

The repository also includes the `@teamshift/fake-business` package for generating fictional datasets as JSON, CSV, SQL, HubSpot-shaped CSV, or QuickBooks-shaped CSV.

## Tools and capabilities

The listed MCP tools cover three main areas:

- CRM operations search and retrieve contacts and customers, manage leads and deals, list employees, handle quotes, and create or complete staff tasks.
- Inbox operations list threads, read messages, send email or SMS to the sandbox outbox, and mark threads as read.
- Calendar operations list, inspect, schedule, reschedule, cancel, and complete jobs.

Several tools enforce business rules. Contact-specific actions can begin with a search, duplicate merges are irreversible, deal stages must follow the defined pipeline, lost deals need a reason, and scheduled work cannot assign inactive employees or double-book staff unless overlap is explicitly allowed.

## Limitations and notes

All generated names, contact details, phone numbers, and addresses are fictional. Email and SMS are never delivered outside the sandbox. Rescheduling does not notify a customer automatically, and canceled jobs cannot be undone. The project is designed for controlled testing and benchmarking; it should not be treated as a live CRM, messaging system, or accounting system.

The workflow collection provides ten verified small-business tasks and reference solutions. It is suitable for comparing prompts, models, or agents against the same seeded company, but the project does not provide a public leaderboard. The Apache-2.0 license permits use, modification, and publication of the generated data.

_Full upstream README: https://allmcps.com/mcp/smb-sandbox/readme_

