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

@garnet-org/platform-mcp

v1.0.0

Published

MCP client for connecting to Garnet security platform

Readme

Garnet Platform MCP

MCP (Model Context Protocol) client for connecting Claude Desktop to the Garnet security platform.

Installation

You can use this client directly with npx (no installation required):

npx @garnet-org/platform-mcp

Or install globally:

npm install -g @garnet-org/platform-mcp

Configuration

1. Get your API token

Using garnetctl:

garnetctl config current-token

Or create a new token:

garnetctl token create --name "mcp-integration"

2. Configure Claude Desktop

Edit your Claude configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Add this configuration:

{
  "mcpServers": {
    "garnet": {
      "command": "npx",
      "args": ["@garnet-org/platform-mcp"],
      "env": {
        "GARNET_API_URL": "https://api.garnet.ai/api/v1/mcp",
        "GARNET_API_TOKEN": "your-token-here"
      }
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "garnet": {
      "command": "garnet-mcp",
      "env": {
        "GARNET_API_URL": "https://api.garnet.ai/api/v1/mcp",
        "GARNET_API_TOKEN": "your-token-here"
      }
    }
  }
}

3. Restart Claude Desktop

4. Verify the connection

In Claude, you should see Garnet tools available. Try asking:

  • "List recent security events"
  • "Show me security issues"
  • "List network policies"

Environment Variables

  • GARNET_API_URL: The Garnet API endpoint (default: http://localhost:8080/api/v1/mcp)
  • GARNET_API_TOKEN: Your project authentication token (required)

Available Tools

The MCP client provides access to these Garnet security tools:

  • garnetListEvents - List recent security events with filtering options
  • garnetGetEvent - Get detailed information about a specific event
  • garnetBlockEvent - Block network destination associated with an event
  • garnetListAgents - List security agents in the project
  • garnetListIssues - List security issues with filtering options
  • garnetGetIssue - Get detailed information about a specific issue
  • garnetBlockIssue - Block network destination associated with an issue
  • garnetListNetworkPolicies - List network policies for the project

Self-Hosted Instances

If you're running a self-hosted Garnet instance, update the GARNET_API_URL to point to your server:

"env": {
  "GARNET_API_URL": "https://your-garnet-instance.com/api/v1/mcp",
  "GARNET_API_TOKEN": "your-token-here"
}

Development

This client acts as a bridge between Claude's MCP protocol (stdio) and the Garnet HTTP API. It forwards JSON-RPC requests from Claude to the Garnet server and returns the responses.

Support

For issues and questions:

  • GitHub Issues: https://github.com/garnet-org/garnet-platform-mcp/issues
  • Documentation: https://docs.garnet.ai

License

MIT