Motorsights Quotation MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Motorsights Quotation MCP Server create a quotation for customer with email john@example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server — Motorsights Quotation API
MCP (Model Context Protocol) server yang membungkus REST API
dev-api-quotation.motorsights.com menjadi tools yang bisa dipanggil Claude:
Customer, Sales, Bank Account, Manage Quotation, Term Content, Componen
Products, dan Accessories (30 tools total).
1. Instalasi
Butuh Node.js 18+. Di server kamu:
cd mcp-quotation-server
npm install
cp .env.example .envEdit .env:
API_BASE_URL=https://dev-api-quotation.motorsights.com/api/quotation
API_TOKEN=<JWT token kamu>⚠️
API_TOKENdi sini statis. Kalau token JWT kamu expired secara berkala, lihat bagian "Token expired" di bawah untuk opsi lanjutan.
Related MCP server: MCP4Acumatica
2. Build & jalankan
npm run build
npm startKalau berhasil, akan muncul log mcp-quotation-server berjalan lewat stdio.
di stderr. Server ini berkomunikasi lewat stdio, jadi tidak akan
langsung terlihat "aktif" seperti web server biasa — dia menunggu diajak
bicara oleh MCP client (Claude Desktop, Claude Code, dsb).
3. Menghubungkan ke Claude
Claude Desktop / Claude Code (via SSH ke server kamu, atau server = local)
Tambahkan ke config MCP (claude_desktop_config.json atau setara):
{
"mcpServers": {
"quotation": {
"command": "node",
"args": ["/path/absolut/ke/mcp-quotation-server/dist/index.js"],
"env": {
"API_BASE_URL": "https://dev-api-quotation.motorsights.com/api/quotation",
"API_TOKEN": "isi_token_jwt_kamu"
}
}
}
}Karena server ini kamu jalankan di mesin terpisah, ada 2 opsi:
Opsi A — stdio + SSH (paling simpel, tidak perlu buka port baru)
Claude Desktop/Code men-spawn proses node dist/index.js lewat SSH ke server kamu:
{
"mcpServers": {
"quotation": {
"command": "ssh",
"args": [
"user@server-kamu",
"cd /path/ke/mcp-quotation-server && node dist/index.js"
]
}
}
}Env var (API_BASE_URL, API_TOKEN) taruh di .env di server, bukan di config Claude, karena proses jalan di sana.
Opsi B — HTTP/SSE (bisa diakses dari network, tanpa SSH)
Ini opsi yang barusan ditambahkan: src/httpServer.ts menjalankan MCP server
yang sama lewat Streamable HTTP transport (Express), jadi Claude cukup
connect ke URL, tidak perlu spawn proses lokal.
npm run build
npm run start:http
# -> mcp-quotation-server (HTTP) listening on port 3333Isi .env untuk mode ini:
MCP_HTTP_PORT=9533
MCP_HTTP_TOKEN=<generate token acak yang kuat, misal: openssl rand -hex 32>MCP_HTTP_TOKEN ini beda dari API_TOKEN backend — ini kunci untuk
membatasi siapa saja yang boleh menghubungi MCP server kamu lewat network.
Kalau kosong, endpoint terbuka tanpa autentikasi (jangan dibiarkan begini
kalau server bisa diakses dari internet).
Reverse proxy (nginx) + HTTPS — wajib kalau expose ke internet:
server {
listen 443 ssl;
server_name mcp-quotation.domain-kamu.com;
ssl_certificate /etc/letsencrypt/live/domain-kamu.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/domain-kamu.com/privkey.pem;
location /mcp {
proxy_pass http://127.0.0.1:3333;
proxy_http_version 1.1;
proxy_set_header Connection '';
proxy_buffering off; # penting untuk streaming response
proxy_read_timeout 3600s;
proxy_set_header Host $host;
}
}Jalankan permanen dengan systemd (/etc/systemd/system/mcp-quotation.service):
[Unit]
Description=MCP Quotation Server (HTTP)
After=network.target
[Service]
Type=simple
WorkingDirectory=/path/ke/mcp-quotation-server
EnvironmentFile=/path/ke/mcp-quotation-server/.env
ExecStart=/usr/bin/node dist/httpServer.js
Restart=on-failure
User=www-data
[Install]
WantedBy=multi-user.targetsudo systemctl enable --now mcp-quotationKonfigurasi di Claude (custom/remote MCP connector) — tinggal masukkan:
URL:
https://mcp-quotation.domain-kamu.com/mcpHeader:
Authorization: Bearer <MCP_HTTP_TOKEN>
Langkah persis di UI Claude untuk menambahkan remote MCP connector bisa berubah — cek
docs.claude.com/support.claude.comuntuk panduan terbaru kalau langkahnya beda dari yang kamu lihat di app.
Health check: GET https://mcp-quotation.domain-kamu.com/health (tidak
butuh auth, cuma info jumlah session aktif — cocok untuk uptime monitoring).
Test cepat pakai MCP Inspector (rekomendasi sebelum connect ke Claude)
npx @modelcontextprotocol/inspector node dist/index.jsIni buka UI browser lokal buat coba tiap tool satu-satu, lihat request/response mentahnya, sebelum dipakai beneran di Claude.
4. Struktur project
src/
├── index.ts # entry point stdio (untuk Claude Desktop/Code lokal atau SSH)
├── httpServer.ts # entry point HTTP/SSE (untuk akses remote via network)
├── mcpServer.ts # factory MCP Server: daftar tools & handler call-tool (dipakai stdio & HTTP)
├── executor.ts # generic HTTP executor: JSON body / multipart / file upload
├── httpClient.ts # axios instance + Bearer auth otomatis + error formatting
├── config.ts # baca .env
├── types.ts # ToolDef & JsonSchema types
└── tools/
├── index.ts # registry semua tools (KURASI DI SINI)
├── customerSalesBank.ts # Customer, Sales, Bank Account
├── manageQuotation.ts # Manage Quotation (core, paling kompleks)
├── termContent.ts # Term & Condition content
├── componenProduct.ts # Componen Products (+ upload gambar & CSV import)
└── accessory.ts # Accessories (+ CSV import)5. Daftar tools (30)
Resource | Tools |
Customer |
|
Sales |
|
Bank Account |
|
Manage Quotation |
|
Term Content |
|
Componen Products |
|
Accessories |
|
6. Kurasi lebih lanjut
Semua tool didaftarkan di src/tools/index.ts. Kalau kamu mau:
Nonaktifkan tool tertentu (misal
delete_quotationsupaya Claude tidak bisa hapus data): comment/filter dari arrayallTools.Tambah validasi ekstra sebelum request dikirim: edit
executor.ts.Ubah/perjelas deskripsi tool: edit langsung di file tools terkait — ini penting supaya Claude milih tool yang tepat saat ada banyak pilihan mirip.
Batasi ke read-only (aman untuk mulai): filter
allToolssupaya cuma methodGETdan endpoint*/getyang masuk.
7. Catatan penting
File upload (
create_componen_product,update_componen_product,import_componen_products_csv,import_accessories_csv) butuh path file lokal di mesin tempat MCP server ini berjalan — bukan path di komputer kamu atau URL. Kalau Claude jalan di mesin berbeda dari server API, file yang mau diupload harus sudah ada di server tempat MCP ini jalan.Soft delete: sebagian besar
delete_*adalah soft delete (is_deleteflag), sesuai desain API-nya — bukan hapus permanen.Token expired: kalau token JWT kamu punya masa berlaku pendek, opsi ke depan: tambahkan endpoint refresh-token di
httpClient.tsyang otomatis re-fetch token sebelum expired, atau pakai axios interceptor yang retry sekali kalau dapat 401. Bilang saja kalau mau saya tambahkan.
8. Troubleshooting
Environment variable API_TOKEN wajib diisi→ cek isi.env.API error (HTTP 401)→ token invalid/expired, generate ulang.Parameter path wajib diisi: id→ tool butuh argumenid(UUID) yang belum dikirim Claude; biasanya karena instruksi user kurang spesifik.Cannot find module '@modelcontextprotocol/sdk'→ jalankannpm installdulu sebelumnpm run build.
Available Tools
32 toolscreate_accessoryC
Buat accessory baru, opsional sekaligus set kuantitas per pulau.
Inputs: accessory_brand, accessory_region, accessory_remark, accessory_part_name, +4 more.
create_componen_productC
Buat componen product baru. Untuk upload gambar, isi image_paths dengan path file lokal (di mesin tempat MCP server ini jalan).
Inputs: engine, volume, segment, wheel_no, +18 more.
create_quotationC
Buat manage quotation baru beserta item-itemnya.
Inputs: customer_id (required), employee_id (required), manage_quotation_date (required), manage_quotation_valid_date (required), +28 more.
create_term_contentC
Buat term content (syarat & ketentuan) baru.
Inputs: term_content_directory (required), company_name, term_content_title.
delete_accessoryB
Hapus (soft delete) satu accessory berdasarkan ID.
Inputs: id (required).
delete_componen_productB
Hapus (soft delete) satu componen product berdasarkan ID.
Inputs: id (required).
delete_quotationA
Hapus (soft delete) satu manage quotation berdasarkan ID.
Inputs: id (required).
delete_term_contentB
Hapus (soft delete) satu term content berdasarkan ID.
Inputs: id (required).
duplicate_quotationA
Duplikat manage quotation beserta semua item, accessory, dan spesifikasinya. Hasil duplikat berstatus draft dengan nomor quotation baru.
Inputs: manage_quotation_id (required).
get_accessories_by_islandA
Ambil semua accessory yang tersedia untuk satu pulau/wilayah tertentu (island_id).
Inputs: idisland (required).
get_accessoryB
Ambil detail satu accessory berdasarkan ID.
Inputs: id (required).
get_bank_accountA
Ambil detail satu bank account berdasarkan ID (UUID).
Inputs: id (required).
get_componen_productA
Ambil detail satu componen product berdasarkan ID (termasuk gambar & spesifikasi).
Inputs: id (required).
get_customerA
Ambil detail satu customer berdasarkan ID (UUID).
Inputs: id (required).
get_quotationB
Ambil detail lengkap satu manage quotation (termasuk items) berdasarkan ID.
Inputs: id (required).
get_quotation_for_pdfB
Ambil data quotation yang diformat khusus untuk keperluan generate PDF.
Inputs: id (required).
get_sales_employeeA
Ambil detail satu sales employee berdasarkan ID (UUID).
Inputs: id (required).
get_term_contentB
Ambil detail satu term content berdasarkan ID.
Inputs: id (required).
import_accessories_csvB
Import banyak accessory sekaligus dari file CSV lokal (maks 10MB), termasuk kuantitas per pulau (sumatera, kalimantan, sulawesi, maluku, otr). Header CSV wajib: msi_code, accessories_name, specification, brand, remarks, sumatera, kalimantan, sulawesi, maluku, otr.
Inputs: file (required).
import_componen_products_csvA
Import banyak componen product sekaligus dari file CSV lokal (maks 10MB). Header CSV wajib: msi_code, truck_type, segment, segment_type, msi_model, unit_model, engine, horse_power, wheel_number, volume_cbm, market_price, gvw, wheelbase, engine_brand_model, max_torque, displacement, emission_standard, engine_guard, gearbox_transmission, fuel_tank, Tyre.
Inputs: file (required).
list_accessoriesB
Ambil daftar accessory dengan pagination, pencarian, dan sorting.
Inputs: page, limit, search, sort_by, +1 more.
list_bank_accountsA
Ambil daftar bank account dengan pagination, pencarian (nama/nomor/tipe rekening), dan sorting.
Inputs: page, limit, search, sort_by, +1 more.
list_componen_productsB
Ambil daftar componen product (produk/unit) dengan pagination, pencarian, sorting, dan filter company_name/product_type.
Inputs: page, limit, search, sort_by, +3 more.
list_customersA
Ambil daftar customer dengan pagination, pencarian (nama/email/telepon), dan sorting.
Inputs: page, limit, search, sort_by, +1 more.
list_quotationsB
Ambil daftar manage quotation dengan filter status (draft/submit/reject), island, customer, rentang tanggal, pencarian, dan pagination.
Inputs: page, limit, search, status, +8 more.
list_sales_employeesA
Ambil daftar sales employee (dari gate_sso dblink) dengan pagination, pencarian, dan sorting.
Inputs: page, limit, search, sort_by, +1 more.
list_term_contentsC
Ambil daftar term content (syarat & ketentuan) dengan pagination, pencarian, dan filter nama perusahaan.
Inputs: page, limit, search, sort_by, +2 more.
restore_quotationB
Kembalikan (restore) manage quotation yang sebelumnya sudah di-soft-delete.
Inputs: id (required).
update_accessoryD
Update accessory yang sudah ada.
Inputs: id (required), accessory_brand, accessory_region, accessory_remark, +5 more.
update_componen_productC
Update componen product yang sudah ada. Gambar baru (image_paths) akan ditambahkan ke gambar yang sudah ada, tidak menggantikannya. Untuk menghapus gambar lama, gunakan tool hapus gambar terpisah jika tersedia, atau update lewat dashboard.
Inputs: id (required), engine, volume, segment, +19 more.
update_quotationC
Update manage quotation yang sudah ada (termasuk replace daftar item-nya).
Inputs: id (required), star, status, company, +29 more.
update_term_contentC
Update term content yang sudah ada.
Inputs: id (required), company_name, term_content_title, term_content_directory.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 32 tools
Each tool targets a distinct resource and action (quotation, accessory, component product, term content, bank account, customer, sales employee). Even similar tools like get_quotation and get_quotation_for_pdf have clearly differentiated purposes.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_accessory, list_quotations). No mixing of casing styles or irregular verbs.
32 tools is relatively high, but the scope covers multiple sub-domains (quotations, accessories, component products, customers, etc.) with CRUD and additional operations like import, duplicate, and restore. The count is justified by the breadth.
Core quotation workflow is well-covered (create, read, update, delete, duplicate, restore, list, PDF export). However, for customers, bank accounts, and sales employees, only get/list operations exist, and there is no dedicated tool for deleting images from component products.
Related MCP Connectors
AutoLeap MCP server for ChatGPT, Claude and any AI agent: list estimates, send estimate, convert estimate to repair order, list repair orders, text a customer and book appointment in your own AutoLeap account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to AutoLeap yourself; Cotlet does not store your password and you need no AutoLeap API key. About the official AutoLeap API: AutoLeap has a REST Partner API, but it is gated: credentials go to approved integration partners, and AutoLeap describes it as not available for the Essentials, Pro and Elite plans (checked 28 Oct 2026). There is no official MCP server, so a shop owner cannot connect an AI agent through the official route. Setup and FAQ: https://cotlet.dev/integrations/autoleap-api-mcp-server
Solk CRM for Claude: accounts, pipeline, visits, quotes, orders and tickets with your permissions.
Simpro MCP server for ChatGPT, Claude and any AI agent: list jobs, create quote, convert quote to job, update job status, look up customer, check schedule, add schedule entry and search catalogue items in your own Simpro account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Simpro yourself; Cotlet does not store your password and you need no Simpro API key. About the official Simpro API: Simpro has a full REST API with OAuth 2.0 for quotes, jobs, schedules, customers and catalogue items, but no official MCP server (checked 17 Oct 2026). Your administrator creates the API credentials in your build, partner apps need approval from Simpro, and all calls share a limit of 10 per second per build. Setup and FAQ: https://cotlet.dev/integrations/simpro-api-mcp-server
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server for the BoondManager API, enabling Claude to search, create, and modify records across 36 domains with 158 tools.238164 npm21Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables Claude to interact with Acumatica ERP through a remote MCP server with per-user OAuth, role-based access, and 44 tools for querying and managing ERP data.21Apache 2.0
- FlicenseNot gradedqualityDmaintenanceExposes a curated subset of the Officegest API v2 (22 CRUD tools) for managing clients, sales, and stock to AI clients like Claude Code and Claude Desktop.1-
- AlicenseNot gradedqualityDmaintenanceEnables turning any personal-assistant REST backend into Claude-ready tools via a single MCP server, providing 38 tools for communications, finance, health, and more.MIT