Provides a copywriter agent that processes UI text and automatically applies predefined copywriting rules to ensure brand consistency and quality across Sitecore user interfaces.
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., "@Sitecore Design MCPReview 'click here to continue' for a button label"
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.
Sitecore Design MCP - Copywriter Agent
A Model Context Protocol (MCP) server with a copywriter agent that enforces copywriting rules for UI text generation. Deployed on Vercel with HTTP transport support.
Overview
This MCP server provides a copywriter tool that processes UI copy text and automatically applies predefined copywriting rules. The agent is designed to be called whenever UI copy is generated or when users ask questions about UI text.
Features
Copywriter Agent: Automatically enforces copywriting rules on UI text
Modular Rules System: Easy-to-add rules configuration
HTTP Transport: Compatible with MCP HTTP client specification
Vercel Deployment: Pre-configured for seamless Vercel deployment
Type-Safe: Full TypeScript support with Zod validation
Project Structure
Setup
1. Install Dependencies
2. Add Your Copywriting Rules
Edit lib/copywriter/rules.ts to add your copywriting rules. Each rule is a function that takes a string and returns a processed string:
3. Local Development
The MCP server will be available at http://localhost:3000/api/mcp
4. Deploy to Vercel
Option A: Using Vercel CLI
Option B: Using Git Integration
Push your code to a Git repository (GitHub, GitLab, etc.)
Import the project in the Vercel dashboard
Vercel will automatically detect Next.js and deploy
Configuration
Environment Variables
Copy .env.example to .env and add any required environment variables:
Cursor Integration
To use this MCP server with Cursor, add the following to your Cursor MCP configuration:
Replace https://your-deployment.vercel.app with your actual Vercel deployment URL.
Usage
The copywriter tool is automatically available when the MCP server is connected. It can be called:
Automatically: When UI copy text is generated
Explicitly: When users ask questions about UI text
Tool Parameters
text(required): The text to process through copywriting rulescontext(optional): Context about where the copy will be used (e.g., "button label", "error message")
Example Tool Call
Adding Rules
To add new copywriting rules:
Open
lib/copywriter/rules.tsAdd your rule function to the
copywritingRulesarrayAdd corresponding metadata to
ruleMetadataarrayRules are applied in sequence, so order matters
Example rule:
Development
Scripts
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
License
MIT