mcp.shop
mcp.shop storefront/app for MCP Night
Documentation
mcp.shop
The world's first MCP-based web shop, built with WorkOS AuthKit and Next.js mcp-adaptor.
• • • •
Overview
This project demonstrates how to use AuthKit with MCP to create a secure web shop where users can:
- Connect to an MCP server
- Authenticate via AuthKit
- Order t-shirts using MCP tools
- View order details (admin users only)
Architecture
The application is built on:
- Next.js B2B Starter Kit for the website
- Vercel MCP Adapter for MCP integration
- WorkOS AuthKit with MCP for authentication
Key components:
- Authentication logic: `lib/with-authkit.ts`
- Client registration: `app/.well-known/`
- MCP implementation: `app/[transport]/route.ts`
Prerequisites
- Node.js (latest LTS version recommended)
- WorkOS account with AuthKit configured
- Redis service (e.g., Upstash)
Setup
1. Clone the repository
2. Install dependencies:
pnpm install3. Configure environment variables:
Copy `.env.example` to `.env.local` and set each environment variable appropriately.
> Note:
>
> - You can find your WorkOS credentials in the WorkOS dashboard.
> - Make sure to set your redirect URI (`http://localhost:3000/callback` for local development or `https:///callback` for production) in the dashboard.
> - Make sure you have enabled Dynamic Client Registration on the dashboard. It should be under Developer -> Application -> Configuration page on the dashboard
4. Start the development server:
pnpm devThe application will be available at:
Connecting to MCP
To connect your chat client to the development server, add the following configuration to your MCP config file (e.g., `.cursor/mcp.json`):
{
"mcpServers": {
"mcp.shop": {
"command": "npx",
"args": ["-y", "mcp-remote", "http://localhost:3000/mcp"]
}
}
}Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
Frequently asked questions
What is mcp.shop?
mcp.shop is mcp.shop storefront/app for MCP Night
How do I install mcp.shop?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp.shop open source?
Yes — it is hosted on GitHub at https://github.com/workos/mcp.shop and has 106 stars.
Related MCP tools
Model Context Protocol Servers
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you
MCP server to provide Figma layout information to AI coding agents like Cursor
The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Instant is the best backend for AI-coded apps. You get auth, permissions, storage, presence, and streams — everything you need to ship apps your users will love.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP