
Mcp Melhor Envio
io.github.codespar由 GitHub 账号 codespar 发布v0.1.4更新于 Oct 24, 2026
MCP server for Melhor Envio — shipping rates, labels, tracking, agencies
概览
面向 Melhor Envio 的本地 MCP 服务器,让助手计算运费、创建和跟踪货运,并管理面单与取件网点。
- 可以做什么
- 比较多家承运商的运费,并列出某条线路可用的配送服务,生成前可预览面单。创建、列出、查看和取消货运订单,并查询包含完整事件的物流跟踪记录。生成、预览、打印或下载货运面单 PDF。将订单加入购物车、结算并支付购物车,以及查询账户余额。查询店铺信息,创建已保存的寄件人或收件人地址,并按服务与位置列出或搜索取件网点。
- 适用场景
- 适合通过 Melhor Envio 处理巴西物流的场景,希望助手在对话中比较承运商运费、准备面单、跟踪配送,或管理货运订单与取件点。
- 运行要求
- 通过 npm 包以 npx 在本地运行,需要 Node.js。需要 Melhor Envio 账户,并在 MELHOR_ENVIO_TOKEN 环境变量中提供 Bearer 令牌。可选的 MELHOR_ENVIO_SANDBOX 设为 true 可切换到沙箱。需要访问 Melhor Envio 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp Melhor Envio,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@codespar/mcp-melhor-envio
MCP server for Melhor Envio — shipping aggregator with multi-carrier rate comparison
Quick Start
Claude Desktop
Add to ~/.config/claude/claude_desktop_config.json:
Claude Code
Cursor / VS Code
Add to .cursor/mcp.json or .vscode/mcp.json:
Tools (18)
Authentication
Melhor Envio uses a Bearer token for authentication.
Sandbox / Testing
Melhor Envio provides a sandbox at sandbox.melhorenvio.com.br. Set MELHOR_ENVIO_SANDBOX=true to use it.
Get your credentials
- Go to Melhor Envio
- Create an account
- Navigate to API settings and generate a token
- Set the
MELHOR_ENVIO_TOKENenvironment variable
Environment Variables
Roadmap
v0.2 (planned)
create_store— Create a store in Melhor Envioupdate_store— Update store detailsget_receipt— Get shipping receipt/labellist_companies— List available shipping companiesget_invoice— Get invoice for a shipment
v0.3 (planned)
batch_shipments— Create multiple shipments in a single requestdetailed_reports— Generate detailed shipping reportswebhook_management— Register, list, and delete webhooks
Want to contribute? Open a PR or request a tool.
Links
Enterprise
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT
来源:packages/ecommerce/melhor-envio/README.md,提交 d0a519a
工具
0版本历史
1- v0.1.4最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分