mcpField
M
mcp-mercado-libre

mcp-mercado-libre

Local
github.com/codesparBusiness & Marketing275Updated 4w ago

About mcp-mercado-libre

mcp-mercado-libre is an MCP server for Mercado Libre, a large Latin American marketplace. It is aimed at sellers and developers who want to automate listings, orders and shipments through an MCP client. It supports product search, listing updates and post-sale messaging.

Key features

  1. 01Product search and detail lookup
  2. 02Category browsing and category prediction
  3. 03Listing stock, status and price updates
  4. 04Order and shipment tracking queries
  5. 05Post-sale buyer and seller messaging
  6. 06Product question and review access

Use cases

  1. 01Updating listing stock or prices from an AI assistant
  2. 02Checking order status and retrieving shipping labels
  3. 03Answering buyer questions on product listings

MCP support

This is an MCP server that exposes 22 tools to MCP clients, covering products, categories, orders, shipments and post-sale messages.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"codespar-mcp-mercado-libre": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-mercado-libre"
],
"env": {
"MELI_ACCESS_TOKEN": "<MELI_ACCESS_TOKEN>"
}
}
}
}
Run commandnpx -y @codespar/mcp-mercado-libre
Environment variables to set
MELI_ACCESS_TOKENSecretAPI key/token for mercado-libre

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@codespar/mcp-mercado-libre0.2.2

Tools

22

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
sortenumNoSort orderrelevance | price_asc | price_desc
limitnumberNoResults limit (max 50)
querystringYesSearch query
offsetnumberNoResults offset
categorystringNoCategory ID filter
maxPricenumberNoMaximum price
minPricenumberNoMinimum price

Details

From the project README

@codespar/mcp-mercado-libre

MCP server for Mercado Libre — largest LATAM marketplace with 100M+ users across 18 countries

npm License: MIT

Quick Start

Claude Desktop
{
  "mcpServers": {
    "mercado-libre": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-mercado-libre"],
      "env": {
        "MELI_ACCESS_TOKEN": "your-access-token"
      }
    }
  }
}
Claude Code
claude mcp add mercado-libre -- npx @codespar/mcp-mercado-libre

Tools (22)

ToolPurpose
search_productsSearch products in Mercado Libre marketplace
get_productGet detailed product information by item ID
get_product_descriptionGet product description text by item ID
list_categoriesList all marketplace categories for the site
get_categoryGet category details and children
predict_categoryPredict the best category for a product title (domain_discovery)
get_trendsGet trending searches in the marketplace
list_listingsList seller's active product listings
update_itemUpdate item fields such as available_quantity (stock), status (active/paused/closed), price, or title
get_sellerGet seller information and reputation
list_ordersList seller orders with filters
get_orderGet order details by ID
get_userGet authenticated user information
get_shipmentGet shipment details
get_shipment_historyGet tracking history (status changes) for a shipment
get_shipping_labelGet shipping labels (PDF or ZPL) for one or more shipments.
list_questionsList questions on a product listing
answer_questionAnswer a question on a product listing
list_messagesList post-sale conversation messages between seller and buyer for an order pack
send_messageSend a post-sale message to the buyer associated with an order pack
list_reviewsList reviews and rating average for a product
create_promotionCreate a price discount promotion for an item (PRICE_DISCOUNT)

Authentication

Mercado Libre uses OAuth2. Get your access token from the Developers Portal.

Environment Variables

VariableRequiredDescription
MELI_ACCESS_TOKENYesOAuth2 access token
MELI_SITE_IDNoSite ID (default: MLB for Brazil). Use MLA for Argentina, MLM for Mexico.

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.