MCP Movidesk Server
Enables AI agents to create, query, search, and manage Movidesk tickets directly via natural language.
README
đ« MCP Movidesk Server
Servidor MCP (Model Context Protocol) para gerenciamento de tickets do Movidesk, construĂdo em TypeScript + Node.js.
Permite que agentes de IA criem, consultem, pesquisem e gerenciem tickets diretamente no Movidesk, sem precisar acessar a plataforma manualmente.
đ Ferramentas DisponĂveis
| # | Ferramenta | Descrição |
|---|---|---|
| 1 | criar_ticket |
Criar novo ticket com macro de suporte (atendimento/escalonamento) |
| 2 | consultar_ticket |
Buscar detalhes completos de um ticket por ID |
| 3 | buscar_conhecimento |
Pesquisar tickets resolvidos como base de conhecimento |
| 4 | adicionar_interacao |
Adicionar comentårio/ação em ticket existente |
| 5 | listar_tickets_cliente |
Listar tickets de um cliente por nome/email/CPF/CNPJ |
| 6 | alterar_status_ticket |
Mudar status do ticket (Novo, Em atendimento, Resolvido, etc.) |
| 7 | atribuir_agente |
Atribuir ticket a um agente ou equipe |
đ Instalação
1. Instalar dependĂȘncias
cd c:\Users\Usuario\Documents\Mcp_Eagle
npm install
2. Configurar token da API
Copie o arquivo de exemplo e insira seu token:
copy .env.example .env
Edite o arquivo .env e substitua seu_token_aqui pelo seu token real:
MOVIDESK_TOKEN=seu_token_real_aqui
Onde encontrar o token: Movidesk > Configuração > Conta > Parùmetros > Aba Ambiente
3. Compilar o projeto
npm run build
âïž Configuração no Antigravity
Adicione a seguinte configuração ao seu settings.json do Antigravity:
{
"mcpServers": {
"mcp-movidesk": {
"command": "node",
"args": ["c:\\Users\\Usuario\\Documents\\Mcp_Eagle\\dist\\index.js"],
"env": {
"MOVIDESK_TOKEN": "seu_token_aqui"
}
}
}
}
đ§Ș Testes
Execute todos os testes:
npm test
Modo watch (re-executa ao salvar):
npm run test:watch
ïżœ Docker (Swarm & Portainer)
O projeto estå configurado para ser implantado facilmente através de Portainer/Docker Swarm com suporte a Traefik e HTTPS nativo via pacote Express.
Build da Imagem
Para criar a imagem Docker otimizada:
docker build -t mcp-movidesk-eagle:latest .
Deploy no Portainer (Stacks)
- Acesse seu Portainer.
- Navegue até Swarm > Stacks e clique em Add stack.
- Copie o conteĂșdo do arquivo
docker-compose.ymle cole no Web Editor. - Na seção Environment variables, adicione
MOVIDESK_TOKENcom o seu token real. - Clique em Deploy the stack.
A configuração utiliza o Traefik como proxy e vai publicar automaticamente em
https://mcp.wizeflowsolutions.com/mcp.
đ Configuração Remota (via DomĂnio)
Para utilizar as ferramentas do MCP em clientes modernos ou em nuvem que suportam conexĂ”es via domĂnio (SSE - Server-Sent Events) como Dify, Flowise, Cursor ou LangChain, vocĂȘ informarĂĄ que o tipo de conexĂŁo Ă© remota.
O formato JSON para essas configuraçÔes:
{
"mcpServers": {
"mcp-movidesk-cloud": {
"type": "sse",
"url": "https://mcp.wizeflowsolutions.com/mcp"
}
}
}
Atenção: Em aplicativos puramente locais não adaptados para leitura web, utilize o método CLI fornecido na seção de "Configuração no Antigravity".
ïżœđ Estrutura do Projeto
src/
âââ index.ts # Ponto de entrada (stdio transport)
âââ servidor-mcp.ts # Registra as 7 ferramentas
âââ cliente-movidesk/
â âââ api.ts # Cliente HTTP com rate-limiting
â âââ tipos.ts # Tipos TypeScript (interfaces/enums)
âââ ferramentas/
â âââ criar-ticket.ts # Criar ticket com macro
â âââ consultar-ticket.ts # Consultar ticket por ID
â âââ buscar-conhecimento.ts # Base de conhecimento
â âââ adicionar-interacao.ts # Adicionar interação
â âââ listar-tickets.ts # Listar tickets do cliente
â âââ alterar-status.ts # Alterar status
â âââ atribuir-agente.ts # Atribuir agente
âââ utilidades/
âââ formatador-html.ts # Markdown â HTML
âââ validacoes.ts # ValidaçÔes (CPF, CNPJ, email)
âââ macros-suporte.ts # Templates HTML de macros
testes/
âââ formatador-html.test.ts
âââ validacoes.test.ts
âââ api-cliente.test.ts
âââ ferramentas.test.ts
đ§ Desenvolvimento
# Executar em modo desenvolvimento (com tsx)
npm run dev
# Compilar TypeScript
npm run build
# Executar versĂŁo compilada
npm start
đ Licença
MIT
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.