SalesBuildr

io.github.wyre-technology由 GitHub 账号 wyre-technology 发布v1.5.7更新于 Oct 24, 2026

MCP server for SalesBuildr — quoting and sales workflows for MSPs.

已验证STDIO仅桌面效率与工作流商业与电商

概览

AI 生成的概览

面向 SalesBuildr 的 MCP 服务器,让助手浏览和管理 MSP 销售数据:公司、联系人、产品、商机和报价。

可以做什么
  • 管理公司与联系人:列出、查看、创建、更新和删除客户与联系人
  • 浏览产品目录:列出和查看产品
  • 跟进销售管道:列出、查看、创建和更新商机
  • 处理报价:列出、查看和创建带明细行的报价,在 MCP Apps 宿主中显示只读报价卡片
  • 通过决策树入口工具切换业务域,一次只暴露一个域的工具
适用场景
适合需要让助手在 SalesBuildr 租户内处理 MSP 报价与销售事务的场景:查询客户和联系人、查看销售管道、基于目录产品起草报价。面向已经在使用 SalesBuildr 的团队,而非通用 CRM 工作。
运行要求
以本地 stdio 进程(npx 包或容器镜像)或 HTTP 服务方式运行。stdio 与 env 认证模式需要 SALESBUILDR_API_KEY 中的 SalesBuildr API 密钥;gateway 模式则每次请求需带 X-SalesBuildr-API-Key 请求头。HTTP 模式还需 CONDUIT_S2S_SECRET 及签名的 X-Gateway-S2S 请求头。安装 npm 包需要具备 read:packages 权限的 GitHub 令牌,放在 NODE_AUTH_TOKEN 中。可用 SALESBUILDR_BASE_URL 指定租户地址。
安装前请注意
SalesBuildr API 密钥可访问租户销售数据,请勿写入共享配置。公司与联系人工具包含创建、更新和删除,助手可能修改或删除记录。gateway 模式每次请求通过 X-SalesBuildr-API-Key 传递密钥;HTTP 模式依赖 CONDUIT_S2S_SECRET,必须是真实密钥且不得提交到仓库。MCP_ALLOW_INSECURE_DEV=1 会关闭请求签名校验,仅限本地开发。

安装

在 SourceWeft 中

  1. 打开 控制台中的 SalesBuildr,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

SalesBuildr MCP Server

A Model Context Protocol (MCP) server for integrating with the SalesBuildr quoting and sales platform. Built with a decision-tree architecture to expose domain-specific tools without overwhelming the LLM.

Architecture

The server uses a decision tree pattern:

  1. At root, only salesbuildr_navigate is exposed
  2. User selects a domain (companies, contacts, products, opportunities, quotes)
  3. Domain-specific tools become available along with salesbuildr_back
  4. Tool calls route to domain handlers that interact with the SalesBuildr API

Interactive Quote Card (MCP Apps)

salesbuildr_quotes_get renders as an interactive, read-only quote card in MCP Apps hosts (Claude Desktop/web) — title, status, company/contact, dates, line items, and totals; plain-JSON behavior is unchanged in other hosts. The card is neutral by default and brandable via window.__BRAND__ injection or MCP_BRAND_* env vars (MCP_BRAND_NAME, MCP_BRAND_LOGO_URL, MCP_BRAND_PRIMARY_COLOR, MCP_BRAND_ACCENT_COLOR, MCP_BRAND_BG, MCP_BRAND_TEXT) — no rebuild needed.

Domains

DomainToolsDescription
companies5Company/account management (list, get, create, update, delete)
contacts5Contact management (list, get, create, update, delete)
products2Product catalog (list, get)
opportunities4Sales pipeline (list, get, create, update)
quotes3Quote management with line items (list, get, create)

One-Click Deployment

[!IMPORTANT] Before you click: this server depends on @wyre-technology/node-salesbuildr, which is hosted on the GitHub Packages npm registry. GitHub Packages has no anonymous access — even though the package is public, every npm install needs a token. The cloud builder runs npm install for you, so you must give it one, or the build fails with npm error 401 Unauthorized ... npm.pkg.github.com.

  1. Create a GitHub Personal Access Token with the read:packages scope (classic token). Any GitHub account works — you do not need to be a member of the wyre-technology org to read its public packages.
  2. Add it as a build variable when prompted by the deploy flow:
    • Cloudflare Workers → set a build variable named NODE_AUTH_TOKEN to your PAT (Workers → Settings → Build → Variables and Secrets).
    • DigitalOcean App Platform → set an encrypted env var named GITHUB_TOKEN with scope Build Time to your PAT (the Dockerfile reads it for the install).

[Deploy to DO]

[Deploy to Cloudflare Workers]

Installation

This package is published to the GitHub Packages npm registry, which requires a token even for public packages. Authenticate once, then install:

bash
# Authenticate npm to GitHub Packages (token needs the read:packages scope)export NODE_AUTH_TOKEN=$(gh auth token)   # or a PAT with read:packages
npm install @wyre-ai/salesbuildr-mcp

The repo's .npmrc already points the @wyre-technology scope at GitHub Packages and reads the token from NODE_AUTH_TOKEN, so no further config is needed.

Configuration

Copy .env.example. Stdio and AUTH_MODE=env read the SalesBuildr variables. Gateway mode does not.

