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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@usegrant/mcp

v1.3.0

Published

MCP server for usegrant

Readme

UseGrant MCP Server

This is a Model Context Protocol (MCP) server for interacting with the UseGrant API. It provides a set of tools for managing providers, clients, tenants, and access tokens through the UseGrant platform.

Tools

  • list_providers: List all providers
  • create_provider: Create a new provider
  • get_provider: Get a provider by ID
  • delete_provider: Delete a provider
  • list_clients: List all clients for a provider
  • create_client: Create a new client for a provider
  • get_client: Get client details by provider and client ID
  • delete_client: Delete a client from a provider
  • list_domains: List all domains for a provider
  • add_domain: Add a domain to a provider
  • get_domain: Get a domain by provider and domain ID
  • delete_domain: Delete a domain from a provider
  • verify_domain: Verify a domain for a provider
  • create_access_token: Create a new access token for a client
  • list_tenants: List all tenants
  • create_tenant: Create a new tenant
  • get_tenant: Get a tenant by ID
  • delete_tenant: Delete a tenant
  • list_tenant_providers: List all providers for a tenant
  • create_tenant_provider: Create a new provider for a tenant
  • get_tenant_provider: Get a provider for a tenant
  • delete_tenant_provider: Delete a provider for a tenant
  • list_tenant_provider_policies: List all policies for a tenant provider
  • create_tenant_provider_policy: Create a new policy for a tenant provider
  • get_tenant_provider_policy: Get a policy for a tenant provider
  • delete_tenant_provider_policy: Delete a policy for a tenant provider
  • validate_access_token: Validate an access token for a tenant

Requirements

  • Node.js 16 or higher
  • A valid UseGrant API key. Refer here for more details.

Using with Claude desktop

Add the following config to your claude_desktop_config file:

{
  "mcpServers": {
    "usegrant": {
      "command": "npx",
      "args": ["-y", "@usegrant/mcp-server"],
      "env": {
        "USEGRANT_API_KEY": "your_api_key_here"
      }
    }
  }
}

Testing

To test the MCP server, we can use mcp inspector.

Copy the .env.example file to .env and set the USEGRANT_API_KEY environment variable.

npx @modelcontextprotocol/inspector -e USEGRANT_API_KEY=$USEGRANT_API_KEY npx tsx src/index.ts

To watch and build the project:

npm run dev

License

This project is licensed under the MIT License. See the LICENSE file for details.