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

papi-mcp

v1.0.1

Published

Servidor oficial do Model Context Protocol (MCP) para integração da Papi API (WhatsApp, SMS, Voice) com Claude Desktop, Cursor, Windsurf e agentes de IA

Readme


🚀 Como Conectar com seu Agente de IA

Não é necessário instalar nada manualmente. O comando npx -y papi-mcp baixa e conecta automaticamente em segundos.

1. Claude Desktop

Adicione ao seu arquivo de configuração do Claude Desktop:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "papi": {
      "command": "npx",
      "args": ["-y", "papi-mcp"],
      "env": {
        "PAPI_API_KEY": "sk_live_SEU_TOKEN_AQUI"
      }
    }
  }
}

2. Cursor IDE / Windsurf

No seu projeto, crie ou edite .cursor/mcp.json (ou configure em Settings > Features > MCP):

{
  "mcpServers": {
    "papi": {
      "command": "npx",
      "args": ["-y", "papi-mcp"],
      "env": {
        "PAPI_API_KEY": "sk_live_SEU_TOKEN_AQUI"
      }
    }
  }
}

3. Hermes Agent

No seu arquivo ~/.hermes/config.yaml:

mcp_servers:
  papi:
    command: "npx"
    args:
      - "-y"
      - "papi-mcp"
    env:
      PAPI_API_KEY: "sk_live_SEU_TOKEN_AQUI"

🛠️ Ferramentas Disponíveis (Tools)

| Ferramenta | Descrição | | :--- | :--- | | papi_list_instances | Lista todas as instâncias da conta, status e números conectados. | | papi_get_profile | Retorna dados da conta e perfil do usuário. | | papi_get_instance_status | Verifica o status da conexão em tempo real (CONNECTED, etc.). | | papi_get_qr_code | Retorna o QR Code para conectar instâncias desconectadas. | | papi_send_text | Envia mensagem de texto simples para um número ou grupo. | | papi_send_image | Envia imagens via URL pública com legenda opcional. | | papi_send_audio | Envia áudio ou nota de voz (PTT gravado no microfone). | | papi_send_document | Envia PDFs, planilhas e documentos via URL. | | papi_send_video | Envia vídeos em MP4 via URL. | | papi_send_sticker | Envia figurinhas em formato WEBP. | | papi_send_location | Envia localização geográfica no mapa. | | papi_send_contact | Envia cartão de contato (vCard). | | papi_send_reaction | Envia reações com emoji para mensagens existentes. | | papi_send_buttons | Envia mensagens interativas com botões de resposta rápida. | | papi_send_list | Envia menu de lista interativo com seções e opções. | | papi_send_poll | Cria e envia enquetes / votações interativas. |


🌐 Configuração de Servidor Customizado (Opcional)

Por padrão, o papi-mcp conecta diretamente no endpoint oficial da papi.api.br. Caso utilize uma instância on-premise ou servidor próprio, basta adicionar a variável PAPI_BASE_URL:

"env": {
  "PAPI_API_KEY": "sk_live_...",
  "PAPI_BASE_URL": "https://seu-dominio.com.br/api/v1/mcp"
}

👨💻 Autor e Criador

Desenvolvido por Rafa Martins para a plataforma Papi.


📄 Licença

Distribuído sob a licença MIT. Consulte LICENSE para obter mais informações.