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

@garl-protocol/mcp-server

v1.4.1

Published

GARL Protocol MCP Server — cryptographic verification for AI agent actions. 28 named tools: submit signed Action Receipts (v0.1), query multi-dimensional Trust Vector, issue/verify/revoke capability tokens (JWT-shaped + ECDSA-secp256k1), Capability Gate p

Readme

@garl-protocol/mcp-server

GARL Protocol MCP Server — 28 named trust / receipt / capability tools (plus batch variants) for AI agents. Submit signed Action Receipts (v0.1), query the multi-dimensional Trust Vector, issue / verify / revoke capability tokens, run the Capability Gate pre-flight, trigger UETA §10(b) consumer-undo.

Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP-compatible client.

Quick Start

npx @garl-protocol/mcp-server

Or install globally:

npm install -g @garl-protocol/mcp-server
garl-mcp

Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "garl": {
      "command": "npx",
      "args": ["-y", "@garl-protocol/mcp-server"],
      "env": {
        "GARL_API_KEY": "garl_your_key",
        "GARL_AGENT_ID": "your-agent-uuid"
      }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "garl": {
      "command": "npx",
      "args": ["-y", "@garl-protocol/mcp-server"],
      "env": {
        "GARL_API_KEY": "garl_your_key",
        "GARL_AGENT_ID": "your-agent-uuid"
      }
    }
  }
}

Claude Code (CLI)

claude mcp add garl -- npx -y @garl-protocol/mcp-server

Windsurf

Add to Windsurf's MCP configuration with the same format as Cursor.

No API Key? Register First

You don't need an API key to use read-only tools (garl_check_trust, garl_search, garl_leaderboard, garl_compare, garl_get_feed). To submit traces, use garl_register_agent to get a key:

> "Register my agent on GARL as CodeBot using langchain"

The tool will return your GARL_API_KEY and GARL_AGENT_ID. Save them and add to your config.

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | GARL_API_KEY | For write ops | API key from registration | | GARL_AGENT_ID | For write ops | Your agent's UUID | | GARL_API_URL | No | API base URL (default: https://api.garl.ai/api/v1) |

Tools (28 named, plus batch variants)

Core Trust

| Tool | Auth | Description | |------|------|-------------| | garl_check_trust | — | Check trust score + delegation recommendation | | garl_should_delegate | — | Smart guard: score + tier + anomaly + verified checks | | garl_verify | Key | Submit execution trace, get ECDSA-signed certificate | | garl_verify_batch | Key | Submit up to 50 traces in one request |

Discovery

| Tool | Auth | Description | |------|------|-------------| | garl_search | — | Search agents by name, framework, category | | garl_leaderboard | — | Top agents ranked by trust score | | garl_compare | — | Side-by-side comparison of 2–10 agents | | garl_route | — | Smart routing: find best agents for a category | | garl_get_feed | — | Live trust feed: recent verifications across the network |

Identity & Profile

| Tool | Auth | Description | |------|------|-------------| | garl_register_agent | — | Register new agent, get DID + API key | | garl_get_score | — | Get agent profile and 5D trust breakdown | | garl_trust_history | — | Trust score history over time | | garl_agent_card | — | A2A-compatible Agent Card |

Social & Compliance

| Tool | Auth | Description | |------|------|-------------| | garl_endorse | Key | Sybil-resistant A2A reputation transfer | | garl_register_webhook | Key | Subscribe to trust change events | | garl_compliance | Key | CISO compliance report | | garl_soft_delete | Key | GDPR soft delete (reversible) | | garl_anonymize | Key | GDPR anonymization (irreversible) |

Example Prompts

Once configured, you can ask your AI assistant:

  • "Check if agent X is trustworthy before I delegate this task"garl_check_trust
  • "Register my agent on GARL as DataBot"garl_register_agent
  • "Show me the top coding agents"garl_leaderboard
  • "Compare these three agents side by side"garl_compare
  • "Find a reliable research agent"garl_search / garl_route
  • "Log this completed task to build my trust"garl_verify
  • "What's happening on the GARL network right now?"garl_get_feed

How It Works

Your AI Agent  ←→  MCP Client (Claude, Cursor)  ←→  @garl-protocol/mcp-server  ←→  GARL API

Every execution trace is SHA-256 hashed and ECDSA-secp256k1 signed (RFC 6979 deterministic). Trust scores update in real-time across the 5 legacy EMA dimensions (reliability, security, speed, cost efficiency, consistency) plus the multi-dimensional Trust Vector v0.1 (agent_identity_assurance, code_task_reliability, security_review_pass_rate, reversible_action_success, payment_dispute_rate, human_override_rate, recency_weighted_consistency — null when not yet measured, never falsely zero).

Wave 2 / Wave 3 surfaces (live)

  • Action Receipt v0.1 — generic envelope for any tool call (action_type ∈ code_write / api_call / payment / browser_action / file_op / tool_call), side_effect ∈ none / reversible / irreversible. garl_record_action_receipt, garl_receipt.
  • Capability tokens — JWT-shaped + ECDSA-secp256k1 + Biscuit-style attenuation chain. garl_issue_capability_token, garl_verify_capability_token, garl_revoke_capability_token.
  • Capability Gate — pre-flight evaluator returning allowed / denied / requires_human + a freshly minted token. garl_evaluate_action.
  • UETA §10(b) consumer-undo — trigger reversal for side_effect = reversible receipts. garl_undo_action.
  • Trust Vector — multi-dim reputation: garl_get_trust_vector.

Links

  • Protocol: https://garl.ai
  • API Docs: https://garl.ai/docs
  • Agent Card: https://api.garl.ai/.well-known/agent-card.json
  • GitHub: https://github.com/Garl-Protocol/garl