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

univoucher-mcp

v1.5.1

Published

Official MCP (Model Context Protocol) server for UniVoucher.com - the world's first decentralized crypto gift card protocol. Provides comprehensive documentation access and live API integration for building on the UniVoucher ecosystem across multiple bloc

Downloads

22

Readme

UniVoucher MCP Server

Official Model Context Protocol (MCP) server for UniVoucher.com - the world's first decentralized crypto gift card protocol that allows users to create and redeem crypto gift cards across multiple blockchains.

What is UniVoucher?

UniVoucher is the world's first decentralized tangible crypto gift card protocol that allows users to create and redeem crypto gift cards across multiple blockchains including Ethereum, Polygon, BSC, and more.

🚀 Quick Installation

Note: No manual installation needed! Just add the configuration below to your MCP client and it will automatically download and run when needed.

MCP Configuration

Add this to your MCP configuration file (mcp.json or equivalent):

Basic Configuration (Read-only access)

{
  "mcpServers": {
    "univoucher": {
      "command": "npx",
      "args": ["-y", "univoucher-mcp@latest"],
      "env": {}
    }
  }
}

With Wallet Private Key (Full access including card creation)

{
  "mcpServers": {
    "univoucher": {
      "command": "npx",
      "args": ["-y", "univoucher-mcp@latest"],
      "env": {
        "WALLET_PRIVATE_KEY": "your_ethereum_wallet_private_key_here"
      }
    }
  }
}

⚠️ Security Note: Never commit your wallet private key to version control. Use environment variables or secure configuration management.

📝 Note: The private key is optional. You can provide your standard Ethereum crypto wallet private key with or without the 0x prefix.

Supported MCP Clients

  • Cursor: Add to your Cursor MCP settings
  • Claude Desktop: Add to your Claude Desktop configuration
  • Any MCP-compatible client: Use the configuration above

Alternative Installation Methods

Global Installation

npm install -g univoucher-mcp@latest

Specific Version Installation

npm install [email protected]

Then use univoucher-mcp directly in your MCP configuration.

Features

📚 Documentation Access

  • Complete UniVoucher documentation pages delivered in full
  • Browse and discover all available documentation
  • Get multiple related pages at once for comprehensive information
  • No more search guessing - get the exact page you need

📊 Live API Access

  • Query gift cards with advanced filtering
  • Get current fees across all supported chains
  • Check supported blockchain networks
  • Retrieve real-time protocol statistics

🛠️ Available Tools

| Tool | Description | |------|-------------| | list_doc_pages | List all available documentation pages with descriptions | | get_doc_page | Get complete content of a specific documentation page | | get_multiple_doc_pages | Get complete content of multiple documentation pages at once | | query_api_cards | Query gift cards from the protocol | | get_single_card | Get details of a specific card | | create_gift_card | Create a new gift card (requires private key) | | get_current_fees | Get current protocol fees | | get_chains | Get supported blockchain networks | | get_fee_history | Get historical fee data |

Card Creation Feature

Prerequisites

  • Wallet Private Key: Your standard Ethereum crypto wallet private key (with or without 0x prefix, optional)
  • Supported Networks: Ethereum (1), Base (8453), BNB Chain (56), Polygon (137), Arbitrum (42161), Optimism (10), Avalanche (43114)
  • Token Support: Any ERC-20 token or native currency

Security

  • Wallet private keys are only used locally and never stored
  • Keys are passed via environment variables for security
  • All transactions are signed locally and sent to UniVoucher API
  • Private key is optional - you can use the MCP server for read-only operations without providing a private key
  • Uses Direct Response Mode for immediate card details without callbacks

Supported Tokens

  • Native Currency: Use 0x0000000000000000000000000000000000000000 as token address
  • ERC-20 Tokens: Use the token's contract address
  • Amount Format: Use string format for large numbers (e.g., "1000000000000000000" for 1 ETH)
  • Bulk Creation: Create up to 100 cards in a single transaction

Example Usage

Once configured, you can ask your AI assistant:

  • "Show me the complete UniVoucher integration guide for developers"
  • "Get me the full documentation on creating gift cards"
  • "What are the current fees on Ethereum?"
  • "List all available UniVoucher documentation pages"
  • "Show me the technical documentation on how UniVoucher works"
  • "Get the API reference and security documentation"
  • "How many cards are in the UniVoucher protocol?"
  • "Create a new gift card on Ethereum with 0.1 ETH"
  • "Create a gift card on Polygon with 100 USDC"
  • "Create 5 gift cards on Base with 50 USDC each"

AI Agent Improvements

Enhanced Gift Card Creation Support

The UniVoucher MCP server now includes comprehensive guidance for AI agents to properly handle gift card creation requests:

Smart Decision Making

  • Automatic Tool Selection: AI agents can now intelligently choose between using the create_gift_card tool or providing manual instructions
  • Technical Requirement Checking: Built-in validation for private key availability and parameter requirements
  • Clear Error Messages: Specific guidance when technical requirements aren't met

Improved Documentation

  • AI Agent Guide: New comprehensive guide specifically for AI agents (developers/ai-agent-guide)
  • Enhanced Tool Descriptions: Clear instructions on when and how to use each tool
  • Prompt Templates: Pre-built prompts for handling gift card creation requests

Better User Experience

  • Context-Aware Responses: AI agents can distinguish between users wanting cards created vs. wanting instructions
  • Security Warnings: Automatic reminders about secure card sharing
  • Error Recovery: Clear guidance when technical requirements aren't met

Example AI Agent Workflow

  1. Analyze User Intent: Determine if user wants card creation or instructions
  2. Check Technical Capability: Verify private key availability and parameters
  3. Choose Appropriate Action: Use tool or provide manual instructions
  4. Provide Clear Response: Explain what's happening and include security warnings

Available AI Agent Resources

  • get_doc_page with "developers/ai-agent-guide" for comprehensive AI agent guidance
  • univoucher_gift_card_creation prompt for handling creation requests
  • create_univoucher_gift_card prompt for direct card creation with parameters
  • Enhanced error messages with specific guidance for AI agents

Links

Support

License

Business Source License 1.1 - see LICENSE file for details

This project will transition to MIT License on 2035-05-04


MCP Badge

Built with ❤️ for the UniVoucher ecosystem | Visit UniVoucher.com