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

adcom

v0.4.0

Published

CLI client for Ad Computer.

Readme

adcom

adcom is the published CLI for Ad Computer.

It is a thin, remote-friendly shim: authenticate with device flow, store a small local session, inspect the hosted MCP surface, and expose that hosted MCP worker to local agents over stdio.

It remains oriented around the hosted Ad Computer product. The repo's first self-hostable OSS target is apps/mcp; this CLI is still the reference client for the hosted control plane flow.

Install

npm install -g adcom

Requirements

  • Node.js >=22.12.0

Core Commands

adcom login
adcom whoami
adcom logout
adcom mcp inspect-tools
adcom mcp serve

Typical Flow

Login from any machine

adcom login

By default, adcom login prints a device approval URL and waits for the user to approve it from any browser. Use --open only when the same machine has a local browser available.

Verify identity and inspect the hosted surface

adcom whoami
adcom mcp inspect-tools

Run the local MCP bridge

adcom mcp serve

The bridge proxies the hosted MCP server over stdio. It does not add local workflow helpers on top of the hosted surface.

First Meta Read

Once the bridge is running and Meta is connected, the canonical first read is:

1. Call meta_get_ad_accounts
2. Pick an accessible account_id
3. Call meta_review_account_performance with that explicit account_id

MCP Bridge

The CLI can expose the hosted Ad Computer MCP worker over local stdio:

adcom mcp serve

That is the command local agent clients should generally run when they expect a stdio MCP server but you want execution to happen against the hosted Ad Computer backend.

To inspect the hosted tool surface:

adcom mcp inspect-tools

Direct hosted MCP clients should call:

meta_get_ad_accounts
meta_review_account_performance

and pass an explicit account_id to the review tool.

JSON Mode

Several commands support --json so agents or automation can parse structured output instead of relying on human-readable text.

Common examples:

adcom login --json
adcom whoami --json
adcom logout --json
adcom mcp inspect-tools --json

adcom login --json emits device-flow events such as login_url and login_complete.

Local State

The CLI stores small local state under ~/.adcom/:

  • config.json keeps control_plane_url and the latest mcp_url
  • session.json keeps the local session token

adcom logout deletes only session.json and leaves the non-secret endpoint config in place.

Compatibility

ad-computer remains available as a compatibility binary alias, but adcom is the canonical command name.

There is no longer any local workspace-context workflow, provider account-selection management, or local review wrapper tool in the CLI.

Control Plane And Hosted MCP

Default product URLs:

  • Website: https://ad.computer
  • App: https://app.ad.computer
  • MCP: https://mcp.ad.computer/mcp

Local Development

From the monorepo root:

vp run adcom#build
vp run adcom#test

The CLI is the only workspace package intended for npm publish. The repo's contracts and provider-meta packages are internal-only.