Back to Directory/Developer Tools

io.github.glira/mcp-tomticket

TomTicket helpdesk MCP: tickets, replies, time, customers, chats, and KB

Developer ToolsTypeScriptv1.0.0

mcp-tomticket

npm MCP Registry Glama

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

ToolAção
tomticket_list_open_ticketsChamados abertos
tomticket_list_ticketsTodos, com filtros
tomticket_get_ticketDetalhe + respostas + horários
tomticket_reply_ticketResposta do atendente (start_date/end_date lançam horário)
tomticket_comment_ticketComentário interno
tomticket_finish_ticketFinaliza (time_work em minutos)
tomticket_start_status / tomticket_close_statusCronômetro de status
tomticket_create_ticketAbre chamado
tomticket_transfer_ticket / tomticket_assign_operatorTransferir / 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ávelObrigatóriaDescrição
TOMTICKET_TOKENsimBearer Token do painel
TOMTICKET_BASE_URLnãoPadrão https://api.tomticket.com/v2.0

Licença

MIT

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y mcp-tomticket

Set up in your AI client

Merge 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.

json
{
  "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 reference

Package

mcp-tomticketnpm

Compatible MCP Clients

io.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.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.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.

Learn More