AS

abbottdevelopments/shopmonkey-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

3 stars 8 forks 质量 83 趋势 18MIT

Shoppmonkey REST API(v3)的MCP服务器——69个工作订单、客户、车辆、库存、预约、劳动力等工具

概览

一个模式上下文协议(MCP)服务器,将Shoppmonkey REST API (v3)包裹起来,使AI代理和LLMs能够与商店管理数据互动——工作订单,客户,车辆,库存,预约,支付,劳动力,罐装服务,网络呼号等等. - 涵盖Shopmonkey API的12个资源组 -- -- 用于本地/台式电脑使用的Stdio,用于云部署的可流式HTTP -- -- Shopmonkey API 关键认证(Sshopmonkey REST API的Bearer serford) -- -- 自动重试,在费率限制(429)和服务器错误(5xx)上进行指数回扣 -- -- 请求货币控制(最大5个同时的API呼叫) -- -- 每拨30秒请求超时 -- -- 通过SHOPMONKEY LOCATION ID或每拨号请求位置Id -- -- 描述错误信息 Survacing Shopmonkey 错误代码和消息 -- -- HTP运输包括无记号认证、健康检查终点和宽度关闭 -- -- 与 Claude桌面、Claude Code、Claudede.ai和任何 MCP兼容客户端 复制.env.example到.

概述(AI 翻译)

一个模式上下文协议(MCP)服务器,将Shoppmonkey REST API (v3)包裹起来,使AI代理和LLMs能够与商店管理数据互动——工作订单,客户,车辆,库存,预约,支付,劳动力,罐装服务,网络呼号等等.

□ 特性

  • 70个工具,涉及涵盖Shoppmonkey API的12个资源组
  • ** 双重运输**——用于当地/台式计算机的分层,用于云层部署的可流式HTTP
  • Shopmonkey API 密钥认证(Bearer sident to Shopmonkey REST API) 互联网档案馆的存檔,存档日期2013-12-02.
  • 在费率限制(429)和服务器出错(5xx)上自动重试,并进行指数回放
  • 请求货币控制(最多5个同时的API呼叫)
  • 每通电话30秒请求超时
  • 通过SHOPMONKEY_LOCATION_ID或按要求[[T1]提供多位置支持
  • 描述性错误信息上表面Shoppmonkey错误代码和消息
  • HTTP运输包括无记名认证、健康检查终点和优雅的关闭
  • 与Claude桌面公司、Cursor公司、Claude Code公司、Claude.ai公司以及任何与MCP兼容的客户端合作

□ 快开始

复制 [[T2] 到 .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 新手?先看 mcpskill.org 教程 →

配置

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