io.github.glira/mcp-tomticket
TomTicket helpdesk MCP: tickets, replies, time, customers, chats, and KB
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
mcp-tomticketclaude mcp add mcp-tomticket -e 'TOMTICKET_TOKEN=<your tomticket_token>' -e 'TOMTICKET_BASE_URL=<TOMTICKET_BASE_URL>' -- npx -y mcp-tomticket@1.0.0
{
"mcpServers": {
"mcp-tomticket": {
"command": "npx",
"args": [
"-y",
"mcp-tomticket@1.0.0"
],
"env": {
"TOMTICKET_TOKEN": "<your tomticket_token>",
"TOMTICKET_BASE_URL": "<TOMTICKET_BASE_URL>"
}
}
}
}
Environment variables
TOMTICKET_TOKENrequired secret Bearer Token created in TomTicket (Administração → Configurações da Conta → API)TOMTICKET_BASE_URLAPI base URL. Default: https://api.tomticket.com/v2.0
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
mcp-tomticket
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.
Requisitos
- Node.js >= 18
- Token de API do TomTicket (conta Premium/Enterprise)
Instalação
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.
Tools principais
| 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).
Rate limit
A API aceita 3 requisições por segundo. O client aplica intervalo mínimo de 350 ms.
Variáveis
| 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 |
Licença
Frequently asked questions
What is io.github.glira/mcp-tomticket?
TomTicket helpdesk MCP: tickets, replies, time, customers, chats, and KB
How do I install io.github.glira/mcp-tomticket?
It runs on your machine. In Claude Code: claude mcp add mcp-tomticket -e 'TOMTICKET_TOKEN=<your tomticket_token>' -e 'TOMTICKET_BASE_URL=<TOMTICKET_BASE_URL>' -- npx -y mcp-tomticket@1.0.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.glira/mcp-tomticket need an API key?
Yes. It expects TOMTICKET_TOKEN, which you set in its configuration.
Is io.github.glira/mcp-tomticket open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.glira/mcp-tomticket?
It is published by glira. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.