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

@monclair/mcp-cloud-client

v1.0.0

Published

MCP client for Monclair employees — bridges Claude Desktop (stdio MCP) to the Monclair MCP-cloud backend over HTTP with Bearer auth.

Readme

@monclair/mcp-cloud-client

MCP client para empleados Monclair. Conecta Claude Desktop (u otro cliente MCP compatible) al backend interno MCP-cloud de Monclair vía HTTP con Bearer auth.

Este paquete es interno — solo funciona con tokens emitidos por el panel-v2/admin de Monclair. Para el cliente B2C público (@monclair/mcp-server), ver el otro paquete.


1. Instalación

No requiere instalación previa — Claude Desktop lo descarga con npx -y:

# Verificación manual desde la terminal (debería printear "MCP_AGENT_TOKEN env var requerido"):
npx -y @monclair/mcp-cloud-client

2. Configuración Claude Desktop

Agregá esto a claude_desktop_config.json:

{
  "mcpServers": {
    "monclair": {
      "command": "npx",
      "args": ["-y", "@monclair/mcp-cloud-client"],
      "env": {
        "MCP_CLOUD_URL": "https://api.monclair.com.ar/api/agents",
        "MCP_AGENT_TOKEN": "mc_agent_..."
      }
    }
  }
}

Path del config file por OS:

| OS | Path | | ------- | ----------------------------------------------------------------- | | macOS | ~/Library/Application Support/Claude/claude_desktop_config.json | | Windows | %APPDATA%\Claude\claude_desktop_config.json | | Linux | ~/.config/Claude/claude_desktop_config.json |

Después de pegar, reiniciá Claude Desktop.


3. Env vars

| Variable | Default | Descripción | | ------------------------ | --------------------------------------------- | ------------------------------------------------------------------------------------------ | | MCP_AGENT_TOKEN | (requerido) | Token mc_agent_* emitido por panel-v2 admin. Sin esto, el cliente no arranca. | | MCP_CLOUD_URL | https://api.monclair.com.ar/api/agents | Base URL del backend MCP-cloud. Sobrescribir para staging. | | MCP_CLIENT_TIMEOUT_MS | 120000 | Timeout por request HTTP. Los agents pueden tardar — 2min suele ser suficiente. | | MCP_CLIENT_DEBUG | false | Si true, log a stderr de discovery + invokes. Nunca log a stdout (rompe el JSON-RPC). |


4. Troubleshooting

"MCP_AGENT_TOKEN env var requerido"

No pasaste el token. Pediselo a tu admin Monclair (genera uno desde panel-v2/admin/mcp-tokens).

Error 401 ("Token inválido o revocado")

Tu token fue revocado o expiró. Pedile a tu admin que te regenere uno.

Error 429 ("Rate limit")

Demasiadas requests en poco tiempo. El cliente reintenta automáticamente respetando el header Retry-After. Si seguís viendo 429s después de varios minutos, hablar con el admin.

Timeout

Aumentá MCP_CLIENT_TIMEOUT_MS. Default es 2 minutos.

Claude Desktop dice "No tools available"

Posibles causas:

  1. Kill switch global activo — el admin pausó todo el MCP-cloud. Esperá o consultá.
  2. Tu token no tiene scope para ningún tool — pediselo al admin.
  3. Network — verificá que tu equipo puede llegar a https://api.monclair.com.ar.

Para diagnosticar: activá MCP_CLIENT_DEBUG=true y abrí los logs de Claude Desktop:

| OS | Path | | ------- | ----------------------------------------------------------------- | | macOS | ~/Library/Logs/Claude/mcp-server-monclair.log | | Windows | %APPDATA%\Claude\logs\mcp-server-monclair.log | | Linux | ~/.config/Claude/logs/mcp-server-monclair.log |


5. Versionado

Semver. Cambios breaking en MAJOR. El paquete sigue el versionado del backend MCP-cloud v1.x.

| Cliente | Backend mínimo | | ------- | -------------- | | 1.x | 1.x |


6. Licencia

MIT.