LM

lumile/mercadolibre-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

7 stars 6 forks 质量 64 趋势 15MIT

An MCP server that provides access to MercadoLibre API.

概览

An MCP server that provides access to MercadoLibre API. : due to changes in MercadoLibre's API policies, it is no longer possible to access their search API. As a result, we have had to deprecate the search_products tool. This change is in compliance with MercadoLibre's new restrictions on API usage. Other tools remain functional and will continue to be supported. - search_products - : Search products in MercadoLibre, and return a list of products. (No longer available due to API policy changes) - query - The search query - category - The category to search in - filters - The filters to apply - product_reviews - Get product reviews - product_description - Get product description - seller_reputation - Get seller reputation You'll need a MercadoLibre Client ID and Client Secret to use this server. You can get one for free at https://developers.mercadolibre.com/, create an application and get the credentials.

README

以下为原文 README 节选,完整内容请查看原文。

MercadoLibre MCP Server

An MCP server that provides access to MercadoLibre API.

IMPORTANT: due to changes in MercadoLibre’s API policies, it is no longer possible to access their search API. As a result, we have had to deprecate the search_products tool. This change is in compliance with MercadoLibre’s new restrictions on API usage. Other tools remain functional and will continue to be supported.

Features

Tools

  • search_products - DEPRECATED: Search products in MercadoLibre, and return a list of products. (No longer available due to API policy changes)
    • query - The search query
    • category - The category to search in
    • filters - The filters to apply
  • product_reviews - Get product reviews
  • product_description - Get product description
  • seller_reputation - Get seller reputation

Setup

Prerequisites

You’ll need a MercadoLibre Client ID and Client Secret to use this server. You can get one for free at https://developers.mercadolibre.com/, create an application and get the credentials.

Once you have the credentials, you can set the CLIENT_ID and CLIENT_SECRET environment variables. And theres also the need to set the SITE_ID environment variable to the site you want to use.

Mercado Libre Site ID

  • MLA: Argentina (default)
  • MLB: Brasil
  • MCO: Colombia
  • MEX: México
  • MLU: Uruguay
  • MLC: Chile

Installation

There are two ways to use this server:

Installing via Smithery

To install MercadoLibre MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @lumile/mercadolibre-mcp --client claude

Add this configuration to your Claude Desktop config file:

{
  "mcpServers": {
    "mercadolibre-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mercadolibre-mcp"
      ],
      "env": {
        "CLIENT_ID": "",
        "CLIENT_SECRET": "",
        "SITE_ID": ""
      }
    }
  }
}

Option 2: Local Installation

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Build the server:
npm run build
  1. Add this configuration to your Claude Desktop config:
{
  "mcpServers": {
    "mercadolibre-mcp": {
      "command": "node",
      "args": [
        "/path/to/mercadolibre-mcp/dist/index.js"
      ],
      "env": {
在 GitHub 查看完整 README

安装

npx -y mercadolibre-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mercadolibre-mcp": { "command": "npx", "args": [ "-y", "mercadolibre-mcp" ], "env": { "CLIENT_ID": "<YOUR_CLIENT_ID>", "CLIENT_SECRET": "<YOUR_CLIENT_SECRET>", "SITE_ID": "<YOUR_SITE_ID>" } } } }