TomTicket helpdesk MCP: tickets, replies, time, customers, chats, and KB
Servidor MCP para a API TomTicket v2. Lista, responde, lança horário e finaliza chamados e também cobre clientes, organizações, chats, departamentos e base de conhecimento.
Não existe endpoint de login. O Bearer Token é criado no painel: Administração → Configurações da Conta → API → Novo Token. Marque Pode criar e modificar dados para respostas, horário e finalização.
O token vai só em variável de ambiente. Nunca o commite.
Via npm (recomendado):
npx mcp-tomticket
No Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"tomticket": {
"command": "npx",
"args": ["-y", "mcp-tomticket"],
"env": {
"TOMTICKET_TOKEN": "cole-o-token-aqui"
}
}
}
}
Clone local:
git clone https://github.com/glira/mcp-tomticket.git
cd mcp-tomticket
npm install
cp .env.example .env
# edite .env e cole o TOMTICKET_TOKEN
npm run build
Validação rápida (somente leitura):
npm run smoke
Opcional — cria, comenta, responde e finaliza um chamado de teste com assunto [MCP TESTE]:
npx tsx scripts/smoke.ts --write
Recarregue os MCPs em Settings → MCP. Exemplo local em .cursor/mcp.json.example.
| Tool | Ação |
|---|---|
tomticket_list_open_tickets | Chamados abertos |
tomticket_list_tickets | Todos, com filtros |
tomticket_get_ticket | Detalhe + respostas + horários |
tomticket_reply_ticket | Resposta do atendente (start_date/end_date lançam horário) |
tomticket_comment_ticket | Comentário interno |
tomticket_finish_ticket | Finaliza (time_work em minutos) |
tomticket_start_status / tomticket_close_status | Cronômetro de status |
tomticket_create_ticket | Abre chamado |
tomticket_transfer_ticket / tomticket_assign_operator | Transferir / vincular atendente |
Há também tools de clientes, organizações, chats, departamentos, KB e campos personalizados. Operações de escrita avisam que alteram produção. Finalizar um chamado exige atendente vinculado (tomticket_assign_operator).
A API aceita 3 requisições por segundo. O client aplica intervalo mínimo de 350 ms.
| Variável | Obrigatória | Descrição |
|---|---|---|
TOMTICKET_TOKEN | sim | Bearer Token do painel |
TOMTICKET_BASE_URL | não | Padrão https://api.tomticket.com/v2.0 |
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y mcp-tomticketMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-glira-mcp-tomticket": {
"command": "npx",
"args": [
"-y",
"mcp-tomticket"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencemcp-tomticketnpmio.github.glira/mcp-tomticket works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.