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

@sidearmdrm/mcp

v0.6.0

Published

MCP server exposing Sidearm media protection tools — watermarking, AI detection, and similarity search for AI agents

Readme

@sidearmdrm/mcp

MCP server for the Sidearm API — protect media from AI training, detect AI-generated content, and search for stolen work.

This package exposes the Sidearm REST API as Model Context Protocol (MCP) tools that AI agents (Cursor, Claude Desktop, Windsurf, etc.) can call directly.

Quick Start

1. Get an API key

Sign up at sdrm.io and create an API key at sdrm.io/api-keys.

2. Configure your agent

Add to your MCP configuration file:

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "sdrm": {
      "command": "npx",
      "args": ["-y", "@sidearmdrm/mcp"],
      "env": {
        "SDRM_API_KEY": "sk_live_..."
      }
    }
  }
}

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "sdrm": {
      "command": "npx",
      "args": ["-y", "@sidearmdrm/mcp"],
      "env": {
        "SDRM_API_KEY": "sk_live_..."
      }
    }
  }
}

That's it. Your agent can now call Sidearm tools.

Tools

Discovery

| Tool | Description | |------|-------------| | list_algorithms | Browse available protection algorithms. Filter by category or media type. |

Protection

| Tool | Description | |------|-------------| | run_algorithm | Run specific algorithms on media by ID. Returns a job for async processing. | | protect_media | Protect media with a preset level (standard/maximum). Auto-selects algorithms. |

Jobs

| Tool | Description | |------|-------------| | check_job | Poll async job status. Returns progress and results when complete. |

Detection

| Tool | Description | |------|-------------| | detect_ai | Detect whether media was AI-generated. Supports image, video, audio, text. | | detect_fingerprint | Check if media has been previously registered using fingerprint matching. | | detect_membership | Test whether your content was used to train a suspect AI model. |

Search

| Tool | Description | |------|-------------| | search_media | Search for similar media across your indexed library. | | list_searches | List previous searches on your account. |

Media Management

| Tool | Description | |------|-------------| | register_media | Register and index media. Optionally apply watermarks on ingest. | | list_media | List media assets in your library (paginated). | | get_media | Get details of a specific media asset. | | update_media | Update media metadata (e.g., original URL). | | delete_media | Permanently delete a media asset and all associated data. |

Rights & Billing

| Tool | Description | |------|-------------| | get_rights | Get C2PA, IPTC, and licensing information for a media asset. | | get_billing | View credit usage, API call history, and billing portal link. |

Example Agent Conversations

"Protect this image from AI training"

Agent calls protect_media with the image URL, then check_job to get the protected file.

"What algorithms are available for audio?"

Agent calls list_algorithms with media_type: "audio".

"Run Nightshade and Glaze on my artwork"

Agent calls run_algorithm with algorithms: ["nightshade", "glaze"].

"Is this photo AI-generated?"

Agent calls detect_ai with the image, then check_job for results.

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | SDRM_API_KEY | Yes | Your Sidearm API key (sk_live_... or sk_test_...) | | SDRM_BASE_URL | No | Override the API base URL (default: https://api.sdrm.io) |

Development

git clone https://github.com/sidearmDRM/mcp-server.git
cd mcp-server
npm install
npm run build

Test locally with the MCP Inspector:

SDRM_API_KEY=sk_test_... npx @modelcontextprotocol/inspector node dist/index.js

License

MIT