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

@moor-sh/mcp

v0.26.0

Published

MCP server for moor - lets AI agents (Claude Code, Cursor, etc.) manage your moor projects via the moor HTTP API.

Readme

@moor-sh/mcp

MCP server for moor - lets AI agents (Claude Code, Cursor, etc.) manage your moor projects through standard MCP tools. Talks to moor's HTTP API; no repo clone needed.

Requires Bun on the machine running the MCP client. bunx fetches and runs @moor-sh/mcp directly as the client's MCP subprocess.

Setup

The easiest path is the moor mcp config subcommand from @moor-sh/cli:

bunx @moor-sh/cli mcp config --client claude   # or claude-code, codex

It prints a config snippet you paste into your MCP client. Or configure manually:

Claude Code (~/.claude.json)

{
  "mcpServers": {
    "moor": {
      "command": "bunx",
      "args": ["@moor-sh/mcp"],
      "env": {
        "MOOR_URL": "http://127.0.0.1:8080",
        "MOOR_API_KEY": "your-api-key"
      }
    }
  }
}

Codex (~/.codex/config.toml)

[mcp_servers.moor]
command = "bunx"
args = ["@moor-sh/mcp"]

[mcp_servers.moor.env]
MOOR_URL = "http://127.0.0.1:8080"
MOOR_API_KEY = "your-api-key"

For a moor on the same machine as the client, change MOOR_URL to http://localhost:3000.

SSH tunnel for remote moor

By default moor's admin is bound to 127.0.0.1:3000 on the server. The MCP client connects to whatever MOOR_URL resolves to on the client machine, so for a remote moor, open a tunnel from your laptop:

ssh -fNL 8080:127.0.0.1:3000 your-server

MOOR_URL=http://127.0.0.1:8080 matches the laptop side of that tunnel. The tunnel must stay up while the MCP client is in use. For a tunnel that survives sleep and reboots, see the self-hosting guide.

API key

MOOR_API_KEY grants admin-equivalent control of the moor host. See the self-hosting guide for how to generate, verify, and rotate it.

Smoke test

Before relying on the integration:

MOOR_URL=http://127.0.0.1:8080 MOOR_API_KEY=your-api-key bunx @moor-sh/mcp < /dev/null

Exit 0 with no output means the MCP connected, authenticated, and shut down cleanly when stdin closed. Any stderr line plus non-zero exit tells you what's wrong:

  • Cannot reach moor at ... - URL unreachable or tunnel is down.
  • Authentication failed - MOOR_API_KEY doesn't match the server.
  • moor at ... returned 503 - admin password not configured on the moor server.

Tools

The MCP server exposes:

  • moor_status - list all projects with status, source, and domain
  • moor_logs - get recent container logs for a project (with tail length)
  • moor_rebuild - rebuild a project from source
  • moor_restart - stop and start a project's container
  • moor_exec - run a command inside a project's container
  • moor_env_list - list environment variables for a project
  • moor_env_set - set environment variables and restart
  • moor_stats - host CPU / memory / disk / container counts

Transport

Stdio only. The MCP client launches bunx @moor-sh/mcp as a subprocess and talks over stdin/stdout. HTTP transport is tracked but not yet shipped.

Links

License

MIT.