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

@safefypay/safefy-mcp

v1.0.0

Published

MCP server oficial Safefy Payment — integração com a API de pagamentos via Model Context Protocol

Readme

Safefy MCP

MCP server oficial da Safefy — integre cobranças PIX, saques, clientes e pagamentos diretamente em qualquer agente de IA compatível com Model Context Protocol.

Como usar no seu agente de IA

Claude (claude.ai)

Configure via claude_desktop_config.json:

{
  "mcpServers": {
    "safefy": {
      "command": "npx",
      "args": ["-y", "@safefypay/safefy-mcp"]
    }
  }
}

v0 (v0.dev)

No chat do v0, clique em "+""Add MCP Server" e configure:

{
  "name": "safefy",
  "command": "npx",
  "args": ["-y", "@safefypay/safefy-mcp"]
}

Lovable (lovable.dev)

Acesse Settings → MCP Servers → Add Server e cole:

{
  "name": "safefy",
  "command": "npx",
  "args": ["-y", "@safefypay/safefy-mcp"]
}

Cursor / Windsurf / VS Code

Adicione ao seu mcp.json ou settings.json:

{
  "mcpServers": {
    "safefy": {
      "command": "npx",
      "args": ["-y", "@safefypay/safefy-mcp"]
    }
  }
}

Após adicionar o servidor, peça ao agente para configurar suas credenciais:

"Configure minhas credenciais Safefy: public key pk_..., secret key sk_..."

Gere suas credenciais em: https://app.safefypay.com.br/panel/merchant/api-credentials


O que este servidor expõe

  • Assistente de integração:
    • via SDK Node (safefy-sdk-node)
    • via API direta (qualquer linguagem)
  • Configuração/autenticação de credenciais (/v1/auth/token)
  • Saldo (/v1/balance)
  • Transações (/v1/transactions)
  • Saques (/v1/cashouts)
  • Clientes (/v1/customers)
  • Pedidos (/v1/orders)
  • Produtos (/v1/products)
  • Payment Links públicos (/v1/payment-links)
  • Requisição genérica para cobertura total da API (safefy_payment_api_request)

Requisitos

  • Node.js 18+
  • Credenciais de API Payment (Public Key e Secret Key)
  • Gere no painel: https://app.safefypay.com.br/panel/merchant/api-credentials

Instalação local (desenvolvimento)

npm install
npm run build
npm start

Principais tools

  • safefy_payment_get_integration_guide
  • safefy_payment_list_capabilities
  • safefy_payment_configure_credentials
  • safefy_payment_get_configuration
  • safefy_payment_authenticate
  • safefy_payment_api_request
  • safefy_payment_get_balance
  • safefy_payment_create_transaction
  • safefy_payment_list_transactions
  • safefy_payment_get_transaction
  • safefy_payment_simulate_transaction
  • safefy_payment_resend_transaction_webhook
  • safefy_payment_create_cashout
  • safefy_payment_list_cashouts
  • safefy_payment_get_cashout
  • safefy_payment_cancel_cashout
  • safefy_payment_simulate_cashout
  • safefy_payment_create_customer
  • safefy_payment_list_customers
  • safefy_payment_get_customer
  • safefy_payment_update_customer
  • safefy_payment_create_order
  • safefy_payment_list_orders
  • safefy_payment_get_order
  • safefy_payment_list_products
  • safefy_payment_get_product
  • safefy_payment_get_payment_link
  • safefy_payment_start_payment_link
  • safefy_payment_get_payment_link_status

Cobertura total da API Payment

Quando uma operação ainda não tiver tool dedicada, use safefy_payment_api_request.

Exemplo:

{
	"path": "/v1/transactions",
	"method": "GET",
	"requireAuth": true,
	"query": {
		"page": 1,
		"pageSize": 20
	}
}

Skill no .github

O conteúdo de mcp-builder foi espelhado para .github/skills/mcp-builder para uso como skill de apoio no projeto.