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

@ldclabs/kip-mcp-server

v1.0.2

Published

Minimal MCP server that exposes KIP (Knowledge Interaction Protocol) tools over stdio.

Readme

@ldclabs/kip-mcp-server

Minimal MCP server that exposes KIP (Knowledge Interaction Protocol) tools over stdio.

This server is a thin bridge:

  • MCP client (Claude / VS Code / Cursor / etc) -> this package (stdio)
  • this package -> your KIP backend (HTTP)

Requirements

  • Node.js >= 18

What it provides

Tools

  • execute_kip: Execute one or more KIP commands against your backend. Important: clients should inject kip_bootstrap (or load kip://docs/Instructions.md) so the agent can use KIP correctly.
  • list_logs: List backend log entries (if your backend implements it).

Resources

This package ships documentation as MCP resources:

  • kip://docs/Instructions.md
  • kip://docs/KIP.md

Prompt

  • kip_bootstrap: Returns a ready-to-inject system prompt for KIP usage.

Quickstart (with anda-db backend via Docker)

KIP backend implementation: https://github.com/ldclabs/anda-db/tree/main/rs/anda_cognitive_nexus_server

Start the backend:

docker run -d \
	--name anda_kip \
	-p 8080:8080 \
	-e API_KEY=your_secret_key \
	-v $(pwd)/db:/app/db \
	ghcr.io/ldclabs/anda_cognitive_nexus_server_amd64:latest \
	local --db /app/db

Then run this MCP server (stdio) and point it at the backend endpoint:

export KIP_BACKEND_URL="http://127.0.0.1:8080/kip"
export KIP_API_KEY="your_secret_key"

npx -y @ldclabs/kip-mcp-server

Notes:

  • KIP_BACKEND_URL is a single HTTP endpoint that accepts a JSON body like { "method": "execute_kip", "params": ... }.
  • The example URL /kip depends on your backend route. If unsure, check backend docs/logs and update the URL accordingly.
  • Backend uses API_KEY, this MCP server uses KIP_API_KEY (sent as Authorization: Bearer <key>).

Install / Run

Option A: Run via npx (recommended)

KIP_BACKEND_URL="http://127.0.0.1:8080/kip" npx -y @ldclabs/kip-mcp-server

Option B: Global install

npm i -g @ldclabs/kip-mcp-server
KIP_BACKEND_URL="http://127.0.0.1:8080/kip" kip-mcp-server

Option C: Run from source (development)

cd mcp/kip-mcp-server
npm i
KIP_BACKEND_URL="http://127.0.0.1:8080/kip" npm run dev

Configuration

Required:

  • KIP_BACKEND_URL: HTTP URL for the KIP backend endpoint.

Optional:

  • KIP_API_KEY: sent as Authorization: Bearer <key>
  • KIP_AUTH_HEADER: overrides the Authorization header completely (e.g. Bearer ... or a custom scheme)
  • KIP_TIMEOUT_MS: request timeout in milliseconds (default 30000)

Using it in MCP clients

This MCP server runs over stdio, so most MCP clients can launch it with a command, args, and env.

Claude Desktop

Add a server entry to Claude Desktop config (macOS path shown):

  • ~/Library/Application Support/Claude/claude_desktop_config.json

Example:

{
	"mcpServers": {
		"kip": {
			"command": "npx",
			"args": ["-y", "@ldclabs/kip-mcp-server"],
			"env": {
				"KIP_BACKEND_URL": "http://127.0.0.1:8080/kip",
				"KIP_API_KEY": "your_secret_key"
			}
		}
	}
}

Restart Claude Desktop after editing the file.

VS Code

VS Code itself does not ship a single built-in MCP UI across all distributions, but several MCP-capable extensions support the same stdio-style server definition.

Use your extension's UI/settings to add an MCP server:

  • Command: npx
  • Args: -y @ldclabs/kip-mcp-server
  • Env: KIP_BACKEND_URL, KIP_API_KEY (optional)

If your extension uses a JSON setting (often named mcpServers), the Claude example above typically works with minimal changes.

Other MCP apps (Cursor / etc.)

Look for a section named like “MCP Servers” / “Tools” / “Server (stdio)”.

Use the same launch parameters:

  • command: npx
  • args: -y @ldclabs/kip-mcp-server
  • env: KIP_BACKEND_URL (+ optional auth vars)

Bundled docs (Resources)

By default this package serves bundled docs from docs/.

Optional:

  • KIP_REPO_ROOT: if set, the server will additionally try loading Instructions.md.