# crowntowncompost-mcp [Health: Active]

**Category:** 🎧 Support & Service Management  
**Repository:** https://github.com/chrischall/crowntowncompost-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1266  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/crowntowncompost-mcp

## Description
Customer access to the Crown Town Compost portal: pickups, invoices, and skips (AI-built).

## Tools
Capabilities this server exposes over MCP:

- **crowntown_healthcheck** — Confirm credentials are configured, log in to the Crown Town Compost portal, fetch the dashboard, and report {authenticated, account_status, service_addresses}. On failure, error.kind says which hop broke: no_credential (nothing configured), credential_rejected (the portal refused the username/password), session_expired (a supplied session cookie is no longer honoured), edge_blocked (a CDN/WAF refused the request before the portal saw it, so the credentials were never judged), timeout, transport or http. Read-only; never returns the credentials.
- **crowntown_get_dashboard** — Get your Crown Town Compost dashboard: account status, active subscription (plan, price, renewal date), next service date, service address(es) and their pickup day(s), and your composting environmental impact (lbs diverted, seedlings, miles offset, gallons of gas). Read-only.
- **crowntown_get_account** — Get your account contact details (first name, last name, phone) and notification preferences (email reminders, service notifications). Read-only — use crowntown_update_account to change them.
- **crowntown_update_account** — Update your contact details and/or notification preferences. Reads your current account form, changes ONLY the field(s) you specify, and re-saves the rest verbatim. The preview shows the current values and the resulting state. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).
- **crowntown_list_service_history** — List past collection stops for your account — date, status (Success/Missing/Empty/Inaccessible/Unacceptable), collection time, weight, and services rendered. Paginated and filterable by status. Read-only.
- **crowntown_list_upcoming_services** — List upcoming scheduled collection days from the service calendar, each with the identifiers needed to skip it (rid, clid), the service date, and whether it is currently scheduled or already skipped. Read-only — use crowntown_skip_service to actually skip/unskip.
- **crowntown_get_pickup_schedule** — Get the pickup schedule for each service address: pickup day(s), next service date, the official set-out-by time, and an observed arrival-time window (earliest/latest/typical and whether it is consistent or varies) derived from the recorded collection times in your service history. Crown Town Compost publishes no guaranteed arrival window, so the observed window is empirical. Read-only.
- **crowntown_skip_service** — Skip (or un-skip) an upcoming collection day. Pass the rid + clid from crowntown_list_upcoming_services. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).
- **crowntown_list_invoices** — List your Crown Town Compost invoices — number, date, amount, status, whether payable, and links (Stripe PDF / receipt / hosted invoice page). Paginated. Read-only.
- **crowntown_report_missed_pickup** — Report that a scheduled collection was missed. This notifies Crown Town Compost staff. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).
- **crowntown_contact_support** — Send a message to Crown Town Compost customer support. The reply-to email and phone default to the ones the support form pre-fills from your account, and the preview shows the exact values that will be sent. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).

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

```json
"mcpServers": {
  "crowntowncompost-mcp": {
    "command": "npx",
    "args": ["-y","crowntowncompost-mcp"],
    "env": {
      "CROWNTOWN_USERNAME": "",
      "CROWNTOWN_PASSWORD": "",
      "CROWNTOWN_SESSION_COOKIE": "",
      "MCP_CONFIRM_MODE": "",
      "MCP_CONFIRM_ELICITATION": "",
      "MCP_CONFIRM_TTL_SECONDS": "",
      "MCP_CONFIRM_SECRET": ""
    }
  }
}
```

**Requires environment variables:** `CROWNTOWN_USERNAME`, `CROWNTOWN_PASSWORD`, `CROWNTOWN_SESSION_COOKIE`, `MCP_CONFIRM_MODE`, `MCP_CONFIRM_ELICITATION`, `MCP_CONFIRM_TTL_SECONDS`, `MCP_CONFIRM_SECRET` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What crowntowncompost-mcp does

crowntowncompost-mcp exposes the Crown Town Compost customer portal as MCP tools. It works with `portal.crowntowncompost.com`, where customer account and service data is stored, rather than the company’s public marketing site.

The server can report account status, subscriptions, renewal dates, service addresses, pickup days, and environmental impact figures. It also provides contact details, notification preferences, collection history, upcoming services, and invoice records. Invoice results include hosted payment-related links, but payment execution is outside the server’s scope.

Account actions are available for skipping or restoring a scheduled collection, changing contact or notification settings, reporting a missed pickup, and sending a support message.

## How it works

Authentication happens server-side. You can provide a session cookie copied from an authenticated browser session, or provide the portal username and password so the server can perform the normal form login. Supplying both is supported: the cookie is tried first, and the login credentials can create a replacement when the cookie expires.

The server uses the same portal pages and JSON endpoints as the Crown Town Compost website. It does not require a browser extension or an intermediary third-party service. `crowntown_healthcheck` checks configuration, authentication, and dashboard access, and identifies failures such as rejected credentials, an expired session, a blocked edge request, a timeout, or an HTTP or transport error.

Mutating tools are confirmation-gated. Clients that support confirmation prompts can display one directly. Otherwise, the first request returns a preview and one-time confirmation token without sending or changing anything; a second request with that token performs the operation. Tokens expire, and a changed draft is rejected. Where possible, the server re-reads the portal to verify a successful change.

## Setup and configuration

Install the package globally or run it through `npx`:

```sh
npm install -g crowntowncompost-mcp
```

Add the command to the MCP host configuration. Set either `CROWNTOWN_SESSION_COOKIE`, containing the signed-in browser’s `Cookie` header value, or both `CROWNTOWN_USERNAME` and `CROWNTOWN_PASSWORD`. The server can start without credentials, with the configuration error appearing when a tool is called. For local use, configuration can also be placed in a `.env` file copied from `.env.example`.

Confirmation behavior can be adjusted with `MCP_CONFIRM_MODE`, `MCP_CONFIRM_ELICITATION`, `MCP_CONFIRM_TTL_SECONDS`, and `MCP_CONFIRM_SECRET`. The mode controls writes on clients without confirmation prompts; the elicitation setting disables prompt use; the TTL controls token lifetime; and the secret can preserve token validity across restarts.

## Tools and capabilities

Read-only tools provide:

- Dashboard, account, pickup schedule, service history, upcoming services, and invoice data.
- Observed arrival-time ranges derived from recorded collection times, alongside the official set-out-by time.
- Paginated service history and invoice results, with service-history status filters.
- Upcoming-service identifiers needed by the skip operation.

Write tools provide:

- Skip or un-skip an upcoming collection.
- Update selected contact fields or notification preferences while preserving unspecified account values.
- Report a missed collection to Crown Town Compost staff.
- Send a support message using account-prefilled reply contact details unless changed in the request.

## Limitations and notes

The portal publishes an official set-out-by time but no guaranteed arrival window. Arrival ranges are empirical summaries of recorded collection times and may be marked consistent or variable.

Invoice links can be opened in a browser, but the server does not make payments. Support messages and missed-pickup reports cannot be verified by a subsequent portal read, so the tool reports that limitation instead of claiming confirmation. The project is licensed under MIT.

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

