Closeout Copilot

Muse connector

Closeout Copilot exposes its assistant actions as a stateless MCP server. Muse calls that server with an API key, and each tool runs as the shop user who owns the key.

Connect Muse

  1. Sign in to Closeout Copilot. Office staff open Settings. Technicians open Muse.
  2. Create a Muse key and copy it. The full key is shown once. Replacing or revoking it disables the previous key.
  3. Point Muse at http://localhost:3000/api/mcp. Choose API keys as the authentication method and paste the key as a Bearer token.
  4. Muse runs in Meta's cloud, so localhost is unreachable. The app has to be on a public HTTPS URL before Muse can call it.

The connector URL accepts GET, POST, and DELETE for stateless Streamable HTTP. A request without Authorization: Bearer <key> is rejected.

Access requirements

A Closeout Copilot account and a Muse key are required. The key acts as that shop user inside their organization. A technician key can only touch assigned jobs.

The Free plan includes 1 customer, 1 job, 1 technician, 1 invoice, and 1 route. Solo is $29 a month for 1 technician, with unlimited customers, jobs, invoices, and routes. Team is $49 a month for up to 5 technicians. Unlimited is $129 a month for any number of technicians.

There is no regional restriction and no rate limit. The connector URL must be public HTTPS.

Example prompts

What jobs do I have today? On the brake job, add two front brake pads at $74 each and 45 minutes of labor at $125 an hour. Then draft the invoice and a review request. Do not send anything.
What's on my route today, and what's my next stop?
I just got to the battery job. Mark me arrived and add a work note that the old battery tested at 11.8 volts.
Mark the oil-change job complete. Save a service report: customer said it was due, I changed the oil and filter, and I recommend tires at the next visit. Draft the completion text. Do not send it.
Reorder today's route for the shortest drive time, but leave the 2 PM appointment where it is. Don't notify anyone.
For the brake job, create a maintenance reminder for a brake inspection in six months. Don't message the customer.
Pull up the Smith job. If more than one matches, list them and wait for me to pick.

Endpoint

The same actions are also available to a signed-in browser session at POST /api/assistant/actions.

{
  "action": "add_part",
  "idempotencyKey": "brake-pads-idem-01",
  "input": { "jobId": "…", "name": "Front brake pads", "quantity": 2, "unitPrice": 74 }
}

GET /api/assistant/actions returns the action catalog. POST /api/assistant/keys issues a Muse key for the signed-in user, GET returns only the prefix, and DELETE revokes it.

The browser caller must already have a Closeout Copilot session cookie. In demo mode that cookie is cc_session. With Supabase configured, the session is the Supabase auth cookie. The action runs as that user, inside that user's organization. A technician can only touch assigned jobs. A Muse key resolves to the same kind of session.

Actions

ActionWritesNotes
list_todays_jobsNoToday's jobs for the caller, or one technician
get_job_detailsNoBy job id or a short query
open_jobNoReturns the in-app path
update_job_statusYesFollows the status machine
add_job_noteYesInternal, customer, voice, or work note
add_labor_entryYesDescription, minutes, rate
add_partYesName, quantity, price
create_service_report_draftYesDraft only
create_invoice_draftYesDraft only. Does not send
create_customer_message_draftYesDraft only. Does not send
create_maintenance_reminderYesReminder only. Does not message
get_daily_routeNoStop count for the day
optimize_daily_routeYesSaves the plan. Does not notify
reorder_route_stopYesSaves the manual order
get_next_route_stopNoNext unfinished stop
mark_arrivedYesSets status to arrived
mark_job_completeYesSets status to completed

MCP tools

Each action is one MCP tool. Write tools take an optional idempotency key. Reusing a key with the same body returns the first result. Reusing a key with a different body returns a conflict. A vague job query that matches more than one job returns the candidates instead of guessing. Tool descriptions for invoices, messages, and reminders repeat the draft-only rule.

Approval and safety

These actions never send SMS, email, an invoice, a payment charge, or a route push. Message and invoice tools create drafts. A person still has to approve and then send from the review screen. Every write records an audit log row. Technician limits still come from the session checks in the app.

Home · Privacy Policy · Terms of Service