Skip to main content
Glama
MCP Support & Quote Starter

MCP Support & Quote Starter

by alborotar

MCP Support & Quote Starter

Run a local MCP server for ticket triage, quote calculations, support email drafts, and daily ticket reports. The JavaScript source uses ES modules and Node built-ins. The server has no npm dependencies, API keys, network calls, persistent storage, or email delivery. Your MCP client or model provider may handle inputs and results under its own data policies.

Run and connect

Use Node.js 22 or later and npm for the test command. The server supports MCP 2025-11-25 over stdio. Extract the ZIP and open a terminal in the folder containing package.json.

node --version
npm test

The suite runs 12 unit tests and two real-process stdio tests. Start the server directly with node src/server.js or launch it manually with npm start. For client configuration, use node directly so npm's script banner stays out of protocol output. Configure your client's local stdio server with an absolute path to src/server.js. For clients using an mcpServers configuration, the Windows example below shows both absolute paths. On macOS or Linux, use your installed Node path and extracted script path.

{
  "mcpServers": {
    "support-quote": {
      "command": "C:/Program Files/nodejs/node.exe",
      "args": ["C:/tools/mcp-support-quote-starter/src/server.js"]
    }
  }
}

Reload the client and check for the four tool names below. If discovery fails, confirm both paths, restart the client connection and check its server diagnostics. The server exchanges newline-delimited UTF-8 JSON-RPC messages. A client initializes with initialize, sends notifications/initialized, and then uses tools/list and tools/call. The ping method works during setup. The server replies with its supported revision when the client proposes a different one. A client that lacks support for the returned revision should disconnect. Successful tools return structured data and a JSON text copy. Invalid tool inputs return an isError tool result. Malformed protocol requests and unknown tools return JSON-RPC errors. MCP stdio transport · MCP lifecycle

Related MCP server: POS Support MCP Server

classify_ticket

Supply the category as issueType. Choose technical, billing, account, quote, or general. The caller identifies the category and impact. The tool applies a rule to those inputs and returns the category, priority, reason, and SLA target.

Impact

Effective workaround exists

Priority

First human response

Shared service outage affecting multiple users

No

P1

1 hour

Shared service outage affecting multiple users

Yes

P2

4 hours

Core task blocked

No

P2

4 hours

Core task blocked

Yes

P3

24 hours

Degraded functionality, work can continue

Either

P3

24 hours

Informational question

Either

P4

72 hours

The target measures elapsed clock hours from ticket receipt, including weekends and holidays. It is a sample first-response policy with no resolution deadline, due-date computation, or escalation scheduling.

{"issueType":"technical","impact":"outage","workaroundAvailable":false}

Expected result: technical, P1, first human response within 1 elapsed hour.

calculate_quote

Use one currency per quote. AUD, CAD, EUR, GBP and USD use two decimal places. JPY and KRW use zero. KWD uses three. Enter each tax-exclusive unitPriceMinor as a nonnegative safe JSON integer. Line quantity must be an integer from 1 through 1,000,000. Supply 1 to 100 lines. The order discount and tax/VAT rate are caller-supplied integers from 0 to 10,000 basis points (100 basis points = 1%). Both default to zero.

  1. Multiply each unit price by its quantity and sum the line subtotals.

  2. Apply the order discount to the subtotal and round it half up to one minor unit.

  3. Subtract that rounded discount. Apply the single tax/VAT rate to the resulting taxable subtotal and round tax half up to one minor unit.

  4. Add tax to the taxable subtotal. Amounts are returned as decimal strings in minor units, with minorUnitDigits for display. Keep the strings or parse them as BigInt when consuming large totals.

This pricing model uses one rate for all lines, regardless of item type. It has no currency conversion, inclusive tax, exemptions, mixed rates, or per-line tax rounding. Supply the rate required for your transaction from your approved pricing workflow. These synthetic examples demonstrate arithmetic only.

{
  "currency":"USD",
  "items":[{"description":"Sample session","quantity":2,"unitPriceMinor":50},{"description":"Sample add-on","quantity":1,"unitPriceMinor":5}],
  "discountBps":1000,
  "taxBps":2500
}

The result is subtotal 105, discount 11, taxable subtotal 94, tax 24, total 118 (USD 1.18).

draft_support_reply

