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

@agntcy/dir-mcp

v1.3.7

Published

MCP server for working with OASF agent records in the Agntcy Directory.

Readme

@agntcy/dir-mcp

npm package for the AGNTCY Agent Directory MCP server.

Downloads the platform-specific binary from GitHub Releases on install and exposes it as a runnable command — no Go toolchain required.

Install

npm install -g @agntcy/dir-mcp

Usage

As an MCP server (Claude / Cursor / VS Code)

Add to your MCP config:

{
  "mcpServers": {
    "agntcy-dir": {
      "command": "dir-mcp",
      "env": {
        "OASF_API_VALIDATION_SCHEMA_URL": "https://schema.oasf.outshift.com",
        "DIRECTORY_CLIENT_SERVER_ADDRESS": "0.0.0.0:8888",
        "DIRECTORY_CLIENT_AUTH_MODE": "none"
      }
    }
  }
}

Or use npx without a global install:

{
  "mcpServers": {
    "agntcy-dir": {
      "command": "npx",
      "args": ["-y", "@agntcy/dir-mcp"],
      "env": {
        "OASF_API_VALIDATION_SCHEMA_URL": "https://schema.oasf.outshift.com",
        "DIRECTORY_CLIENT_SERVER_ADDRESS": "0.0.0.0:8888",
        "DIRECTORY_CLIENT_AUTH_MODE": "none"
      }
    }
  }
}

Environment variables

| Variable | Required | Description | |----------|----------|-------------| | OASF_API_VALIDATION_SCHEMA_URL | Yes | OASF schema server URL | | DIRECTORY_CLIENT_SERVER_ADDRESS | No | Directory server address (default 0.0.0.0:8888) | | DIRECTORY_CLIENT_AUTH_MODE | No | Auth mode: none, github, x509, jwt, token | | DIRECTORY_CLIENT_AUTH_TOKEN | No | Pre-issued bearer token for CI/scripts |

Config file

Instead of setting shell environment variables, create ~/.config/dir-mcp/config.json:

{
  "DIRECTORY_CLIENT_SERVER_ADDRESS": "0.0.0.0:8888",
  "DIRECTORY_CLIENT_AUTH_MODE": "none",
  "DIRECTORY_CLIENT_AUTH_TOKEN": "your-token"
}

The wrapper reads this file on every startup. Process environment variables and mcp.json env entries take precedence over config file values, so they can still override individual keys.

To use a different path, set DIR_MCP_CONFIG=/path/to/config.json.

Dependencies installation

npm install runs a postinstall step that downloads the two binaries this platform needs (mcp-server, dirctl) from GitHub Releases. If you already have the binaries, you can set these values in the config:

  • Set DIR_MCP_SKIP_INSTALL=1 to skip the download during npm install.
  • Point DIRECTORY_MCP_PATH (and optionally DIRECTORY_DIRCTL_PATH) at binaries you've placed yourself, via env var or the config file above.

Supported platforms

| OS | Architecture | |----|-------------| | macOS | arm64, x64 | | Linux | arm64, x64 | | Windows | x64 |

License

Apache-2.0