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

@principal-ai/principal-mcp

v0.0.6

Published

Standalone MCP server bundle for PrincipleMD - run with npx or bunx

Readme

Principal MCP

Model Context Protocol server bundle for PrincipalMD. This package mirrors the agent-hooks workflow so teams can run the MCP server via npx or install it locally without cloning the full Electron app.

Installation & Quick Start

# one-off execution
npx @principal-ai/principal-mcp

# or install globally
npm install -g @principal-ai/principal-mcp
principal-mcp

Configuration

| Option | Description | Default | | ------ | ----------- | ------- | | --port, PRINCIPLE_MCP_PORT | MCP bridge port shared by prompt and dependency tools | 3043 | | --host, PRINCIPLE_MCP_HOST | MCP bridge host | localhost | | PRINCIPLE_MCP_PROTOCOL | Protocol used when contacting ADE HTTP bridge from CLI tools | http |

The CLI reads the same environment variables as the Electron app so it can route requests through the unified ADE bridge. When the bridge is offline, dependency tasks fall back to Memory Palace storage (requires a repository root on disk).

Included MCP Tools

| Tool | Purpose | | ---- | ------- | | submit_dependency_task | Submit a dependency task to ADE; if the bridge is unavailable the task is persisted locally using Memory Palace. | | submit_task | Submit a task to ADE with configurable pending queue path; recommended over submit_dependency_task. | | get_dependency_task_doc | Resolve the absolute path to a dependency task document stored in Memory Palace. | | add_memory_note | Create anchored notes in the repository's Memory Palace for storing development insights. | | resolve_project | Get comprehensive project information including metadata, permissions, local clones, and remote details. |

Package Layout

principal-mcp/
  docs/                     # Design notes
  src/
    index.ts                # CLI entry point
    server/                 # MCP server implementation
    tools/                  # Tool implementations (dependency & memory tools)
    types/, utils/          # Shared types & helpers
  scripts/bundle.ts         # Bun-based esbuild bundler
  tests/                    # Bun test suite
  dist/                     # Generated bundle after build

Development

# install dependencies
bun install

# run tests
bun test

# build the distributable bundle
bun run build

# publish (runs clean → build → test automatically)

Runtime Notes

  • MCP interactions use a single HTTP bridge port (default 3043) for dependency workflows.
  • When submit_dependency_task cannot reach ADE it persists the task via Memory Palace; repositoryRoot must be supplied in that scenario so the CLI can locate the git root.
  • get_dependency_task_doc reads directly from Memory Palace to provide the path to active or completed task documents.
  • add_memory_note creates anchored notes locally in the repository's Memory Palace without requiring bridge connectivity.

Resources

  • Original implementation reference: PrincipleMD/core/src/mcp/*
  • Core library dependency: @a24z/core-library (provides Memory Palace + filesystem adapters)
  • MCP SDK: @modelcontextprotocol/sdk