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

mcp-server-nfc

v1.0.13

Published

MCP Server for NFC operations with test ping functionality

Readme

MCP NFC Server

A Model Context Protocol (MCP) server for NFC operations with product collection management, customer tracking, and Shopify integration.

🚀 Installation

# Install globally
npm install -g mcp-server-nfc

# Or install locally
npm install mcp-server-nfc

🛠️ Available Tools

1. ping - Connection Test

Test server connection and health status.

  • Parameters: None
  • Returns: "Pong!" if server is working

2. get_customer_information - Get Customer Data

Retrieve customer information and their product collections.

  • Parameters:
    • email (string) - Customer email address
  • Returns: Customer data with product collections

3. unpair_product_collection - Remove Product

Remove a product from customer's collection.

  • Parameters:
    • unique_code (string) - Unique code of the product
  • Returns: Confirmation of unpairing

4. add_customer_product_collection - Add Product Collection

Add a product to customer's collection.

  • Parameters:
    • slug (string) - Product slug
    • unique_code (string) - Unique code for the product
    • email (string) - Customer email
    • nfc_code (string) - NFC code
  • Returns: Success confirmation with product details

5. get_uturn_information - Get Uturn Data

Fetch data from Uturn API using NFC code.

  • Parameters:
    • nfc (string) - NFC code to query
  • Returns: Data from Uturn API

6. get_product_stories - Get Product Details

Retrieve detailed product information and stories.

  • Parameters:
    • slug (string) - Product slug
  • Returns: Complete product data including stories

7. get_product_detail - Get Basic Product Info

Get basic product information.

  • Parameters:
    • slug (string) - Product slug
  • Returns: Basic product title and information

🔧 Environment Configuration

Create a .env file with the following variables:

# Database Configuration
ATLAS_NAME=your_mongodb_username:password
ATLAS_ADDRESS=your_cluster.mongodb.net
ATLAS_COLLECTION=your_database_name

# API Configuration
UTURN_API=your_uturn_api
SHOPIFY_STOREFRONT_ACCESSTOKEN=your_shopify_token
SHOPIFY_STORE_DOMAIN=https://your-store.myshopify.com
SHOPIFY_API_VERSION=2024-10

# Security
KEY=your_encryption_key

📋 Claude Desktop Configuration

Add to your claude-desktop-config.json:

{
  "mcpServers": {
    "nfc-server": {
      "command": "npx",
      "args": ["mcp-server-nfc"],
      "env": {
        "ATLAS_NAME": "your_mongodb_username:password",
        "ATLAS_ADDRESS": "your_cluster.mongodb.net",
        "ATLAS_COLLECTION": "your_database_name",
        "UTURN_API": "uturn_api",
        "SHOPIFY_STOREFRONT_ACCESSTOKEN": "your_shopify_token",
        "SHOPIFY_STORE_DOMAIN": "https://your-store.myshopify.com",
        "SHOPIFY_API_VERSION": "2024-10",
        "KEY": "your_encryption_key"
      }
    }
  }
}

🎯 Usage Examples

Test Connection

# Test if server is running
ping

Get Customer Information

# Get customer data
get_customer_information email="[email protected]"

Add Product to Collection

# Add product to customer collection
add_customer_product_collection \
  slug="product-handle" \
  unique_code="UNIQUE123" \
  email="[email protected]" \
  nfc_code="NFC456"

Get Uturn Information

# Get data from Uturn API
get_uturn_information nfc="NFC456"

Get Product Details

# Get product information
get_product_stories slug="product-handle"

🔍 Key Features

  • Product Collection Management - Add/remove products from customer collections
  • Customer Data Retrieval - Get customer information and their products
  • NFC Integration - Work with NFC codes and external APIs
  • Shopify Integration - Fetch product data from Shopify storefront
  • Warranty Tracking - Automatic warranty expiration calculation
  • History Logging - Track product ownership history
  • Error Handling - Comprehensive error management and validation

📊 Tool Categories

| Category | Tools | | ------------------------- | -------------------------------------------------------------- | | Connection | ping | | Customer Management | get_customer_information | | Product Management | get_product_detail, get_product_stories | | Collection Management | add_customer_product_collection, unpair_product_collection | | External API | get_uturn_information |

🚀 Quick Start

  1. Install the package:

    npm install -g mcp-server-nfc
  2. Configure environment variables in your .env file

  3. Add to Claude Desktop configuration:

    {
      "mcpServers": {
        "nfc-server": {
          "command": "npx",
          "args": ["mcp-server-nfc"],
          "env": {
            /* your environment variables */
          }
        }
      }
    }
  4. Restart Claude Desktop to load the MCP server

📄 License

MIT License - see LICENSE file for details.

👨‍💻 Author

LaskarAntikode - GitHub


Built with ❤️ for NFC product management and customer tracking