npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-tomticket

v1.0.0

Published

MCP server for TomTicket helpdesk API — tickets, customers, organizations, chats, knowledge base

Readme

mcp-tomticket

npm MCP Registry

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

MIT