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

pdauth

v1.1.0

Published

πŸ” Pipedream OAuth CLI - Give AI agents access to 2500+ APIs via dynamic OAuth

Readme

πŸ” pdauth

Pipedream OAuth CLI β€” Give AI agents access to 2500+ APIs via dynamic OAuth

Agent: "I need Spotify access to manage your playlist"
  ↓
$ pdauth connect spotify
  ↓  
πŸ”— https://pipedream.com/_static/connect.html?token=ctok_xxx&app=spotify
  ↓
User clicks β†’ OAuth flow β†’ Done
  ↓
Agent can now call Spotify tools via MCP

Installation

npm install -g pdauth

Quick Start

1. Configure Pipedream credentials

Get your credentials at https://pipedream.com/settings/api

pdauth config

Or set directly:

pdauth config --set clientId=YOUR_CLIENT_ID
pdauth config --set clientSecret=YOUR_CLIENT_SECRET
pdauth config --set projectId=YOUR_PROJECT_ID

2. Generate OAuth link for any app

# Generate link for Spotify
pdauth connect spotify

# Generate for a specific user
pdauth connect google_sheets --user [email protected]

# Copy to clipboard
pdauth connect slack --copy

3. Check connection status

# Show connected accounts
pdauth status

# Show all users
pdauth status --all

# JSON output for scripts
pdauth status --json

4. Use connected tools

# List available tools for an app
pdauth tools slack

# Call a tool
pdauth call slack.send_message channel=general text="Hello from AI!"

# Call with JSON args
pdauth call notion.create_page --args '{"title": "New Page", "parent_id": "..."}'

Commands

| Command | Description | |---------|-------------| | pdauth config | Configure Pipedream credentials | | pdauth apps [--search <query>] | List available apps (2500+) | | pdauth app <slug> | Get info about an app | | pdauth connect <app> | Generate OAuth link | | pdauth status | List connected accounts | | pdauth disconnect <app> | Revoke app access | | pdauth tools <app> | List MCP tools for an app | | pdauth call <app.tool> | Invoke an MCP tool |

Options

All commands support:

  • -u, --user <id> β€” Specify user ID (default: "default")
  • -j, --json β€” Output as JSON

How It Works

  1. You run pdauth connect <app> β†’ generates a secure OAuth link
  2. User clicks the link β†’ Pipedream handles OAuth flow
  3. Credentials stored securely in Pipedream (not locally)
  4. Agent calls tools via MCP using pdauth call or direct MCP

Powered by Pipedream Connect β€” managed OAuth for 2500+ APIs.

For AI Agents (OpenClaw)

This CLI is designed for AI agents to request and use OAuth access dynamically:

User: "Add this song to my Spotify playlist"

Agent: I need Spotify access. Here's a link to authorize:
       https://pipedream.com/_static/connect.html?token=...

User: *clicks, authorizes*

Agent: *calls pdauth call spotify.add_to_playlist ...*
       βœ“ Added "Song Name" to your playlist!

Environment Variables

Instead of pdauth config, you can use environment variables:

export PIPEDREAM_CLIENT_ID=your_client_id
export PIPEDREAM_CLIENT_SECRET=your_client_secret
export PIPEDREAM_PROJECT_ID=your_project_id
export PIPEDREAM_ENVIRONMENT=development  # or production

Links

License

MIT Β© Versatly