跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 OLX,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
AnythingMCP 已收录在 Claude 的连接器目录中:一键添加到 Claude (在新标签页中打开),然后登录并选择 Claude 可以使用哪些 MCP 服务器。
摘要
在 Claude、ChatGPT 或 Copilot 中管理你的 OLX 分类信息账号(波兰、罗马尼亚、保加利亚、葡萄牙、乌克兰、哈萨克斯坦、乌兹别克斯坦):带状态、统计数据和审核原因的广告,与买家的消息会话及回复,钱包余额、扣费记录和发票,以及类目、属性和地区。通过 OAuth 登录,每个国家安装一次。
试试这样问
OLX 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → OLX、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
OLX + Claude
在 Claude、ChatGPT 或 Copilot 中管理你的 OLX 分类信息账号(波兰、罗马尼亚、保加利亚、葡萄牙、乌克兰、哈萨克斯坦、乌兹别克斯坦):带状态、统计数据和审核原因的广告,与买家的消息会话及回复,钱包余额、扣费记录和发票,以及类目、属性和地区。通过 OAuth 登录,每个国家安装一次。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
OLX_HOST, OLX_CLIENT_ID, OLX_CLIENT_SECRET
步骤 1 — 获取凭证
设置大约需要 10 分钟,另加 OLX 审核你的应用所需的时间。你需要一个在你销售所在国家的 OLX 站点上的账号,以及一个在该国 OLX 开发者门户上已获批准的应用。
- 用你的 OLX 账号登录所在国家的开发者门户:developer.olx.pl(波兰)、developer.olx.ro(罗马尼亚)、developer.olx.bg(保加利亚)、developer.olx.pt(葡萄牙)、developer.olx.ua(乌克兰)、developer.olx.kz(哈萨克斯坦)或 developer.olx.uz(乌兹别克斯坦)。
- 通过 Connect App 添加一个应用。在 redirect URI(波兰门户上叫 Adres powrotu)中,AnythingMCP Cloud 填写
https://cloud.anythingmcp.com/api/mcp-oauth/callback,自行托管 AnythingMCP 时填写<your AnythingMCP URL>/api/mcp-oauth/callback。 - 等待 OLX 批准应用。在此之前状态显示为 Waiting for acceptance;OLX 会发邮件通知你,批准后才会出现 Client ID 和 Client Secret。
- 把它们分别粘贴到
OLX_CLIENT_ID和OLX_CLIENT_SECRET,并把OLX_HOST准确设为你所在国家的站点,例如https://www.olx.pl、https://www.olx.ro或https://www.olx.ua,不要带路径或末尾斜杠。它必须是注册应用的那个国家。 - 安装连接器,打开它并点击 Authorize with Provider。用你希望 AI 查看其广告的 OLX 账号登录并批准访问(连接器会申请
v2 read write权限范围)。然后运行olx_get_me:它会显示当前登录的用户,并确认OLX_HOST的国家是正确的。
每个国家安装一次:每个 OLX 国家都是独立的站点,账号、应用注册和类目各不相同。如果你同时在波兰和罗马尼亚销售,就安装两次连接器,并在名称中注明国家。OLX 巴西运行在另一个平台上,不在支持范围内。
用的是谁的账号:所有使用这个连接器的人读取的都是授权它的那个账号的广告和消息。请使用卖家账号,并在共享之前想好要给谁使用。
可读取的内容:你自己的广告,包括状态(active、limited、outdated、moderated 或 blocked)、标题、价格、类目、地区、联系方式、有效期和链接;广告的完整详情,包括描述、属性和图片;每条广告的统计(浏览量、电话号码显示次数、收藏数);审核拒绝或封禁某条广告的原因;广告上当前生效的付费推广;与买家的消息会话及未读数、会话中的消息和对方的公开资料;你的商家资料;OLX 钱包余额和赠送额度、扣费记录以及预付和后付发票;还有发布广告需要的参考数据:带必填属性的类目、根据广告标题推荐的类目、地区、城市、城区,以及与一组坐标对应的城市。
只有你自己的广告:OLX 没有搜索他人广告的 API,因此 AI 无法浏览整个平台或查看竞争对手的广告。
安装时关闭:olx_send_message、olx_mark_thread_read、olx_deactivate_advert 和 olx_delete_advert。消息会立即发给真实的买家且无法撤回;下架会让广告从站点上消失(重新上架可能收费,所以这里不提供);删除会把广告连同统计和消息永久删除。管理员只开启团队需要的那几个。
每次修改前都会询问:开启写入工具后,AI 会先展示会话和要发送的确切文字,或要处理的广告,等你同意后才发送或下架。
消息不可信:买家的消息里可能夹带针对 AI 的指令。AI 把消息文本当作要阅读的内容,而不是命令。
限制:OLX 每个 IP 地址每 5 分钟大约允许 4,500 次请求,超出后会把该地址封禁 30 分钟。因此 AI 会以平稳的节奏翻阅长列表,而不是快速循环请求。
常见错误:401 invalid_token 表示登录已过期或被撤销:请再次点击 Authorize with Provider。登录时出现 invalid_client 表示应用尚未获批,或者 Client ID 和 Secret 来自另一个国家的门户。404 表示当前登录的账号看不到该广告、会话或用户;对商家资料而言,表示该账号不是商家账号。
该连接器不会创建、编辑、上架或推广广告,不会购买付费推广或套餐,也不会动用 OLX 钱包里的钱:这些仍在 OLX 网站上完成。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Claude 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
推荐路径:在 claude.ai web 上工作,无需触碰任何配置文件。
- 在 Claude 中打开 Customize → Connectors。
- 点击 +,然后点击 Add custom connector。
- 输入名称(例如
OLX)和远程 MCP 服务器 URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,然后点击 Add。 - 点击 Connect,登录 AnythingMCP(OAuth)并允许访问。
下面所有工具都会出现在你的聊天中,开始输入提示。
可用工具
| Tool | What it does |
|---|---|
olx_get_me | Read the OLX user the connector is signed in as: id, email, name, status, phone and account type |
olx_get_user | Read the public profile of another OLX user by id (name, avatar, when they joined), e.g. the person behind a message thread… |
olx_get_business_profile | Read the business profile of the signed-in account (company name, description, address, website, logos and banners) |
olx_get_account_balance | Read the account's OLX wallet: the balance and bonus credits available for paid features and packets, by currency |
olx_list_billing | List the account's billing history: what was charged for adverts, paid features and packets, with date, amount and the advert concerned |
olx_list_prepaid_invoices | List the account's prepaid invoices (top-ups and prepaid purchases) with number, date, amount and download link |
olx_list_postpaid_invoices | List the account's postpaid invoices (for business accounts billed after the fact) with number, date, amount and download link |
olx_list_adverts | List the signed-in account's own adverts (listings) with id, status (for example active, limited, outdated, moderated or blocked), title… |
olx_get_advert | Get one of the account's adverts by id with all fields: title, description, category and attributes, price, images, location, contact… |
olx_get_advert_statistics | Read an advert's statistics: page views, phone number reveals and how many users saved it as a favourite |
olx_get_advert_moderation_reason | Read why OLX moderation rejected or blocked an advert (status moderated or blocked), so the user can fix it |
olx_list_advert_paid_features | List the paid features (promotions such as top ads or refreshes) currently active on an advert, with their end dates |
olx_list_threads | List the account's message threads with buyers and sellers: thread id, advert id, the other person (interlocutor_id), total and unread… |
olx_get_thread | Get one message thread by id: advert, the other person, message counts, unread state and favourite flag |
olx_list_messages | Read the messages of a thread, with text, sender type (sent or received), time, read state and attachments |
olx_list_categories | List OLX categories of this country with id, name, parent and whether adverts can be posted in it |
olx_get_category | Get one category by id: name, parent, whether it is a leaf you can post in, and its photo and price rules |
olx_get_category_attributes | List the attributes an advert in this category needs or may have (e.g. size, condition, brand), with code, label, type, whether required… |
olx_suggest_category | Suggest the best OLX categories for an advert title, e.g. iphone 13 128gb |
olx_list_regions | List the regions (voivodeships, counties, oblasts) of this OLX country with id and name |
olx_list_cities | List cities of this OLX country with id, name, region, county, municipality and coordinates |
olx_get_city_districts | List the districts of a city (for larger cities that have them), with id and name, for an advert's location |
olx_find_location | Find the OLX city and district for a latitude and longitude, to set an advert's location |
olx_send_message | Send a message in an existing thread, as the signed-in account, to the buyer or seller on the other side |
olx_mark_thread_read | Mark every message of a thread as read for the signed-in account |
olx_deactivate_advert | Take an active advert off OLX (it stops being visible to buyers). is_success true tells OLX the item was sold through OLX |
olx_delete_advert | Delete an advert for good, with its statistics and messages |
示例提示
- “我的哪些广告被审核拦下或封禁了?OLX 要求我修改什么?”
- “哪些买家会话里有未读消息?帮我概括每位买家在问什么。”
- “列出我在线广告的浏览量、电话显示次数和收藏数,并告诉我哪几条关注度最低。”
- “我的 OLX 钱包还剩多少钱?上个月都因为什么被扣费?”
- “我想在华沙卖一部二手 iPhone 13 128 GB:应该选哪个类目?那里有哪些必填属性?”
FAQ
Claude Code 和 Claude Desktop 一样工作吗? 是的,两者都指向 https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。
下一步
这份指南对你有帮助吗?