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

@collegue/mcp

v1.0.2

Published

Un assistant de développement intelligent et serveur MCP fournissant des outils d'analyse de code, refactoring, documentation, sécurité et bien plus.

Readme

Collègue MCP

Un assistant de développement intelligent et serveur MCP (Model Context Protocol) fournissant des outils d'analyse, de refactoring, de documentation, d'analyse de risques, sécurité et bien plus.

🚀 Utilisation Rapide (Client NPM)

Configurez votre IDE pour utiliser Collègue via le wrapper NPM officiel. Cela connecte votre IDE au serveur public par défaut.

Windsurf / Cursor / Claude Desktop / Antigravity

Ajoutez ceci à votre configuration mcpServers (souvent dans ~/.codeium/windsurf/mcp_config.json ou équivalent) :

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

✨ Fonctionnalités (Outils MCP)

🔧 Outils d'Analyse de Code

  • 🛡️ IaC Guardrails Scan : Sécurisation de l'Infrastructure as Code (Terraform, Kubernetes, Dockerfile) contre les mauvaises configurations et privilèges excessifs.
  • 🎯 Impact Analysis : Analyse prédictive des risques et impacts d'un changement de code avant son application.
  • 🔍 Repo Consistency Check : Détection d'incohérences subtiles, code mort et hallucinations silencieuses dans le codebase.
  • 📦 Dependency Guard : Audit de sécurité des dépendances (Supply Chain) pour éviter typosquatting et paquets malveillants/vulnérables.
  • 🔐 Secret Scan : Détection proactive de secrets, clés API et tokens exposés dans le code.
  • 🧪 Run Tests : Exécution de tests unitaires (Python/JS/TS) avec rapports structurés intégrés au contexte.
  • ♻️ Refactoring : Outils automatisés pour nettoyer, optimiser et restructurer le code existant.
  • 📚 Documentation : Génération automatique de documentation technique et docstrings.
  • ⚡ Test Generation : Création intelligente de tests unitaires validés par exécution.

🔌 Outils d'Intégration (NEW)

  • 🐘 PostgreSQL Database : Inspection de schéma, requêtes SQL (lecture seule), statistiques de tables, clés étrangères et index.
  • 🐙 GitHub Operations : Gestion des repos, PRs, issues, branches, workflows CI/CD et recherche de code.
  • 🚨 Sentry Monitor : Récupération des erreurs, stacktraces, statistiques de projet et releases pour prioriser le debugging.
  • ☸️ Kubernetes Operations : Inspection des pods, logs, déploiements, services, événements et ressources du cluster.

🐳 Auto-hébergement (Docker)

Si vous souhaitez héberger votre propre instance du serveur Collègue (backend Python) :

  1. Cloner le dépôt

    git clone https://github.com/VynoDePal/Collegue.git
    cd Collegue
  2. Configuration Copiez le fichier d'exemple et configurez vos clés API (OpenRouter, etc.) :

    cp .env.example .env
  3. Lancement

    docker compose up -d

    Le serveur sera accessible sur le port configuré (par défaut 4121).


🛠️ Développement Local (Python)

Pour contribuer au développement du serveur backend :

# Installation
python -m venv .venv
source .venv/bin/activate  # ou .venv\Scripts\activate sur Windows
pip install -r requirements.txt

# Lancement du serveur
python -m collegue.app

🔑 Configuration des Intégrations

Les outils d'intégration se configurent via le bloc env de la configuration MCP :

{
  "mcpServers": {
    "collegue": {
      "command": "npx",
      "args": ["-y", "@collegue/mcp"],
      "env": {
        "POSTGRES_URL": "postgresql://user:password@host:5432/database",
        "GITHUB_TOKEN": "ghp_xxxxxxxxxxxx",
        "SENTRY_AUTH_TOKEN": "sntrys_xxxxxxxxxxxx",
        "SENTRY_ORG": "my-organization"
      }
    }
  }
}

Variables disponibles

| Variable | Description | Outil | |----------|-------------|-------| | POSTGRES_URL | URI PostgreSQL (ou DATABASE_URL) | postgres_db | | GITHUB_TOKEN | Token GitHub (permissions: repo, read:org) | github_ops | | SENTRY_AUTH_TOKEN | Token d'authentification Sentry | sentry_monitor | | SENTRY_ORG | Slug de l'organisation Sentry | sentry_monitor | | SENTRY_URL | URL Sentry self-hosted (optionnel) | sentry_monitor | | KUBECONFIG | Chemin vers kubeconfig (optionnel) | kubernetes_ops |