Integrations
Used for environment variable configuration with a .env file.
Provides a support link in the README, allowing users to financially support the developer of the MCP server.
Can be used to test the server's API endpoints during development.
Shiplogic MCP 服务器
模型上下文协议 (MCP) 服务器,可与 Shiplogic 运输 API 无缝集成。它基于 MCP SDK 和 TypeScript 构建,以确保类型安全并提升开发者体验。
演示
Copy
特征
- 🚚获取运费- 计算地址之间的运费
- 📦创建货运- 预订货运并自动跟踪
- 🔍追踪包裹- 实时追踪货运
- ❌取消发货- 需要时取消预订
- ➕可选服务- 获得特殊服务的附加费率
- 📚地址簿管理- 存储和管理常用地址
安装
先决条件
- Node.js 18+
- npm 或 yarn
- Shiplogic API 密钥(在shiplogic.com获取)
快速入门
- 克隆并安装:
Copy
- 配置环境:
Copy
- 构建服务器:
Copy
用法
使用 Claude Desktop
将其添加到您的 Claude Desktop 配置中:
Copy
使用 MCP 检查器
使用 MCP 检查器测试服务器:
Copy
独立
直接运行服务器:
Copy
可用工具
get_shipping_rates
计算两个地址之间的运费。
Copy
create_shipment
创建带有追踪功能的新货件。
Copy
track_shipment
通过参考编号追踪货件。
Copy
cancel_shipment
取消现有的发货。
Copy
get_opt_in_rates
获取可选的附加服务费率。
Copy
add_address_to_book
将地址添加到帐户的地址簿。
Copy
get_address_book
从帐户的地址簿中检索地址。
Copy
remove_address_from_book
从帐户的地址簿中删除一个地址。
Copy
配置
环境变量:
多变的 | 描述 | 必需的 | 默认 |
---|---|---|---|
SHIPLOGIC_API_KEY | 您的 Shiplogic API 密钥 | 是的 | - |
SHIPLOGIC_API_URL | API 基本 URL | 不 | https://api.shiplogic.com |
发展
项目结构
Copy
脚本
npm run build
编译 TypeScriptnpm run dev
- 构建并运行npm run inspect
- 使用 MCP Inspector 运行
测试
Copy
API 参考
此服务器集成了 Shiplogic API v2。有关详细的 API 文档,请参阅:
执照
MIT 许可证 - 请参阅LICENSE文件
贡献
- 分叉存储库
- 创建你的功能分支(
git checkout -b feature/amazing-feature
) - 提交更改(
git commit -m 'Add amazing feature'
) - 推送到分支(
git push origin feature/amazing-feature
) - 打开拉取请求
支持
- 🐛 问题: GitHub 问题
- 📧 电子邮件: your.email@example.com
- 📚 文档: Wiki
- ☕ 支持我的工作:请我喝杯咖啡
如果您觉得这个项目有帮助,请考虑支持我的工作。您的支持可以帮助我投入更多时间进行开源开发,并为社区创造更好的工具。
致谢
- 使用模型上下文协议 SDK构建
- 由Shiplogic API提供支持
由 Jacques Wainwright 用❤️制作
Related MCP Servers
- -securityAlicense-qualityAn unofficial MCP server that provides an interface to access the Autumn pricing API for managing customers, entitlements, invoices, and generating billing portal links.Last updated -5TypeScriptMIT License
- AsecurityFlicenseAqualityAn MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.Last updated -3926
- AsecurityFlicenseAqualityA comprehensive Model Context Protocol server that enables users to interact with the ShipStation API for managing orders, shipments, carriers, warehouses, products, customers, stores, webhooks, and fulfillments through structured tools.Last updated -39JavaScript
- AsecurityFlicenseAqualityA comprehensive server that enables interaction with the ShipHero API through the Model Context Protocol, providing tools for managing orders, products, inventory, shipping, warehouses, vendors, and webhooks.Last updated -29JavaScript