mercadolivre-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ML_LIVE | No | ativa tests/live.test.ts quando definido como 1 | |
| ML_SITE_ID | No | site (MLB = Brasil) | MLB |
| ML_CLIENT_ID | Yes | id do app no DevCenter | |
| ML_PROXY_URL | No | URL de proxy usada quando ML_USE_PROXY=1 | |
| ML_USE_PROXY | No | roteia via DATAIMPULSE_PROXY_URL/ML_PROXY_URL quando definido como 1 | direto |
| ML_TIMEOUT_MS | No | timeout por chamada | 20000 |
| ML_TOKENS_PATH | No | estado dos tokens | <pkg>/.ml-tokens.json |
| ML_CLIENT_SECRET | Yes | secret do app | |
| ML_REFRESH_TOKEN | Yes | refresh do fluxo Authorization Code (offline_access) | |
| ML_TOKENS_ENABLED | No | desativa persistência (só memória) quando definido como 0 | arquivo ativo |
| DATAIMPULSE_PROXY_URL | No | URL de proxy usada quando ML_USE_PROXY=1 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_productsA | Descoberta de produtos no catálogo MLB por palavras-chave, GTIN (product_identifier) ou domínio. Retorna ficha sem preço — para preço use get_item com o id do anúncio. |
| get_productC | Ficha completa de um produto de catálogo (atributos, fotos, variações). |
| get_itemB | Preço e detalhe de um anúncio da PRÓPRIA conta (a API nega anúncios de terceiros com este token). |
| get_itemsB | Preço/detalhe de até 20 anúncios da própria conta numa chamada. |
| get_own_itemsC | Anúncios da própria conta (dona do token) com preço e detalhes. A API do ML só permite listar a própria conta. |
| get_seller_profileA | Perfil público do vendedor: nickname, nível, total de transações e avaliações positivas. Para achar o seller_id, abra qualquer anúncio dele com get_item. |
| browse_categoryA | Árvore de categorias: caminho até a raiz, total de anúncios e subcategorias. Ponto de partida: category_id de um anúncio. |
| get_trendsB | Termos mais buscados numa categoria (descoberta pública do que está quente). |
| get_item_questionsC | Perguntas e respostas públicas de um anúncio. |
| get_item_descriptionB | Texto da descrição de um anúncio (vale para terceiros; útil para conferir estado/bateria mencionados em usados). Sem preço. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Most tools are distinguishable, but get_items (batch of up to 20 own listings) and get_own_items (own listings with price/details) read as nearly the same operation, and the get_item vs get_product distinction (listing vs catalog ficha, price vs no price) is subtle even with the explanatory text. get_item/get_items/get_own_items form a cluster an agent could easily misselect.
Predominantly snake_case with a get_/search_/browse_ verb_noun pattern; get_item_questions and get_item_description follow it cleanly. Minor deviations (search_products vs browse_category vs get_trends) are still readable and consistent in style.
Ten tools is well-scoped for a read-only discovery/research surface covering search, catalog details, listing details, sellers, categories, trends, questions and descriptions. Each tool maps to a distinct ML API resource and earns its place.
The read-only lifecycle is well covered: discovery (search, trends, categories), detail (product, item, description, questions) and seller info, with the own-account pricing limitation explained. Gaps exist around orders/sales, shipping, and any write operations, but for a research-oriented surface these are minor.