claude-ai-mcp-demo
Provides tools for managing content and theme settings in a Payload CMS instance, including bulk create/update operations on products and planned support for site settings and page sections.
Click on "Install 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., "@claude-ai-mcp-demoRebrand as a vintage record shop with retro palette and 10 vinyl products"
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.
claude ai mcp demo
Pop-up shop in a box. A themeable micro-storefront that Claude can rebrand and restock end-to-end through MCP — same site, swappable identity. "Make this an artisanal coffee roaster" → palette, fonts, hero, and product list all flip live. Then "actually, make it a vintage record store" → it flips again.
Built to show, at internal demos like Digital AI Sharing, that an MCP server can drive a website's content AND its look-and-feel — not just CRUD a row in a CMS.
What it shows
Content control — Products collection exposed over the official
@payloadcms/plugin-mcp, plus bulk tools (createManyProducts,updateManyProducts) with per-item transactions and partial success.Look-and-feel control (planned, see Status) —
SiteSettingsfor theme tokens (palette, typography, brand) andPages/Sectionsfor hero/featured/footer blocks — all writable over MCP.Safety rails — every MCP write lands as a draft (
forceDraftForMcpWriteshook) so a human can review before publish. MCP identity is a non-adminmcp-agentsrow, not a human admin.Two connection paths — paste a static API key (Claude Code,
mcp-remote) OR connect via OAuth from Claude.ai web (WorkOS AuthKit as the authorization server).
Status
Capability | State |
| ✅ working |
Bulk create/update tools with draft-on-write | ✅ working |
| ✅ working |
Themeable storefront frontend | 🚧 placeholder page only |
| 🚧 not yet |
| 🚧 not yet |
WorkOS OAuth for Claude.ai web | 🚧 env scaffolded, wiring WIP |
The themeable frontend and the site-config collections are the next chunk of work — that's the headline demo moment.
Setup
docker compose up -d # local Postgres on :5432
pnpm install
cp .env.example .env.local
# fill in PAYLOAD_SECRET — `openssl rand -hex 32`
# (WorkOS vars only needed for the Claude.ai web OAuth path)
pnpm devOpen http://localhost:3000/admin, create the first admin, then:
Create an
mcp-agentsrow (admin → MCP Agents).Create an MCP API key (admin → MCP API Keys) bound to that agent.
Tick the
createManyProducts/updateManyProductscheckboxes on the API-key row (custom tools are off-by-default).Connect from an MCP client to
http://localhost:3000/api/mcpwith the API key as a bearer token.
Migrating from the older
mcp-products-demosetup? The DB was renamed (mcp_products_demo→claude_ai_mcp_demo). Rundocker compose down -vto nuke the old volume, thendocker compose up -dfor a fresh DB.
The demo moment (target)
Once the themeable frontend lands, the showcase prompt is something like:
"Rebrand this site as Ember & Oat, a small-batch coffee roaster. Warm earth-tone palette, serif headings, friendlier copy. Replace the products with 5 single-origin beans, prices $18–24, with tasting-note descriptions."
Claude calls a handful of MCP tools (update SiteSettings, replace Sections, bulk-create Products), the dev server picks up the drafts on next reload, the site is a coffee shop. Re-prompt with a different niche → it's something else.
Stack
Next.js 16 (App Router) + React 19
Payload CMS 3.85 with Postgres adapter
@payloadcms/plugin-mcp— Streamable HTTP at/api/mcpWorkOS AuthKit (optional) — OAuth authorization server for Claude.ai web connections
pnpm + Docker Compose for local Postgres
Layout
app/
(frontend)/ # public site — themeable storefront (WIP)
(payload)/ # admin UI + /api/mcp endpoint
collections/ # Admins, MCPAgents, Products (+ SiteSettings/Pages soon)
lib/
mcp-tools.ts # createManyProducts, updateManyProducts
categories.ts
payload.config.ts # plugin wiring, MCP_ENABLED kill switchThis server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ryanfangk/claude-ai-mcp-demo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server