uGiftme MCP Server - Model Context Protocol Integration
Overview
The uGiftme MCP Server provides access to uGiftme’s gift card platform through the standard Model Context Protocol (MCP), allowing AI assistants and MCP clients to discover and purchase gift cards using natural language queries.Features
18 MCP Tools Available
Basic Search Tools (6)
find_gifts_by_country- Find gift products available in a specific countryfind_gifts_by_category- Find gift products in a specific categoryfind_gifts_in_price_range- Find gift products within a specific price rangefind_gifts_by_merchant- Find gift products from a specific merchantget_gift_details- Get detailed information about a specific gift productlist_gift_categories- Get a list of all available gift categories
Persona-Based Gift Discovery Tools (12)
find_gifts_for_runner- Perfect for runners and fitness enthusiastsfind_gifts_for_foodie- For food lovers and culinary enthusiastsfind_gifts_for_tech_enthusiast- For technology lovers and gadget enthusiastsfind_gifts_for_traveler- For travel enthusiasts and frequent flyersfind_gifts_for_artist- For creative individuals and artistsfind_gifts_for_parent- For parents and family-oriented individualsfind_gifts_for_professional- For business professionals and career-focused individualsfind_gifts_for_wellness_seeker- For health and wellness enthusiastsfind_gifts_for_student- For students and learnersfind_gifts_for_retiree- For retirees and seniorsfind_gifts_for_teenager- For teenagers and young adultsfind_gifts_for_pet_lover- For pet owners and animal lovers
Installation
Prerequisites
- Node.js 18+ installed
- uGiftme API key
Setup
-
Download the MCP Server
Download
mcp-server.jsfrom the uGiftme integration hub to any directory on your computer. -
Install Dependencies
-
Set Environment Variable
-
Test the Server
MCP Client Configuration
Claude Desktop Configuration
Add to your Claude Desktop configuration file: macOS:~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
Simple Configuration
Example Configuration
Other MCP Clients
For other MCP clients, use the same configuration pattern with the path to your downloadedmcp-server.js file.
Usage Examples
Basic Gift Search
Persona-Based Recommendations
Category-Specific Search
Merchant-Specific Search
Tool Parameters
Common Parameters
country_code(string, optional): Two-letter country code (e.g., “GB”, “US”, “FR”)price_range(string, optional): “budget”, “mid-range”, or “premium”
Persona-Specific Parameters
cuisine_type(foodie): “italian”, “asian”, “fine-dining”, “coffee”, “baking”tech_category(tech_enthusiast): “gaming”, “electronics”, “crypto”, “mobile”, “computing”travel_type(traveler): “business”, “leisure”, “adventure”, “luxury”art_medium(artist): “digital”, “traditional”, “music”, “writing”family_stage(parent): “new-parent”, “toddler”, “teenager”, “empty-nester”profession(professional): “executive”, “teacher”, “healthcare”, “finance”wellness_focus(wellness_seeker): “spa”, “fitness”, “mental-health”, “nutrition”study_field(student): “science”, “arts”, “business”, “technology”interests(retiree/teenager): Various interest keywordspet_type(pet_lover): “dog”, “cat”, “bird”, “fish”, “exotic”
Response Format
The MCP server returns formatted text responses with:- Product merchant name
- Product code
- Price range and currency
- Categories
- Available countries
- Redemption method
- Availability status
Error Handling
The server handles errors gracefully and returns informative error messages:- Invalid parameters
- API connection issues
- Product not found
- Authentication failures
HTTP API Integration
The MCP server also provides HTTP API endpoints for direct integration:List Available Tools
Get Tool Details
Execute Tool
Integration with Multi-Platform Hub
This MCP server leverages the same functionality as the multi-platform integration hub:- Uses the same
McpServiceandPlatformAPIService - Accesses the same real-time uGiftme product catalog
- Maintains consistency with other platform integrations (Zapier, Monday.com, etc.)
Troubleshooting
Common Issues
“Command not found: node”- Install Node.js from https://nodejs.org
- Run:
npm install @modelcontextprotocol/sdk
- Set your API key:
export UGIFTME_API_KEY="your-key"
- Make the file executable:
chmod +x mcp-server.js
- Check that your API key is valid and has proper permissions
Testing Your Installation
- Restart your MCP client (e.g., Claude Desktop)
- Ask a test question: “Find gift cards for runners in the UK”
- You should see: uGiftme tools working and returning real product data
Support
For issues or questions:- Check the main integration hub documentation
- Verify your API key is correct
- Ensure Node.js 18+ is installed
- Check the server logs for detailed error messages
- Contact: [email protected]