mcp-glpi
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-glpi quais são meus chamados pendentes?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-glpi
Servidor MCP (stdio) para consultar e abrir chamados no GLPI pela API REST v1. Licença MIT.
Requisitos e instalação
Use Node.js 20 ou superior. Clone o repositório, copie .env.example para .env se preferir gerenciar as variáveis localmente e execute:
npm ci
npm run buildRelated MCP server: GLPI MCP
Instalar pelo release (mais simples)
Sem clonar nem compilar: instale o pacote publicado no release do GitHub.
npm i -g https://github.com/ooshimakenji/mcp-glpi/releases/download/v0.1.1/mcp-glpi-0.1.1.tgz
claude mcp add glpi -e GLPI_URL=https://glpi.suaempresa.com.br -e GLPI_APP_TOKEN=SEU_APP_TOKEN -e GLPI_USER_TOKEN=SEU_TOKEN -- mcp-glpiConfiguração e tokens
As variáveis devem estar no ambiente do processo MCP, nunca no repositório:
Variável | Uso |
| Obrigatória. Ex.: |
| Obrigatória. Token do cliente de API. |
| Preferida. Token pessoal do usuário. |
| Alternativa ao token pessoal, se o administrador habilitou login por credenciais. |
| Oculta as tools que alteram dados. É o padrão seguro do |
O .env.example vem com GLPI_READ_ONLY=1. Para liberar escrita, defina
GLPI_READ_ONLY=0 (ou remova a variável) no ambiente do processo MCP.
O administrador deve ir em Configurar > Geral > API, habilitar a API REST, habilitar login com token externo e criar um cliente de API. Isso gera o App-Token; opcionalmente, restrinja uma faixa de IP. Cada pessoa obtém seu token em Minhas preferências > Chaves de acesso remoto > Token de API e pode regenerá-lo. Se essa área não aparecer no perfil, peça ao administrador.
Tools
Tool | Descrição | Escrita |
| Exibe nome, perfil ativo e entidade da sessão. | Não |
| Lista chamados visíveis, com filtros de status e paginação. | Não |
| Exibe chamado, acompanhamentos, soluções e tarefas. | Não |
| Localiza categorias para | Não |
| Localiza locais para | Não |
| Abre incidente ou requisição. | Sim |
| Adiciona acompanhamento a um chamado. | Sim |
O status aceita novo, atendimento, planejado, pendente, solucionado, fechado ou abertos. Em modo somente leitura, as duas tools de escrita nem são registradas.
Claude Code e Claude Desktop
No Claude Code, usando o build local:
claude mcp add glpi -e GLPI_URL=https://glpi.suaempresa.com.br -e GLPI_APP_TOKEN=SEU_APP_TOKEN -e GLPI_USER_TOKEN=SEU_TOKEN -- node C:/caminho/mcp-glpi/dist/index.jsApós instalação global, substitua o comando final por mcp-glpi. No Claude Desktop, inclua em sua configuração JSON:
{
"mcpServers": {
"glpi": {
"command": "node",
"args": ["C:/caminho/mcp-glpi/dist/index.js"],
"env": {
"GLPI_URL": "https://glpi.suaempresa.com.br",
"GLPI_APP_TOKEN": "SEU_APP_TOKEN",
"GLPI_USER_TOKEN": "SEU_TOKEN"
}
}
}
}Segurança
Tokens só ficam em variáveis de ambiente e nunca devem ser enviados ao Git. Cada pessoa deve usar o próprio token. O servidor respeita as permissões do GLPI: normalmente, quem tem perfil Requerente só vê os próprios chamados.
Solução de problemas
Situação | Ação |
| Peça/crie o cliente de API em Configurar > Geral > API. |
| Regenere o token pessoal e atualize |
| Refaça a chamada; o servidor renova a sessão uma vez automaticamente. |
| Peça ao administrador a permissão necessária. |
| Confira o ID e se o chamado é visível ao seu perfil. |
Tempo esgotado | Confirme URL, VPN/rede e disponibilidade do GLPI. |
Exemplos de perguntas: “quais meus chamados pendentes?” e “abra um chamado de requisição, urgência média, informando que preciso de acesso à pasta compartilhada”.
Available Tools
7 toolsglpi_add_followupC
Adiciona um acompanhamento a um chamado.
Inputs: content (required), items_id (required).
glpi_create_ticketC
Abre um chamado no GLPI.
Inputs: name (required), content (required), type, urgency, +2 more.
glpi_get_ticketBRead-onlyIdempotent
Obtém um chamado e seu histórico.
Inputs: id (required).
glpi_list_ticketsCRead-onlyIdempotent
Lista os chamados visíveis ao usuário.
Inputs: limit, offset, status.
glpi_search_categoriesCRead-onlyIdempotent
Busca categorias pelo nome.
Inputs: text (required).
glpi_search_locationsCRead-onlyIdempotent
Busca locais pelo nome.
Inputs: text (required).
glpi_whoamiBRead-onlyIdempotent
Mostra a sessão atual do GLPI.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct action/resource: listing tickets, getting a ticket, creating a ticket, adding a follow-up, searching categories, searching locations, and checking the session. There is little risk of confusing one tool with another.
Most names follow a consistent glpi_verb_noun pattern, such as glpi_list_tickets, glpi_get_ticket, and glpi_create_ticket. The only minor deviation is glpi_whoami, which does not follow the verb_noun structure.
Seven tools is well-scoped for a focused GLPI ticket-management connector. Each tool appears to earn its place without excessive surface area.
The set covers listing, reading, creating, and adding follow-ups to tickets, plus category and location lookup. However, it lacks core lifecycle operations such as updating, closing, assigning, or deleting tickets, and there is no direct ticket search beyond listing.
Maintenance
Related MCP Connectors
MCP server for GLPI: tickets, ITIL, assets, knowledge base. GLPI 10/11. Not affiliated with Teclib'.
Read tickets, contacts, companies, agents and groups; create, update and reply to tickets.
Read and search tickets; reply, add internal notes and open tickets in Faveo Helpdesk.
Read tickets, devices, alerts and invoices; create tickets, add comments, log time in Gorelo.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI assistants to manage GLPI inventory, tickets, and CIA security fields via its REST API.91ISC
- AlicenseBqualityCmaintenanceEnables AI assistants to interact with a GLPI instance through its REST API, allowing natural-language consultation, creation, and updating of tickets, followups, tasks, solutions, knowledge base articles, suppliers, contacts, contracts, and statistics.52-
- AlicenseNot gradedqualityBmaintenanceConnects AI assistants to GLPI through the Model Context Protocol, enabling management of tickets, ITIL objects, assets, projects, tasks, documents, sessions, entities and massive actions via the legacy REST API. It supports GLPI 10 and 11 with safe defaults such as read-only mode, disabled destructive operations and masked secrets.MIT
- AlicenseBqualityBmaintenanceConnects AI assistants to GLPI service desks so they can manage tickets, ITIL objects (problems and changes), assets, knowledge base articles, users, rules and webhooks through natural language. Works with GLPI 10 and 11 via REST API v1 and the GLPI 11 API v2, with read-only and delete guards, idempotent creates, and support for both local (stdio/HTTP) and hosted OAuth deployments.1112MIT