AS

abbottdevelopments/shopmonkey-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

3 stars 8 forks 品質 83 トレンド 18MIT

Shopmonkey REST API の MCP サーバー (v3) — 69 ツールの受注、顧客、車両、在庫、予約、労働など

概要

Shopmonkey REST API (v3) をラップするモデルコンテキストプロトコル (MCP) サーバーで、AI エージェントと LLM がショップ管理データを操作できるようにします。 注文、顧客、車、在庫、予約、支払い、労働、缶詰サービス、Webhook など。 - Shopmonkey API を網羅する 12 のリソースグループ - ローカル/デスクトップの使用、クラウド展開のための Streamable HTTP - Shopmonkey API のキー認証 (Bearer トークンから Shopmonkey REST API) - 速度制限(45) とサーバーのエラー(5xx) - リクエストの同時 API 認証 (Bearer トークンから Shopmonkey REST API まで) - 自動リトライ - 課金による自動リトライ (Shopmonkey REST API) - および Crowse のエラー (HTTP ) - リクエストのリクエストのリクエストは、Cover- および Crowse- のエラーを含む) - および Crowse- のエラーは、Claude- エラーを処理します。 .env.example をコピーします.

概要(AI 翻訳)

Shopmonkey REST API (v3) をラップするモデルコンテキストプロトコル (MCP) サーバーで、AI エージェントと LLM がショップ管理データを操作できるようにします。 注文、顧客、車、在庫、予約、支払い、労働、缶詰サービス、Webhook など。

##特徴

-70ツールShopmonkey APIをカバーする12リソースグループ全体 -Dualtransport — ローカル/デスクトップの使用、クラウド展開用の Streamable HTTP

  • Shopmonkey APIキー認証(BearerトークンからShopmonkey REST API)
  • 速度の限界の指数関数的な backoff の自動再試行 (429) およびサーバーの間違い (5xx)
  • リクエストの同時制御(最大5同時API呼び出し)
  • コールごとの30秒の要求のタイムアウト
  • [SHOPMONKEY_LOCATION_ID] または 1 件によるマルチロケーションのサポート locationId
  • 記述エラーメッセージは、Shopmonkeyエラーコードとメッセージのサーファー
  • HTTP トランスポートには、ベアーズオース、健康チェックエンドポイント、および優雅なシャットダウンが含まれています。
  • Claudeデスクトップ、カーソル、Claudeコード、Claude.ai、および任意のMCP互換クライアントで動作します。

クイックスタート

[.env.exampleを.envにコピーし、Shopmonkey APIキーを追加します。

サーバを起動します。

輸送

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Shopmonkey MCP Server

A Model Context Protocol (MCP) server that wraps the Shopmonkey REST API (v3), enabling AI agents and LLMs to interact with shop management data — work orders, customers, vehicles, inventory, appointments, payments, labor, canned services, webhooks, and more.

Features

  • 70 tools across 12 resource groups covering the Shopmonkey API
  • Dual transport — stdio for local/desktop use, Streamable HTTP for cloud deployment
  • Shopmonkey API key authentication (Bearer token to Shopmonkey REST API)
  • Automatic retry with exponential backoff on rate limits (429) and server errors (5xx)
  • Request concurrency control (max 5 simultaneous API calls)
  • 30-second request timeout per call
  • Multi-location support via SHOPMONKEY_LOCATION_ID or per-request locationId
  • Descriptive error messages surfacing Shopmonkey error codes and messages
  • HTTP transport includes bearer auth, health check endpoint, and graceful shutdown
  • Works with Claude Desktop, Cursor, Claude Code, Claude.ai, and any MCP-compatible client

Quick Start

git clone https://github.com/AbbottDevelopments/shopmonkey-mcp-server.git
cd shopmonkey-mcp-server
npm install
npm run build

Copy .env.example to .env and add your Shopmonkey API key:

cp .env.example .env
# Edit .env — set SHOPMONKEY_API_KEY to your key

Start the server:

# stdio (local use with Claude Desktop, Cursor, Claude Code)
npm start

# HTTP (cloud deployment, Claude.ai)
npm run start:http

Transports

The server ships two entry points sharing a single tool registry — use whichever matches your deployment target.

stdio (local use)

node dist/index.js
# or: npm start

Your MCP client spawns this process directly. Used by Claude Desktop, Cursor, and Claude Code. See MCP Client Configuration below.

Streamable HTTP (cloud deployment)

PORT=3000 node dist/http.js
# or: npm run start:http

The HTTP server listens on PORT (default 3000) and handles MCP requests at /. Required for cloud deployment (Railway, Render) and for connecting to Claude.ai.

HTTP features:

  • Authentication — Set MCP_AUTH_TOKEN to require Authorization: Bearer on all MCP requests. Open access when unset (local development).
  • Health check — GET /health and GET / return {"status":"ok"} for load balancer probes.
  • Graceful shutdown — Clean exit on SIGTERM/SIGINT with a 5-second timeout.

For cloud deployment instructions, see docs/DEPLOYMENT.md.

Tool Reference

Work Orders (5 tools)

Tool Description
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "shopmonkey": { "command": "node", "args": ["dist/index.js"], "cwd": "/path/to/shopmonkey-mcp-server", "env": { "SHOPMONKEY_API_KEY": "your_api_key_here" } } } }