TOTVS Protheus ERP for AI: stock, sales, orders, customers and MRP. Read-only, official API.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent â or use 1-click editor setup below.
đĄ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Talk to your company's TOTVS Protheus ERP from Claude, ChatGPT or any MCP client. It runs on the official TOTVS REST API, against your own installation: you provide the REST service URL and your Protheus user and password, and nothing goes through an ERP middleman. Unlike the Protheus MCPs that already exist, which are developer tools (compiling AdvPL, searching the TDN), this one reads business data: branches, customers and vendors, products, stock, price lists, sales and orders, invoice totals, production orders and MRP purchasing. Read-only. Not affiliated with TOTVS.
VersĂŁo em portuguĂȘs · Full docs (PT-BR) · Agent skill
Anthropic unified MCP installation at claude.ai/customize/connectors. The same link works for Claude Web and Claude Desktop (just be logged in):
â Open in Claude and connect
Manual (if the deeplink does not open): claude.ai/customize/connectors â + â Add custom connector â paste Name TOTVS Protheus and URL https://api.mcp.ai/p_protheus.
â Install TOTVS Protheus in Cursor
â Install TOTVS Protheus in VS Code
Works with any MCP client that speaks MCP over HTTP. The server URL is always:
Per-client details: INSTALL.md.
| Tool | Description |
|---|---|
protheus_list_accounts | Lista as instalaçÔes Protheus conectadas a este install, com id e label (host/usuårio). |
protheus_diagnostico | Descobre quais APIs REST esta instalação Protheus realmente responde. |
protheus_catalogo | Consulta o catĂĄlogo das 125 APIs REST oficiais da linha Protheus (id, tĂtulo, mĂłdulo e rotas de leitura), extraĂdo da documentação pĂșblica da TOTVS. |
protheus_api | Faz um GET em qualquer rota REST da instalação Protheus conectada. |
protheus_filiais | Lista as empresas e filiais do grupo (API TSIBranches). |
protheus_modulos | Lista os módulos do sistema Protheus nesta instalação. |
protheus_parametros | Consulta os parĂąmetros de sistema do Protheus. |
protheus_usuarios | Lista os usuĂĄrios do Protheus, ou consulta um usuĂĄrio por id. |
protheus_clientes_fornecedores | Consulta o cadastro de clientes e fornecedores (API CustomerVendor). |
protheus_contatos | Lista os contatos do CRM, ou consulta um contato por id. |
protheus_vendedores | Lista os vendedores cadastrados, ou consulta um vendedor pelo cĂłdigo. |
protheus_oportunidades | Lista as oportunidades comerciais do CRM, ou consulta uma oportunidade pelo id interno. |
protheus_propostas_comerciais | Lista as propostas comerciais de uma oportunidade, ou consulta uma proposta especĂfica. |
protheus_tabela_precos | Consulta as tabelas de preço. Sem argumentos lista os cabeçalhos; com codigo traz uma tabela; com codigo e itens traz os itens e preços dela. |
protheus_condicoes_pagamento | Lista as condiçÔes de pagamento cadastradas, ou consulta uma pelo id interno. |
protheus_limite_credito | Consulta o limite de crédito dos clientes. |
protheus_comissoes | Consulta as comissÔes de venda, ou uma comissão pelo id interno. |
protheus_transportadoras | Lista as transportadoras cadastradas, ou consulta uma pelo id interno. |
protheus_centros_custo | Lista os centros de custo da contabilidade, ou consulta um pelo id interno. |
protheus_produtos | Consulta o cadastro de produtos. |
protheus_estoque | Consulta o saldo em estoque. Escolha a fonte: varejo (saldo em estoque do varejo) ou mrp (estoque do MRP, com armazém, lote e saldos bloqueado, consignado e em controle de qualidade). São módulos distintos e podem div⊠|
protheus_vendas_varejo | Consulta as vendas do varejo, ou uma venda pelo id interno. |
protheus_pedidos_varejo | Lista os pedidos de venda do varejo. |
protheus_notas_totais | Consulta os totais de notas fiscais de saĂda ou de entrada do varejo, incluindo a visĂŁo de notas canceladas. |
protheus_ordens_producao | Consulta as ordens de produção do MRP. |
protheus_compras_mrp | Consulta os pedidos de compra ou as solicitaçÔes de compra do MRP. |
Details for each tool: docs/ferramentas.md (PT-BR)
| Area | Coverage |
|---|---|
| Discovery | Group branches and companies, system modules, parameters, users |
| Master data | Customers and vendors, contacts, sales reps, carriers, cost centers |
| Commercial | Opportunities, commercial proposals, price lists, payment terms, commissions, credit limits |
| Products and stock | Products and stock balance, from both sources (retail and MRP) |
| Sales | Retail sales and orders, inbound and outbound invoice totals |
| Manufacturing | Production orders, MRP purchase orders and requests |
| Wildcard | Any REST route on your installation, including custom endpoints |
Protheus is not a SaaS with a single address: every company runs its own installation. Two practical consequences:
appserver.ini, allocates the threads (which consume licenses) and opens the
port. Without that there is nothing to connect to, with any tool.Plans start at a free tier. See docs/precos.md (PT-BR).
Is this the official TOTVS MCP? No. This is an independent MCP that talks to your own company's official Protheus REST API using your credentials. It is not affiliated with TOTVS and implies no partnership. TOTVS and Protheus are trademarks of TOTVS S.A., referenced here nominatively.
What data do you access? Only what your Protheus user can already see, and only for reading. v1 issues GET requests exclusively: it creates no orders, settles no invoices, and writes nothing to the ERP.
Do I have to expose my Protheus to the internet? The REST service must be reachable by our platform. That is usually done by publishing the endpoint over HTTPS and restricting access by IP or VPN, together with your IT team. If REST is not up today, that is step one, and it applies to any integration, not just ours.
Why does one question work and another says the route does not exist? Because the API is shared but the deployment is yours. TOTVS publishes the contract for 125 Protheus-line APIs; your installation answers the ones your LIB version and licensed modules enable. When a route does not exist there, the answer says exactly that instead of pretending there are no records. Run the diagnostic to see the full map of your installation.
What about the endpoints my company built in Protheus? They work. There is a wildcard tool that calls any REST route on your installation, so your in-house custom MVC APIs are reachable without us shipping anything new.
Where do my password and ERP URL live? Encrypted, and used only to request the token from your own installation's oAuth2 API. The Protheus access token is transient (it expires in an hour) and is not stored.
My user has two-factor authentication. Does it work? Not yet. Use an integration user without a second factor, permissioned only for what you want to expose. That is the recommended practice anyway: access stays auditable and scoped inside Protheus itself.
Does it work for Datasul, RM or Logix? No. This MCP targets the Protheus line. The other TOTVS lines have their own APIs and would be a separate MCP.
No reviews yet â be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/totvs-protheus)<a href="https://allmcps.com/mcp/totvs-protheus"><img src="https://allmcps.com/api/badge/totvs-protheus?style=directory" alt="TOTVS Protheus on AllMCPs" /></a>