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-servidor-saudacao

v1.0.0

Published

Servidor MCP simples com ferramenta de saudação amistosa e consulta ao TabNews

Downloads

5

Readme

Servidor MCP - Saudação Amistosa

Um servidor MCP (Model Context Protocol) simples que fornece ferramentas de saudação amistosa e consulta ao TabNews.

🚀 Características

  • Saudação personalizada: Aceita um nome opcional para personalizar a mensagem
  • Multi-idioma: Suporte para português, inglês e espanhol
  • Dados dinâmicos: Inclui data e hora atual formatadas
  • Consulta TabNews: Busca artigos recentes do TabNews
  • Interface amigável: Mensagens com emojis e formatação bonita

📦 Instalação

Via npx (recomendado):

npx mcp-servidor-saudacao

Instalação global:

npm install -g mcp-servidor-saudacao
mcp-servidor-saudacao

Instalação local:

npm install mcp-servidor-saudacao
npx mcp-servidor-saudacao

🎯 Uso

Executar diretamente:

npx mcp-servidor-saudacao

Para desenvolvimento:

git clone https://github.com/seu-usuario/mcp-servidor-saudacao.git
cd mcp-servidor-saudacao
npm install
npm start

🛠️ Ferramentas Disponíveis

1. saudacao_amistosa

Retorna uma saudação amistosa e calorosa com dados dinâmicos.

Parâmetros:

  • nome (opcional): Nome da pessoa para personalizar a saudação
  • idioma (opcional): Idioma da saudação - "pt" (padrão), "en", "es"

Exemplo de uso:

{
  "name": "saudacao_amistosa",
  "arguments": {
    "nome": "João",
    "idioma": "pt"
  }
}

2. consultar_tabnews

Consulta a API do TabNews e retorna os títulos e URLs dos artigos mais recentes.

Parâmetros:

  • limite (opcional): Número de artigos (1-50, padrão: 10)
  • pagina (opcional): Página para consultar (padrão: 1)

Exemplo de uso:

{
  "name": "consultar_tabnews",
  "arguments": {
    "limite": 5,
    "pagina": 1
  }
}

Exemplo de resposta:

📰 **TabNews - Artigos Recentes**

📊 **Página:** 1 | **Artigos encontrados:** 5

**1.** Como criar um servidor MCP simples
   👤 **Autor:** joao123
   📅 **Data:** 16/12/2024
   👀 **Visualizações:** 45
   🔗 **URL:** https://www.tabnews.com.br/joao123/como-criar-um-servidor-mcp-simples

**2.** Dicas de programação em JavaScript
   👤 **Autor:** maria456
   📅 **Data:** 16/12/2024
   👀 **Visualizações:** 32
   🔗 **URL:** https://www.tabnews.com.br/maria456/dicas-de-programacao-em-javascript

---
*Dados obtidos da API do TabNews em 16/12/2024 14:30:25*

🔧 Configuração MCP

Para usar este servidor com um cliente MCP, adicione a seguinte configuração:

{
  "mcpServers": {
    "saudacao": {
      "command": "node",
      "args": ["/caminho/para/o/projeto/index.js"]
    }
  }
}

📝 Estrutura do Projeto

├── index.js          # Servidor MCP principal
├── package.json      # Configurações e dependências
└── README.md         # Documentação

🎨 Recursos

  • ✅ Saudação personalizada com nome
  • ✅ Suporte multi-idioma (PT, EN, ES)
  • ✅ Data e hora atual formatadas
  • ✅ Interface amigável com emojis
  • ✅ Timestamp de geração
  • ✅ Tratamento de erros

📄 Licença

MIT