Choose English (en) or Korean (ko) and a resolution or quote template. Supply the details and next step in the desired language. The template uses your facts verbatim apart from trimming surrounding whitespace. Review the intended recipient, facts, amounts and terms, next step, and signature before copying the draft into your mail client.

{
  "language":"en","kind":"resolution","customerName":"Avery","topic":"Example portal access",
  "details":"Your test account access has been restored.","nextStep":"Please try signing in again.","signature":"Example Support"
}

The result includes subject, body, reviewRequired: true, and a localized reviewNote.

summarize_daily_tickets

Provide one date in YYYY-MM-DD format and up to 1,000 tickets with unique IDs. Use UTC createdAt timestamps ending in Z, with full hours, minutes, and seconds and optional 1–3 fractional digits. The window includes UTC midnight at the start and excludes UTC midnight on the next day. Counts group matching queue, category, priority and supplied status (open, pending, resolved). Use creation time regardless of later changes. Status is the one in your input snapshot. IDs serve only to prevent duplicate records. Empty results return a CSV header and a Markdown empty state.

{
  "date":"2026-02-28",
  "tickets":[
    {"id":"sample-01","createdAt":"2026-02-28T00:00:00Z","queue":"Support, East","category":"technical","priority":"P2","status":"open"},
    {"id":"sample-02","createdAt":"2026-03-01T00:00:00Z","queue":"Support, East","category":"technical","priority":"P2","status":"open"}
  ]
}

The report contains one included ticket and one outside the window. CSV uses CRLF between rows, doubles embedded quotes, and quotes fields containing commas, quotes, or line breaks. Import the queue field as text in spreadsheet software to preserve queue labels and avoid interpreting formula-like values. Markdown uses an escaped table and shows embedded line breaks as ↵.

Buyer license

Both tiers permit internal business use, modifications, paid client work and delivery within client implementations under LICENSE.txt. Keep the license with client copies. The setup guide is a separate download in the Commercial + Setup Guide tier.

Available Tools

4 tools
calculate_quoteA
Read-only

Calculate a single-currency quote from tax-exclusive integer minor unit prices. Apply an order discount before a single caller-supplied tax/VAT rate.

Inputs: items (required), currency (required), taxBps, discountBps.

classify_ticketA
Read-only

Apply a sample ticket triage policy to a declared issue category and impact. Return priority and an elapsed-hours first-response target.

Inputs: impact (required), issueType (required), workaroundAvailable (required).

draft_support_replyB
Read-only

Draft a support resolution or quote email in English or Korean using supplied facts. Returns a subject, body and mandatory human review reminder.

Inputs: kind (required), topic (required), details (required), language (required), +3 more.

summarize_daily_ticketsA
Read-only

Count tickets created within one UTC day, grouped by queue, category, priority and supplied status. Return a Markdown table and CSV text.

Inputs: date (required), tickets (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: single-ticket classification, quote calculation, reply drafting, and daily aggregation. There is little risk of selecting one tool in place of another, even though classify_ticket and summarize_daily_tickets both involve ticket categorization.

    Naming Consistency5/5

    All four tool names follow a consistent snake_case verb_noun pattern: classify_ticket, calculate_quote, draft_support_reply, and summarize_daily_tickets. The naming is predictable and readable.

    Tool Count4/5

    Four tools is reasonable for a deliberately scoped starter server spanning support triage and quoting. The set is slightly thin but each tool has a clear role and no obvious redundancy.

    Completeness3/5

    The tools cover classification, calculation, drafting, and summarization, but there are notable gaps such as fetching ticket details, creating or updating tickets, and persisting or retrieving quotes. These omissions may force agents to work around the surface for end-to-end support and quote workflows.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables local engineering workflow management by consolidating tickets, QA evidence, time tracking, root cause investigation, knowledge, and reporting into a single SQLite database, allowing generation of complete ticket packages for handoffs, dailies, or career evidence.
      23
      3 npm
      MIT
    • F
      license
      A
      quality
      C
      maintenance
      Enables local, deterministic management and search of point-of-sale support data—branches, terminals, incidents, and incident history—with read-only queries and mutating tools over stdio using simulated SQLite data.
      11
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to answer Cryptbrew product questions and check live API health without merchant authentication. Exposes tools for pricing, FAQs, invoice flow, and health probes over stdio or streamable HTTP.
      8
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables offline management of sales contracts, customer receipts, traceable earnings accruals, actual payouts, and personal finance forecasts through a local stdio interface.
      4
      MIT