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

@comando.one/mcp-server

v0.1.1

Published

Servidor MCP (Model Context Protocol) para a API pública do Comando.One — opere seu ERP por linguagem natural.

Readme

@comando.one/mcp-server

Servidor MCP (Model Context Protocol) para a API pública do Comando.One. Conecte o Claude (Desktop, Code ou qualquer cliente MCP) ao seu ERP e opere tudo por linguagem natural: clientes, propostas, contratos, faturas, cobranças Pix/boleto, NFS-e, contas a pagar, financeiro e webhooks.

Instalação rápida (Claude Desktop)

Adicione ao seu claude_desktop_config.json:

{
  "mcpServers": {
    "comando": {
      "command": "npx",
      "args": ["-y", "@comando.one/mcp-server"],
      "env": {
        "COMANDO_API_KEY": "cmd_live_...",
        "COMANDO_COMPANY_ID": ""
      }
    }
  }
}

Gere sua chave em Configurações → API Keys no app. Reinicie o Claude Desktop e pronto.

Alternativa: MCP remoto (sem instalar nada)

Além deste pacote stdio, existe um endpoint MCP remoto (streaming) em https://api.comando.one/mcp (transporte MCP Streamable HTTP). Para clientes com conector remoto:

{
  "mcpServers": {
    "comando-remoto": {
      "type": "http",
      "url": "https://api.comando.one/mcp",
      "headers": { "Authorization": "Bearer cmd_live_..." }
    }
  }
}

Ambos expõem o mesmo conjunto de ferramentas (50 curadas + lookups + comando_request = cobertura total da API).

Variáveis de ambiente

| Variável | Obrigatória | Padrão | Descrição | |---|---|---|---| | COMANDO_API_KEY | sim | — | Chave cmd_live_... | | COMANDO_BASE_URL | não | https://api.comando.one/v1 | Base da API | | COMANDO_COMPANY_ID | não | empresa padrão da chave | Empresa default (X-Company-Id) |

Como funciona

  • ~50 tools curadas (gerados a partir do OpenAPI canônico, zero drift) cobrindo as operações de maior valor — customers_list, invoices_create, charges_create, nfse_emit, payouts_create, etc.
  • comando_request — escape hatch genérico (method, path, query, body) que cobre 100% dos endpoints restantes.
  • lookups — catálogos read-only (centros de custo, condições/métodos de pagamento, naturezas, contas bancárias).
  • whoami — identidade, empresas acessíveis e scopes da chave.

Segurança

  • Scope-gating: ao iniciar, o servidor chama /me e só expõe as tools cujos scopes a chave possui.
  • Ações destrutivas (*_delete, *_cancel, charges_refund, payouts_create) exigem confirm: true para executar e aceitam dry_run: true para pré-visualizar a requisição sem enviá-la.
  • Idempotência automática em POSTs (evita cobrança/pagamento duplicado); aceita idempotency_key explícito.
  • Multi-empresa: qualquer tool aceita company_id para sobrescrever a empresa por chamada.

Desenvolvimento

bun install
npm run dev        # roda via tsx (stdio)
npm test           # unit (sem rede) + smoke (live, se COMANDO_API_KEY estiver setado)
npm run build      # bundle self-contained em dist/

Inspecionar com o MCP Inspector

npm run build
COMANDO_API_KEY=cmd_live_... npx @modelcontextprotocol/inspector node dist/index.js

Licença

MIT