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

@nairotech/yeke-cli

v0.5.0

Published

YEKE'nin komut satırı istemcisi. Kendi makinenizde çalışır ve üç iş yapar:

Readme

@nairotech/yeke-cli

YEKE'nin komut satırı istemcisi. Kendi makinenizde çalışır ve üç iş yapar:

| Komut | Ne yapar | |---|---| | yeke login <core-url> [--ca-file <kök-ca.pem>] | YEKE'ye giriş yapar; tam yetkili oturum token'ını ~/.config/yeke/config.jsona yazar | | yeke port-forward <clusterId> <ns>/<pod>\|svc/<ns>/<ad> <yerel:uzak> … | Onaylı bir port-forward oturumu açar | | yeke mcp [<core-url> [--ca-file <kök-ca.pem>]] | MCP istemcileri için stdio ↔ HTTP rölesi (aşağıda) |

npm install -g @nairotech/yeke-cli

yeke mcp — MCP rölesi

YEKE'nin MCP sunucusu core'da çalışır (POST /api/mcp). Claude Code ya da Codex CLI çoğu kurulumda ona doğrudan HTTP ile bağlanır; röle iki durumda gerekir:

  • Kurum CA'sı: YEKE kurumun kendi sertifika otoritesiyle imzalı bir sertifika kullanıyorsa. Röle yeke login --ca-file ile kaydedilen CA'yı kullanır. Codex'in belgesinde özel CA ayarı yok; Claude Code'un MCP bağlantısına NODE_EXTRA_CA_CERTSi uyguladığı belgesinde yazmıyor.
  • Yalnız stdio konuşan istemci.

Röle araç tanımı, şema ya da maskeleme içermez; hepsi core'dadır. Her mesajı olduğu gibi iletir ve protokolün istediği başlıkları ekler.

Token

Röle token'ı yalnız YEKE_MCP_TOKEN ortam değişkeninden okur. Token'ı YEKE'de Hesabım sayfasından read kapsamıyla üretin. yeke loginin kaydettiği tam yetkili token MCP için hiçbir zaman kullanılmaz; core da onu /api/mcpde reddeder (403).

YEKE_MCP_TOKEN=<token> yeke mcp https://yeke.kurum.com --ca-file kok-ca.pem

URL verilmezse yeke loginin kaydettiği adres ve CA kullanılır (token değil).

İstemciye ekleme

Claude Code:

claude mcp add --env YEKE_MCP_TOKEN=<token> --transport stdio yeke -- yeke mcp

Codex CLI (~/.codex/config.toml):

[mcp_servers.yeke]
command = "yeke"
args = ["mcp"]
env_vars = ["YEKE_MCP_TOKEN"]
default_tools_approval_mode = "prompt"

Kurum CA'sı gerekmiyorsa röleye gerek yok; doğrudan HTTP ile bağlanma, açma koşulları ve beyanlı sınırlar YEKE README'sinin "MCP sunucusu" bölümünde.

Teşhis

stdout yalnız MCP mesajı taşır. Teşhis satırları (TLS güven hatası, ağ hatası, eksik token) stderr'e İngilizce yazılır.

Sunucu isteği reddederse cevap bir JSON-RPC hatasıdır ve YEKE'nin kodu error.data.errordadır: MCP_DISABLED (yönetici MCP'yi açmamış), TOKEN_SCOPE_DENIED (token read kapsamlı değil), SESSION_INVALID (token süresi dolmuş ya da iptal edilmiş; Hesabım sayfasından yenisini üretin), TOKEN_RATE_LIMITED. Sunucuya hiç ulaşılamazsa ya da cevap JSON-RPC değilse bekleyen istek -32603 ile cevaplanır ve data.httpStatus taşır.

Lisans

Apache-2.0