mcp.shop
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp.shoporder a medium blue t-shirt"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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)
Related MCP server: FakeStore MCP
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.tsClient 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
Clone the repository
Install dependencies:
pnpm installConfigure environment variables:
Copy
.env.exampleto.env.localand 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/callbackfor local development orhttps://<deployed-url>/callbackfor 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
Start the development server:
pnpm devThe application will be available at:
Website: http://localhost:3000
MCP Server:
/mcp
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
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Lemon Squeezy — stores, products, orders, subscriptions, license keys.
Hosted MCP server with managed OAuth for 15+ toolkits: Google Workspace, Fitbit, Oura, Kalshi, etc.
MCP server for Boson Protocol — on-chain agentic commerce for physical & digital goods.
- StytchOAuthdev.stytch.mcp
The Stytch MCP server is a reference implementation that demonstrates remote MCP server authentication and authorization using Stytch Connected Apps. It provides OAuth 2.1-compliant authorization (including PKCE), Dynamic Client Registration, and validates Stytch-issued access tokens to enable AI agents to securely interact with external services through permissioned access, supporting scopes like openid, email, profile, and manage:project_data.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn example MCP server that allows remote clients to connect and authenticate using WorkOS AuthKit, providing organization-centric authentication with permission-based access control for tools.2-
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with a complete e-commerce application, providing authentication, product browsing, and shopping cart management through standardized MCP tools.-
- FlicenseNot gradedqualityCmaintenanceEnables remote MCP server connections with WorkOS AuthKit authentication and user management. Supports organization-centric authentication and permission-based tool access control.-
- FlicenseNot gradedqualityDmaintenanceAn example MCP server that integrates WorkOS AuthKit to enable secure remote client authentication and organization-centric user management. It allows developers to control access to specific tools based on user permissions and roles within an organization.-