Skip to main content

Unified CLI and Python client for Proboost TikTok, Patent, and Amazon MCP servers.

Project description

openboost-cli

统一 Proboost MCP 命令行工具,包含 TikTok、Patent、Amazon 三套 MCP 的交互式菜单、快捷命令、通用调用和 Python 客户端。

安装

从 PyPI 安装:

pip install openboost-cli

开发安装:

python3.12 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -e ".[dev]"

安装后命令为:

proboost --help

配置密钥

三套 MCP 共用同一个密钥时:

proboost config set --secret-key "你的密钥"

也可以只配置某一个 MCP:

proboost config set --mcp patent --secret-key "你的密钥"
proboost config set --mcp amazon --base-url "http://mcp.microdata-inc.com/mcp-servers/proboost-amazon-mcp"

环境变量也支持:

export PROBOOST_SECRET_KEY="通用密钥"
export PROBOOST_TIKTOK_SECRET_KEY="TikTok 专用密钥"
export PROBOOST_PATENT_SECRET_KEY="Patent 专用密钥"
export PROBOOST_AMAZON_SECRET_KEY="Amazon 专用密钥"

通用命令

proboost                 # 交互式菜单
proboost list            # 列出全部 55 个工具
proboost docs patent patent_query_search

proboost call tiktok tt_video_content \
  --set countryRegion=美国 \
  --set videoId=7587942790298979614

proboost call patent patent_query_count \
  --set query_text="TACD: virtual reality"

proboost call amazon amz_product_selection \
  --set webSiteId=1 \
  --set pages=1 \
  --set pagesSize=10

快捷命令示例

TikTok:

proboost tiktok commodity category-tree
proboost tiktok video content 7587942790298979614 --country 美国
proboost tiktok shop list --data-period last30d --country 美国

Patent:

proboost patent search count "TACD: virtual reality"
proboost patent search query "TACD: virtual reality" --limit 10
proboost patent detail bibliography --patent-number US11205304B2
proboost patent image-search single "https://example.com/image.jpg" --model 1 --patent-type D

Amazon:

proboost amazon product selection --site 1 --pages 1 --pages-size 10
proboost amazon product sku B0EXAMPLE --site 1
proboost amazon hot cat-tree --site 1 --rank-type "Best Seller"

复杂筛选条件可追加 key=value

proboost amazon product selection --site 1 minPrice=10 maxPrice=30 sortField=sku_sales_last_30d sortOrder=desc

Python 客户端

from proboost_cli import Proboost

pb = Proboost()
content = pb.tiktok.tt_video_content(countryRegion="美国", videoId="7587942790298979614")
count = pb.patent.patent_query_count(query_text="TACD: virtual reality")
items = pb.amazon.amz_product_selection(webSiteId="1", pages=1, pagesSize=10)

测试

python -m pytest
proboost --help
proboost list

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openboost_cli-0.1.0.tar.gz (35.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openboost_cli-0.1.0-py3-none-any.whl (67.9 kB view details)

Uploaded Python 3

File details

Details for the file openboost_cli-0.1.0.tar.gz.

File metadata

  • Download URL: openboost_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for openboost_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 22f5bdd386bc23fa2a47648aab87023e0f3541c0eb86b6fb4830cd68d20ce58f
MD5 afa081c7029dca16652a563f8df04696
BLAKE2b-256 6f0a6435bdeec17c273ec429015c2eef66c398cef8ecbca92f1a01eb7cada001

See more details on using hashes here.

File details

Details for the file openboost_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: openboost_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 67.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for openboost_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e540d5882369903c9333727492d0c5fa2d3e791cc24806c8a16341d063a9d7c3
MD5 a28e6e8f922828df0283e1f2b1c19a0f
BLAKE2b-256 11dcaf9fa64a6ed86d0182a69e61a12b12d3f825f6f756d04890d2047a543af6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page