Environment Variables

VariableRequiredDefaultDescription
SALESBUILDR_API_KEYFor stdio and AUTH_MODE=env-SalesBuildr API key
SALESBUILDR_BASE_URLNoLibrary defaultTenant-specific base URL (e.g. https://mytenant.salesbuildr.com)
MCP_TRANSPORTNostdiostdio or http
MCP_HTTP_PORTNo8080HTTP server port
MCP_HTTP_HOSTNo0.0.0.0 when a real secret is setBind address when CONDUIT_S2S_SECRET is set. The container image sets 0.0.0.0. Without a secret, MCP_ALLOW_INSECURE_DEV=1 binds 127.0.0.1 instead.
AUTH_MODENoenv outside the imageenv or gateway. The container image and Compose default to gateway. Gateway mode requires X-SalesBuildr-API-Key on each /mcp request and never falls back to SALESBUILDR_*.
CONDUIT_S2S_SECRETYes for HTTP-Service-to-service secret. The HTTP server logs an error and exits non-zero when this is empty or a known placeholder. Compose will not start without it. Never commit a real value. Generate one with openssl rand -hex 32.
MCP_ALLOW_INSECURE_DEVNounsetSet to 1 only for local development to start HTTP without CONDUIT_S2S_SECRET. The process logs a warning, does not enforce X-Gateway-S2S, and binds 127.0.0.1 only. A non-loopback MCP_HTTP_HOST refuses startup. A known placeholder secret is still refused.

/health and /healthz stay unauthenticated and do not read credentials. The stdio transport does not use CONDUIT_S2S_SECRET.

HTTP authentication

With MCP_TRANSPORT=http and CONDUIT_S2S_SECRET set, every /mcp request must include X-Gateway-S2S. The value is t=<unix seconds>,v1=<hex>, where v1 is HMAC-SHA256 of the exact string t=<unix seconds> keyed by CONDUIT_S2S_SECRET (64 lowercase hex characters). The timestamp must be within 300 seconds of the server clock. A missing or invalid header returns 401. The secret is never written to logs.

js
import { createHmac } from "node:crypto";
const t = Math.floor(Date.now() / 1000);const v1 = createHmac("sha256", process.env.CONDUIT_S2S_SECRET)  .update(`t=${t}`)  .digest("hex");const xGatewayS2s = `t=${t},v1=${v1}`;

In AUTH_MODE=gateway, /mcp also requires X-SalesBuildr-API-Key. That header is the only credential source for the request. A request missing it returns 401 and does not read SALESBUILDR_API_KEY from the environment.

Stdio Mode (Claude Desktop)

Add to your Claude Desktop config (claude_desktop_config.json):

json
{  "mcpServers": {    "salesbuildr": {      "command": "npx",      "args": ["@wyre-ai/salesbuildr-mcp"],      "env": {        "SALESBUILDR_API_KEY": "your-api-key"      }    }  }}

HTTP Mode (Gateway)

bash
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" MCP_TRANSPORT=http AUTH_MODE=gateway node dist/index.js

In gateway mode, pass credentials via request headers. The gateway also signs each request with X-Gateway-S2S (see HTTP authentication):

X-Gateway-S2S: t=<unix seconds>,v1=<hex hmac-sha256>X-SalesBuildr-API-Key: your-api-key

Docker

The image listens on 0.0.0.0 inside the container (MCP_HTTP_HOST) and defaults to AUTH_MODE=gateway. Publish the port on loopback and pass a real S2S secret. In gateway mode, the SalesBuildr API key arrives on each request as X-SalesBuildr-API-Key; it is not read from the environment.

bash
docker run -d \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -p 127.0.0.1:8080:8080 \  ghcr.io/wyre-ai/salesbuildr-mcp:latest

Compose refuses to start when CONDUIT_S2S_SECRET is unset, sets AUTH_MODE=gateway, does not set SALESBUILDR_API_KEY or env_file, and publishes 127.0.0.1:8080:8080:

bash
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" docker compose up

Single-tenant HTTP (AUTH_MODE=env) still requires the S2S secret, then uses SALESBUILDR_API_KEY:

bash
docker run -d \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -e AUTH_MODE=env \  -e SALESBUILDR_API_KEY=your-api-key \  -p 127.0.0.1:8080:8080 \  ghcr.io/wyre-ai/salesbuildr-mcp:latest

Local HTTP without a secret is development-only. It binds 127.0.0.1 and logs a warning. A non-loopback MCP_HTTP_HOST makes startup exit:

bash
MCP_TRANSPORT=http MCP_ALLOW_INSECURE_DEV=1 npm start

Development

bash
# Install dependenciesnpm install
# Run testsnpm test
# Type checknpm run typecheck
# Buildnpm run build
# Run locally (stdio)SALESBUILDR_API_KEY=your-key npm start
# Run locally (HTTP). Refuses to start until CONDUIT_S2S_SECRET is a real secret.CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" MCP_TRANSPORT=http SALESBUILDR_API_KEY=your-key npm start
# Local HTTP only, without a service-to-service secret (always binds 127.0.0.1)MCP_TRANSPORT=http MCP_ALLOW_INSECURE_DEV=1 npm start

License

Apache-2.0

来源:README.md,提交 d5d5398

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.5.7最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分