mcp-partner-integration-demo
Verified Safeby 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
npm run devEnvironment 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
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
MCP-Council
Automates the conversion of REST APIs into AI-powered MCP (Model Context Protocol) servers, enabling seamless integration of APIs with AI assistants.
MCP-Server
A TCP server exposing various system interaction tools for an AI system (LLM) to consume via a structured JSON-based protocol.
BoostHub
An MCP (Model Context Protocol) server designed to boost developer productivity by offering AI-driven code review prompts, code rule generation, and utility tools for integration with clients like Cursor.