Mercos

io.github.mcp-dirPublished by GitHub account mcp-dirv0.1.0Updated Oct 27, 2026

Sales force and rep ERP on Mercos via the official API. List orders, customers, products, price tabl

VerifiedStreamable HTTPWeb executableFinanceBusiness & Commerce

Overview

AI-generated overview

Connects an assistant to Mercos ERP data through the official API, to list and create orders, customers, products, stock and pricing records.

What you can do
  • List accounts, customers, products, orders, price tables, categories, payment terms, carriers, users, commissions and financial titles, with incremental filters by change date
  • Create and update customers and products, including batched edits by id
  • Create and update orders, and adjust product stock in bulk
  • Create price tables
  • Check connection status, toolkit state and versions, and search the mcp.ai marketplace for other tools
  • Report bugs or feedback, and authenticate with an access token
When to use it
Useful when an assistant should read or maintain Mercos ERP records — sales orders, customer and product registrations, stock levels, price tables and commissions — without switching to the Mercos interface.
Requirements
Remote streamable HTTP endpoint; no packages or environment variables declared. A Mercos account connected to the install is needed, and the authenticate tool expects a browser-obtained access token, either as an Authorization Bearer header or pasted for a session-only login.
Before you install
Several tools write to the ERP: creating and updating customers, products and orders, bulk stock adjustments and new price tables can change business records, and bulk variants act on many ids at once. The authenticate tool asks for an access token that grants access to the connected Mercos account; treat it as a secret. The report_bug tool sends recent conversation messages for reproduction.

Installation

In SourceWeft

  1. Open Mercos in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.mcp-dir%2Fmercos-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "mercos": {
      "type": "http",
      "url": "https://api.mcp.ai/p_mercos"
    }
  }
}

README

This repository has no README.

Tools

25

mercos_list_accounts

Lista as empresas (CompanyToken) Mercos conectadas a este install, com id e label.

Parametersaccount

mercos_list_produtos

Lista produtos cadastrados (GET /v1/produtos). Use `alterado_apos` pra incremental.

Parametersaccountfiltersalterado_apos

mercos_list_clientes

Lista clientes (GET /v1/clientes). Use `alterado_apos` pra incremental.

Parametersaccountfiltersalterado_apos

mercos_list_pedidos

Lista pedidos (GET /v2/pedidos). Use `alterado_apos` pra incremental. (Pedidos vivem na v2.)

Parametersaccountfiltersalterado_apos

mercos_list_tabelas_preco

Lista tabelas de preço (GET /v1/tabelas_preco).

Parametersaccountfiltersalterado_apos

mercos_list_categorias

Lista categorias de produtos (GET /v1/categorias).

Parametersaccountfiltersalterado_apos

mercos_list_condicoes_pagamento

Lista condições de pagamento (GET /v1/condicoes_pagamento).

Parametersaccountfiltersalterado_apos

mercos_list_transportadoras

Lista transportadoras (GET /v1/transportadoras).

Parametersaccountfiltersalterado_apos

mercos_list_usuarios

Lista vendedores/usuários (GET /v1/usuarios).

Parametersaccountfiltersalterado_apos

mercos_list_comissoes

Lista comissões (GET /v1/comissoes). Filtre por colaborador_id ou pedido_id via `filters`.

Parametersaccountfiltersalterado_apos

mercos_list_titulos

Lista títulos financeiros (GET /v1/titulos).

Parametersaccountfiltersalterado_apos

mercos_create_cliente

Inclui cliente(s) (POST /v1/clientes). `data` = objeto ou array de clientes.

Parametersdatarequiredaccount

mercos_update_cliente

Altera um cliente (PUT /v1/clientes/{id}). `id` + `data` com os campos a alterar. Bulk support: accepts ids for batched execution.

Parametersidrequiredidsdatarequiredaccount

mercos_create_produto

Inclui produto(s) (POST /v1/produtos). `data` = objeto ou array de produtos.

Parametersdatarequiredaccount

mercos_update_produto

Altera um produto (PUT /v1/produtos/{id}). `id` + `data` com os campos a alterar. Bulk support: accepts ids for batched execution.

Parametersidrequiredidsdatarequiredaccount

mercos_create_pedido

Inclui um pedido (POST /v2/pedidos). `data` com cliente, itens, condição de pagamento etc.

Parametersdatarequiredaccount

mercos_update_pedido

Altera um pedido (PUT /v2/pedidos/{id}). `id` + `data` com os campos a alterar. Bulk support: accepts ids for batched execution.

Parametersidrequiredidsdatarequiredaccount

mercos_ajustar_estoque

Ajusta o estoque de produtos em lote (POST /v1/ajustar_estoque_em_lote). `data` = array de ajustes.

Parametersdatarequiredaccount

mercos_create_tabela_preco

Inclui uma tabela de preço (POST /v1/tabelas_preco). `data` com os campos da tabela.

Parametersdatarequiredaccount

show_version

Show Version

Show the current MCP platform and adapter versions.

Takes no parameters.

report_bug

Report Bug

Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.

Parameterscontextmessagerequiredconversation

connect

Connection Status

Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.

Takes no parameters.

toolkit_info

Toolkit Info

Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.

Takes no parameters.

marketplace

Marketplace

The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.

Parameterslimitqueryactionmcp_idmessagetool_idargumentsimmediatetier_slugprompt_bodyprompt_slugprompt_tool+11 more

authenticate

Authenticate

MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.

Parameterstoken

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

75% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • License10 pts

    Declare a license in the repository or the registry entry.