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

llui-agent

v0.0.15

Published

LLui Agent bridge — MCP server that translates Claude Desktop tool calls to LLui apps via LAP

Downloads

1,544

Readme

llui-agent

MCP bridge for the LLui Agent Protocol. Install once into your LLM client; paste the connect snippet from any LLui app to bind the conversation to that app.

Install (Claude Desktop)

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or equivalent on your OS:

{
  "mcpServers": {
    "llui": {
      "command": "npx",
      "args": ["-y", "llui-agent"]
    }
  }
}

Restart Claude Desktop. The 11 LLui tools (connect_session, disconnect_session, describe_app, get_state, list_actions, send_message, get_confirm_result, wait_for_change, query_dom, describe_visible_content, describe_context) now appear. Desktop exposes the bundled llui-connect MCP prompt as a slash command — see "Slash shortcuts" below.

Install (Claude Code CLI)

claude mcp add --transport stdio llui -- npx -y llui-agent

For local development against unpublished bridge code, point at the built CLI instead:

claude mcp add --transport stdio llui -- node /absolute/path/to/llui/packages/agent-bridge/dist/cli.js

Run /mcp inside CC to confirm the server connected (or start a new session). The same 11 tools become available.

If you run CC in auto mode (permissions.defaultMode: "auto" in ~/.claude/settings.json), the auto-classifier silently rejects unrecognized MCP tools the first time they're called — Claude reports "tool was rejected" but no UI prompt is shown. Add the bridge's tools to your allowlist once so subsequent calls go through:

// ~/.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__llui__*", // replace `llui` with the name you used in `claude mcp add`
    ],
  },
}

Users on defaultMode: "default" or "ask" instead get a permission prompt on the first call and don't need this allowlist entry.

Use

Open any LLui app built with @llui/agent/client. Click "Connect with Claude" in the app and copy the generated snippet. Paste it into Claude — the snippet is a natural-language instruction containing the URL and token. Claude reads it and calls connect_session to bind. The same snippet works in Desktop and CC.

Each Claude chat is bound to ONE LLui app at a time. To switch, ask Claude to call disconnect_session and paste a new snippet.

Slash shortcuts (optional)

The bridge registers an MCP prompt named llui-connect. Both clients surface it as a slash command, but the namespacing differs:

| Client | Shortcut | | --------------- | ------------------------------------------------- | | Claude Desktop | /llui-connect <url> <token> | | Claude Code CLI | /mcp__<server-name>__llui-connect <url> <token> |

The <server-name> in CC is whatever you passed to claude mcp addllui if you used the command above. Power-user shortcut only; the natural-language snippet from the app works the same in either client and doesn't depend on the server-name choice.

How it works

  1. Your LLui app mints a per-browser-session token and renders a connect snippet — a one-line instruction containing the LAP URL and the bearer token.
  2. You paste into Claude — Claude reads the snippet, calls connect_session, and the bridge records {url, token} for this chat.
  3. The bridge pings POST {url}/describe to validate and cache the app's schema.
  4. Subsequent Claude tool calls (get_state, send_message, etc.) forward to {url}/<path> with your token as a Bearer.
  5. Sensitive actions (@requiresConfirm in the app's code) route through a confirmation prompt that only the user can approve.