Taobao Affiliate MCP Service logo

Taobao Affiliate MCP Service

Community
liuliang520530

淘宝客,京东客,多多客专用MCP,支持全平台所以API接口的工具,转链接,搜索等等

Publisherliuliang520530
Repositorytaoke-mcp
LanguageDockerfile
Forks
18
Stars
122
Available tools
0
Transport typestdio
Categories
LicenseISC
Links
  • Connect tools to AI workflows

    Taobao Affiliate MCP Service exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    122 stars and 18 forks from the linked repository.

淘宝客 MCP 服务

smithery badge

淘宝联盟,京东联盟,多多进定全平台 MCP 服务是一个基于 Model Context Protocol (MCP) 的服务,支持淘宝、拼多多三大电商平台的链接转换和商品推广功能,商品搜索等等一系列工具

京东已下线

github:

https://github.com/liuliang520530/taoke-mcp/

视频教程

https://www.bilibili.com/video/BV1QZ1jB2ENk

smithery服务托管

https://smithery.ai/server/@liuliang520530/taoke-mcp

支持docker部署

https://hub.docker.com/r/liuliang520500/taoke-mcp

shell
docker run -dit \
--name taoke-mcp  \
--restart always \
-p 8081:8081 \
-e ENV_URL=https://config.sinataoke.cn/api/mcp/secret \
-e ENV_SECRET=url:mcp.sinataoke.cn \
-e ENV_OVERRIDE=false \
liuliang520500/taoke-mcp


你可以添加更多的环境变量 -e,参考下面的stdio配置

官方文档

https://mcp.sinataoke.cn/docs

在 Cherry Studio 上的工具展示

Project Screenshot

交流群,扫码入群

Project Screenshot

使用方法

环境变量配置

服务需要配置以下环境变量:

# 环境变量加载配置
ENV_URL=https://config.sinataoke.cn/api/mcp/secret
ENV_SECRET=url:mcp.sinataoke.cn
ENV_OVERRIDE=false  # 可选,是否覆盖当前已存在的环境变量,这个一定要为false,不然下面的配置将不生效

# 淘宝客API配置
TAOBAO_PID=your-pid # 淘宝联盟PID
TAOBAO_SESSION=your-session # 你的授权ID,下面有授权链接

# 拼多多API配置
PDD_PID=your-pid # jinbao.pinduoduo.com上获取的,需要授权
PDD_SESSION_TOKEN=your-session-token # 授权token,授权链接在下面

淘宝联盟授权链接:

https://oauth.taobao.com/authorize?response_type=token&client_id=34297717&state=1212&view=web

拼多多授权链接

https://jinbao.pinduoduo.com/open.html?client_id=313cc43a30cf487da0a336d9f2df7de2&response_type=code&redirect_uri=http%3A%2F%2Fddk.weiququ.cn%2FApi%2Fget_access_token&view=web

拼多多 PID 授权

  • 授权链接用工具 pdd.goods.prom.url 转一个推广链接,参数 generate_authority_url=true,如果没授权,会优先走授权链接
  • 你如果让 ai 通过 MCP 授权的话,你就直接发送一个商品链接,并告诉 ai 参数 generate_authority_url=true,然后 ai 就会通过当前工具授权链接用工具 pdd.goods.prom.url 转一个推广链接,并返回一个授权链接给你

与 Claude Desktop 或 Cherry Studio 集成

要在 Claude Desktop 中使用此服务

使用 MCP 配置文件

您也可以使用 MCP 配置文件来启动服务。创建一个名为 mcp.json 的文件,内容如下【stdio配置】:

json
{
	"mcpServers": {
		"taobao-mcp": {
			"name": "导购助手",
			"type": "stdio",
			"isActive": true,
			"command": "npx",
			"args": [
				"-y",
				"@liuliang520500/sinataoke_cn@latest",
				"g:win11desktop/logs/" // 可选,日志文件夹路径,,如果要填写,要换成你自己本地电脑上的一个文件夹
			],
			"env": {
				"ENV_URL": "https://config.sinataoke.cn/api/mcp/secret",
				"ENV_SECRET": "url:mcp.sinataoke.cn",
				"ENV_OVERRIDE": "false",
				"TAOBAO_PID": "淘宝PID",
				"TAOBAO_SESSION": "淘宝授权token,上面有授权链接,授权后,复制token到这里",
				"JD_KEY": "union.jd.com上去取",
				"JD_PID": "union.jd.com上去取",
				"PDD_PID": "拼多多PID",
				"PDD_SESSION_TOKEN": "拼多多授权token,上面有授权链接"
			}
		}
	}
}

支持的功能

淘宝平台

  • 链接转换
  • 链接解析
  • 活动转换
  • 订单详情查询
  • 工具列表
  • 推广请求
  • 创建推广位
  • 淘口令创建
  • 物料搜索
  • 处罚订单查询
  • 商品信息查询
  • 优选推广

京东平台

  • 推广位查询
  • 推广位创建
  • 联盟推广
  • 商品查询
  • 优惠券查询

拼多多平台

  • 商品详情
  • CMS 推广链接
  • 推广位生成
  • 推广位查询
  • 推广链接生成
  • 商品推荐
  • 商品搜索
  • 多多进宝转链
  • 会员权限查询
  • 订单详情查询
  • 订单增量查询
  • 推广位生成

许可证

ISC

作者 VX

  • liuliangzheng

有任务使用问题联系作者,请认准包名:

  • @liuliang520500/sinataoke_cn@latest 谨防假冒

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "liuliang520530-taoke-mcp": {
      "command": "",
      "args": []
    }
  }
}

Use Taobao Affiliate MCP Service MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Taobao Affiliate MCP Service is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Taobao Affiliate MCP Service as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Taobao Affiliate MCP Service MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "liuliang520530-taoke-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@liuliang520500/sinataoke_cn"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Taobao Affiliate MCP Service MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Taobao Affiliate MCP Service MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Taobao Affiliate MCP Service to help me with this task?
Taobao Affiliate MCP Service
Sure. I read it.
Here is what I found using Taobao Affiliate MCP Service.

Frequently asked questions

What is the Taobao Affiliate MCP Service MCP server used for?

Taobao Affiliate MCP Service is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Taobao Affiliate MCP Service MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Taobao Affiliate MCP Service with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Taobao Affiliate MCP Service MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Taobao Affiliate MCP Service connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Taobao Affiliate MCP Service MCP to TypingMind?

Taobao Affiliate MCP Service runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Taobao Affiliate MCP Service MCP provide in TypingMind?

Taobao Affiliate MCP Service exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Taobao Affiliate MCP Service MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Taobao Affiliate MCP Service requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