Back to Home
nickcarndt icon

mcp-partner-integration-demo

Verified Safe

by nickcarndt

Overview

A Model Context Protocol (MCP) server designed for Vercel deployment, enabling AI agents (like ChatGPT) to interact with Shopify for product search and Stripe for creating checkout sessions and managing payments, facilitating natural language commerce workflows.

Installation

Run Command
npm run dev

Environment Variables

  • REDIS_URL
  • SHOPIFY_STORE_URL
  • SHOPIFY_SHOP
  • SHOPIFY_ACCESS_TOKEN
  • SHOPIFY_API_VERSION
  • STRIPE_SECRET_KEY
  • NEXT_PUBLIC_SITE_URL
  • NODE_ENV
  • MCP_SERVER_URL
  • ALLOWED_ORIGINS

Security Notes

The server demonstrates strong security practices including explicit warning against hardcoding secrets, reliance on environment variables for sensitive data (API keys, Redis URL), strict Zod validation for all tool inputs, proper CORS configuration with an allowlist (including ChatGPT origins), and the use of Helmet for security headers. Structured logging with Pino enhances auditability. Specific error handling for Redis connection issues prevents exposure of internal details. Idempotency key support for Stripe checkout operations mitigates duplicate actions. There is no 'eval' or obvious obfuscation. Potential areas for further enhancement could include explicit server-side rate limiting beyond what Vercel might offer by default, and more detailed input validation on environment variables themselves, but overall, it's a very well-secured application.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2025-12-23

Tags

MCPAI IntegrationE-commerceShopifyStripeVercel