stylemcp
Provides a GitHub Action to validate copy in pull requests against brand rules.
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., "@stylemcpvalidate this text for brand voice: 'Click here to learn more'"
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.
StyleMCP
Executable brand rules for AI models and agents. Keep every AI-generated message on-brand.
What is StyleMCP?
StyleMCP validates and rewrites AI-generated text to match your brand voice. Use it as:
REST API - Validate text from any application
MCP Server - Direct integration with Claude and other AI agents
CLI - Check copy in your terminal or CI/CD
GitHub Action - Catch off-brand copy in pull requests
Related MCP server: tone-rewriter-ai-mcp
Quick Start
API
curl -X POST https://stylemcp.com/api/validate \
-H "Content-Type: application/json" \
-d '{"text": "Click here to learn more!"}'Response:
{
"valid": false,
"score": 65,
"violations": [
{
"rule": "no-click-here",
"severity": "error",
"message": "Avoid 'click here' - describe the destination instead",
"suggestion": "Learn more about our features"
}
]
}CLI
# Install
npm install -g stylemcp
# Validate text
stylemcp validate "Click here to learn more"
# Validate file
stylemcp validate src/copy/homepage.json --pack saas
# Rewrite text
stylemcp rewrite "Please utilize our product" --mode aggressiveMCP (Claude Desktop)
Add to your claude_desktop_config.json:
{
"mcpServers": {
"stylemcp": {
"command": "npx",
"args": ["stylemcp"]
}
}
}Now Claude can validate and rewrite text using your brand rules.
API Endpoints
Method | Endpoint | Description |
POST |
| Validate text against brand rules |
POST |
| Rewrite text to match brand voice |
POST |
| Validate multiple texts |
GET |
| List available style packs |
GET |
| Get voice guidelines |
GET |
| Get CTA rules |
GET |
| MCP SSE endpoint |
POST |
| MCP tool calls |
Style Packs
StyleMCP uses style packs - YAML files that define your brand rules.
Available Packs
Pack | Best For | Key Features |
| B2B SaaS products | Professional, clear, helpful tone |
| DTC & retail brands | Friendly, conversion-focused, no pushy CTAs |
| Medical & wellness | Compliant language, no cure claims, person-first |
| Fintech & banking | Precise, risk-aware, no guaranteed returns |
Example: saas Pack
Vocabulary: Prefer "use" over "utilize", "help" over "assist"
Forbidden words: "synergy", "leverage", "cutting-edge", "game-changing"
Patterns to avoid: "click here", "we're sorry for any inconvenience"
CTA rules: Avoid "Submit", "Click here", "OK" - prefer "Save", "Create", "Sign up"
Pack Structure
packs/
my-brand/
manifest.yaml # Pack metadata
voice.yaml # Tone, vocabulary, forbidden words
copy_patterns.yaml # Reusable copy templates
cta_rules.yaml # Button/CTA guidelines
tokens.json # Design tokens (optional)Create Your Own Pack
# Copy the default pack
cp -r packs/saas packs/my-brand
# Edit the rules
nano packs/my-brand/voice.yaml
# Use your pack
curl -X POST https://stylemcp.com/api/validate \
-d '{"text": "Your text", "pack": "my-brand"}'voice.yaml Example
tone:
summary: "Friendly, clear, and helpful"
attributes:
- name: friendly
weight: 0.8
- name: professional
weight: 0.7
vocabulary:
rules:
- preferred: "use"
avoid: ["utilize", "leverage"]
- preferred: "help"
avoid: ["assist", "facilitate"]
forbidden:
- "synergy"
- "paradigm shift"
- "game-changing"
doNot:
- pattern: "click here"
reason: "Poor accessibility"
suggestion: "Describe the destination"
severity: error
- pattern: "\\b(obviously|simply|just)\\b"
isRegex: true
reason: "Can make users feel stupid"
severity: warningSelf-Hosting
Docker
# Clone the repo
git clone https://github.com/3DUNLMTD/stylemcp.git
cd stylemcp
# Set up environment
echo "STYLEMCP_API_KEY=$(openssl rand -hex 32)" > .env
# Run with Docker
docker compose up -d
# Check health
curl http://localhost:3000/healthManual
# Install dependencies
npm install
# Build
npm run build
# Start server
npm startGitHub Actions
name: Brand Check
on: [pull_request]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate copy
run: |
npx stylemcp validate src/copy/*.json \
--min-score 80 \
--format githubEnvironment Variables
Variable | Description | Default |
| Server port | 3000 |
| API key for authentication | (none) |
| GitHub webhook secret | (none) |
MCP Tools
When used as an MCP server, StyleMCP provides these tools:
Tool | Description |
| Validate text against brand rules |
| Rewrite text to match brand voice |
| Get voice and tone guidelines |
| Get approved copy patterns |
| Get CTA guidelines |
| Get design tokens |
| List available style packs |
What Gets Validated?
The saas pack checks for:
Vocabulary
Use simple words: "use" not "utilize", "help" not "assist"
Avoid jargon: "synergy", "leverage", "paradigm shift"
Avoid weak intensifiers: "very", "really", "extremely"
Patterns
No "click here" (accessibility issue)
No "we're sorry for any inconvenience" (corporate non-apology)
No double "please" (sounds desperate)
No starting with "Sorry" (lead with solutions)
CTAs
Avoid generic: "Submit", "OK", "Yes/No", "Click here"
Use specific actions: "Save", "Create", "Sign up", "Export"
Max 4 words
Constraints
Max 25 words per sentence
No exclamation marks (in most contexts)
First-person plural ("we", "our")
Oxford comma
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Rewrite AI-generated text so it reads as human, in a persona's voice.
AI humanizer for MCP clients. Rewrites AI text so it reads naturally and sounds human.
Score and rewrite AI-assisted prose while preserving names, numbers, quotes, links, and facts.
Brivvy MCP (OAuth): on-brand AI content, voice rules, templates, glossary.
Related MCP Servers
- AlicenseCqualityDmaintenanceHelps refine AI-generated content to sound more natural and human-like. Built with advanced AI detection and text enhancement capabilities.126 npm59MIT
- AlicenseNot gradedqualityBmaintenanceAnalyzes and rewrites text to match desired tones (professional, casual, formal, etc.) via MCP protocol, with EU AI Act compliance.5 npm61 PyPIMIT

perf-mcpofficial
AlicenseAqualityDmaintenanceFact-checks and fixes AI outputs by catching hallucinations, repairing broken JSON, and correcting errors before they reach users, with tools for verification, validation, and correction.437 npmMIT- AlicenseNot gradedqualityAmaintenanceEnforces brand writing guidelines in Claude Code by analyzing Markdown files for violations and offering on-demand readability analysis and automated term fixes through MCP tools.26 npmMIT