
Claro Gerencial
io.github.hlgurgelPublished by GitHub account hlgurgelv0.1.0Updated Oct 25, 2026
Servidor MCP para integração com os WebServices SOAP do Claro Gerencial (Redeinova)
Overview
MCP server for the Claro Gerencial (Redeinova) SOAP WebService, letting an assistant query and import records.
- What you can do
- List the available entities and whether each is input or output. Query full or incremental records from any entity and fetch the XSD schema to validate before sending. Request generation of an FTP file from a query ticket. Send XML to import records and check the processing status of a submission.
- When to use it
- Use it when you need to query or import records in Claro Gerencial (the Redeinova-managed platform) and want an assistant to run those SOAP WebService operations for you. Suited to distributors that already hold Redeinova credentials and an authorized IP.
- Requirements
- Runs locally as a Python package (install with pip or run from PyPI with uvx). Requires the CLARO_USUARIO and CLARO_SENHA environment variables, and optionally CLARO_AMBIENTE set to homologacao or producao. Needs Redeinova-issued credentials and a source IP registered and authorized on the Redeinova side; traffic goes over HTTPS, typically through a VPN.
Installation
In SourceWeft
- Open Claro Gerencial in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
ws-claro-gerencial-mcp
[PyPI version] [License: MIT] [Python versions]
Servidor MCP (Model Context Protocol) para integração com os WebServices SOAP do Claro Gerencial (plataforma da Claro gerenciada pela Redeinova Tecnologia).
Este servidor permite que agentes de IA (como o opencode, Claude Code, etc.) interajam diretamente com o Claro Gerencial, realizando consultas e envios de dados de forma autônoma.
Funcionalidades
O servidor expõe 6 ferramentas via MCP:
- listar_entidades — Lista todas as entidades disponíveis e suas direções (input/output)
- obter_registros — Consulta registros de qualquer entidade (completa ou incremental)
- gerar_arquivo — Solicita geração de arquivo FTP a partir de um ticket de consulta
- enviar_registros — Envia XML para importação de registros
- obter_status — Consulta status de processamento de um envio
- obter_schema_xml — Obtém schema XSD para validação antes do envio
Entidades disponíveis
- Cidades, Bairros, Clientes (PDVs), ClientesVisitas, Empresas, Gerentes, Supervisores
- Vendedores, Setores, Grupos de Produtos, MotivosVisitas, Produtos, Segmentos
- TiposClientes, TiposSinalizações, ClientesSinalizações, Visitas
- Integradores, Pedidos, ChipsVendedor, MotivosICCIDS, ICCID, RedesPDV
- VendasBandaLarga, ReleiturasICCID
Instalação
Ou, sem instalar nada (executa direto do PyPI com cache):
Ou para desenvolvimento:
Configuração
Crie um arquivo .env na raiz do projeto ou defina as variáveis de ambiente:
Variáveis de ambiente
Uso com clientes MCP
Claude Desktop
Adicione ao claude_desktop_config.json:
OpenCode
Adicione ao opencode.json do seu projeto:
Exemplos de uso
Requisitos de segurança
- IP fixo: O distribuidor precisa ter um IP fixo cadastrado na Redeinova.
- SSL: Toda comunicação usa HTTPS com TLS.
- Autenticação: Usuário e senha fornecidos pela Redeinova, senhas fortes com mínimo de 8 caracteres.
Autorização por IP (output/baixa)
Para consultas/baixas (output) — e também envios (input) — o WebService exige que o IP de origem da máquina esteja autorizado na tabela RepositorioControleIntClaro.dbo.DistribuidorIP (coluna Ip), associado ao usuário do distribuidor (ex.: CLAROREDEFLEXWS) com Ativo = 1. Sem isso, o WS responde Usuário não autorizado para efetuar baixa.
Dicas para validação:
- Em VPN (ex.: redeinova-dc), o IP de origem é o da interface de túnel (
utun*). Descobrir com:ifconfig | grep "inet ". - O domínio do WS (
clarogerencial.redeinova.com.br) resolve para IP interno (10.177.51.41), então o tráfego sai pela VPN. O IP a cadastrar é o da interface VPN — não o IP público retornado porcurl ifconfig.me. - Para liberar/ajustar:
INSERT/UPDATEemRepositorioControleIntClaro.dbo.DistribuidorIP.
Ambiente de homologação
Para solicitar ambiente de homologação, entre em contato com:
- Redeinova Tecnologia: [email protected]
- Telefone: +55 (85) 3032-5648 / 3252-3405
Licença
MIT
Source: README.md at commit d61d5a4
Tools
0Version history
1- v0.1.0LatestSep 16, 2026
Score
50% 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 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts