佣金设置MCP工具
Project description
MCP自动化工具集合
本项目包含两个独立的MCP工具包:
- office-assistant-mcp: 客群管理和短信营销自动化
- commission-setting-mcp: 佣金设置自动化
项目架构
office_assistant_mcp/
├── src/
│ ├── office_assistant_mcp/ # 客群短信业务
│ ├── commission_setting_mcp/ # 佣金设置业务
│ └── shared/ # 共享基础组件
├── pyproject.toml # office-assistant-mcp配置
├── pyproject_commission.toml # commission-setting-mcp配置
├── build_and_upload_pypi.sh # office包构建脚本
└── build_and_upload_commission.sh # 佣金包构建脚本
包管理
使用uv
安装依赖
clone项目后,使用uv安装依赖:
uv sync
执行代码前激活虚拟环境:
source .venv/bin/activate
安装三方包:
uv add playwright==1.51.0
Tools调试
客群短信业务调试
启动office-assistant-mcp调试工具:
uv run mcp dev src/office_assistant_mcp/mcp_server.py
佣金设置业务调试
启动commission-setting-mcp调试工具:
uv run mcp dev src/commission_setting_mcp/mcp_server.py
调试界面自动打开 页面配置:STDIO uv run --with mcp mcp run src/office_assistant_mcp/mcp_server.py
开发
为了能执行examples/下的文件,需要在根目录下安装office_assistant_mcp包:
uv pip install -e .
构建和发布
Office Assistant MCP包
手动构建:
uv build
自动构建和发布:
./build_and_upload_pypi.sh
- 自动递增版本号
- 构建包文件
- 可选择上传到PyPI
Commission Setting MCP包
自动构建和发布:
./build_and_upload_commission.sh
- 自动递增版本号
- 切换配置文件进行构建
- 恢复原配置文件
- 可选择上传到PyPI
包文件位置
构建的包文件存放在 dist/ 目录下:
- office-assistant-mcp-x.x.x.tar.gz
- office-assistant-mcp-x.x.x-py3-none-any.whl
- commission-setting-mcp-x.x.x.tar.gz
- commission-setting-mcp-x.x.x-py3-none-any.whl
功能模块
Office Assistant MCP
- 客群创建和管理
- 用户行为标签设置
- 短信营销计划创建
- 飞书SSO登录
Commission Setting MCP
- 佣金设置管理
- 更多功能开发中...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file commission_setting_mcp-0.0.20.tar.gz.
File metadata
- Download URL: commission_setting_mcp-0.0.20.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08e24760d1495edd42a30ce5e91bb04af14570bfa9e79496401e0ec31648cc5f
|
|
| MD5 |
af61a90ba542c51ab2797179f3a40506
|
|
| BLAKE2b-256 |
ab468a0366835b0721db6f8011561eff35afc21f4ffc2c365ec4f814df78c7cd
|
File details
Details for the file commission_setting_mcp-0.0.20-py3-none-any.whl.
File metadata
- Download URL: commission_setting_mcp-0.0.20-py3-none-any.whl
- Upload date:
- Size: 25.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90e5df1c0a24bd851fe4da2ae1efa3c43287f365b9f92bd72db0c9dea4cceaf7
|
|
| MD5 |
4e7dbec4a20f188ef11653fa4f5eb2d4
|
|
| BLAKE2b-256 |
3dd11659a5d6e598c644d506e8eab22515770cd00674a06e24d6f98110b631c9
|