UU跑腿 MCP Server
一个轻量级的MCP Server,用于通过MCP协议在uupt.com开放平台创建订单 https://open.uupt.com/
产品介绍
UU跑腿核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的配送服务商。UU跑腿已经完成核心API接口和MCP协议的对接,涵盖询价、发单、订单详情、配送员实时位置等功能。作为国内首家支持MCP协议的配送服务商,UU跑腿MCP Server发布后,智能体开发者仅需简单配置,就可以在大模型中快速接入配送服务,实现一句话发单的能力,大幅降低了智能体应用开发过程中调用配送服务相关能力的门槛,显著提升了智能体应用的开发效率。
功能介绍
地址询价
获取订单价格。
输入参数
fromAddress:发货地址toAddress:收货人地址adCode:订单区域编码sendType:订单类型
输出参数
priceToken:金额令牌(提交订单使用)needPayMoney:实际支付金额
地址发单
输入参数
priceToken:金额令牌(计算订单价格接口返回的price_token)receiverPhone:收件人电话(手机号码)
输出参数
orderCode:UU订单号
取消订单
输入参数
orderCode:UU订单号reason:取消原因
输出参数
deductFee:扣除费用(单位:分)
查询订单
输入参数
orderCode:UU订单号
输出参数
fromAddress:发货地址toAddress:收货人地址distance:配送距离state:当前状态
创建应用和秘钥
注册开放平台
- 注册UU跑腿开放平台账号。
- 注册成功后登录,进入“我的首页”。
添加应用
- 点击左侧菜单栏“我的应用”。
- 创建应用并获得秘钥。
查看应用秘钥
- 系统已集成UU跑腿配送,应用秘钥配置至发单系统即可使用。
- 未集成开发者进行接口对接。
快速开始
配置Python本地环境
建议使用Python 3.11版本。
安装命令
pip3 install -i https://mirrors.aliyun.com/pypi/simple/ uupt-mcp-server
更新命令
pip3 install -U -i https://mirrors.aliyun.com/pypi/simple/ uupt-mcp-server
查看安装是否成功
pip3 list
配置mcpService
{
"mcpServers": {
"uupt-mcp-server": {
"disabled": false,
"timeout": 60,
"command": "python",
"args": [
"-m",
"uupt-mcp-server"
],
"env": {
"APP_ID": "您的APP_ID",
"APP_SECRET": "您的APP_SECRET",
"OPEN_ID": "您的OPEN_ID",
"OPENAPI_URL_BASE": "https://openapi.uupt.com/v2_0/"
},
"transportType": "stdio"
}
}
}
示例
Metadata
Release files for uupt-mcp-freight-server 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uupt_mcp_freight_server-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / uupt_mcp_freight_server-0.0.1-py3-none-any.whl
| Download URL | uupt_mcp_freight_server-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
351916fcf13e9b4eebe9d37aa4a6382ef94b73c53a504cae18855c91c48c9b9c
|
|
BLAKE2b-256 checksum How to use checksums |
d552bcb33f56bac963c4625394e3b9d65e8698f1e8f7bc57b2a8d4152d45ad53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.12
|
Security for uupt-mcp-freight-server 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.