TOTVS RM Database MCP Server
Provides a standardized MCP interface to query and interact with TOTVS RM databases over HTTP, secured via API key.
README
TOTVS RM Database MCP Server — Windows Service
Instala e gerencia o TOTVS RM Database MCP Server como um serviço Windows, garantindo que ele seja iniciado automaticamente junto com o sistema operacional.
Pré-requisitos
| Requisito | Versão mínima |
|---|---|
| Node.js | 18+ (testado com v24) |
| Sistema Operacional | Windows 10 / Server 2019+ |
| Permissão | Administrador |
O servidor MCP deve estar presente em:
C:\MCP\totvs-rm-database-mcp-server\
Instalação das dependências
cd c:\GIT\ExtrairRAG-BancoDados-WindowsService
npm install
Instalar o serviço
Execute o terminal como Administrador.
node install-service.js
O serviço será registrado no Windows com as seguintes configurações:
| Propriedade | Valor |
|---|---|
| Nome | TotvsRmDatabaseMcpServer |
| Descrição | MCP Server HTTP para banco de dados TOTVS RM |
| Endpoint | http://localhost:3000/mcp |
| Inicialização | Automática |
Variável PORT |
3000 |
Variável MCP_API_KEY |
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
Remover o serviço
Execute o terminal como Administrador.
node uninstall-service.js
Gerenciar o serviço manualmente
# Verificar status
Get-Service -Name TotvsRmDatabaseMcpServer
# Iniciar
Start-Service -Name TotvsRmDatabaseMcpServer
# Parar
Stop-Service -Name TotvsRmDatabaseMcpServer
# Reiniciar
Restart-Service -Name TotvsRmDatabaseMcpServer
Logs
Os logs do serviço são gerados pelo node-windows na pasta:
C:\MCP\totvs-rm-database-mcp-server\daemon\
Arquivos gerados:
TotvsRmDatabaseMcpServer.log— saída padrão (stdout)TotvsRmDatabaseMcpServer_error.log— erros (stderr)
Estrutura do projeto
ExtrairRAG-BancoDados-WindowsService\
├── install-service.js # Registra e inicia o serviço Windows
├── uninstall-service.js # Remove o serviço Windows
├── package.json
└── node_modules\
└── node-windows\ # Biblioteca de integração com o SCM do Windows
Autenticação no MCP Server
O servidor exige um Bearer token em todas as requisições ao endpoint /mcp:
Para alterar a chave, edite o arquivo .env em C:\MCP\totvs-rm-database-mcp-server\.env e reinicie o serviço.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.