
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
Executable brand rules for AI models and agents. Keep every AI-generated message on-brand.
StyleMCP validates and rewrites AI-generated text to match your brand voice. Use it as:
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,
"issues": [
{
"rule": "no-click-here",
"message": "Avoid 'click here' - describe the destination instead",
"suggestion": "Learn more about our features"
}
]
}
# 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 aggressive
Add to your claude_desktop_config.json:
{
"mcpServers": {
"stylemcp": {
"command": "npx",
"args": ["stylemcp"]
}
}
}
Now Claude can validate and rewrite text using your brand rules.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/validate | Validate text against brand rules |
| POST | /api/rewrite | Rewrite text to match brand voice |
| POST | /api/validate/batch | Validate multiple texts |
| GET | /api/packs | List available style packs |
| GET | /api/packs/{pack}/voice | Get voice guidelines |
| GET | /api/packs/{pack}/ctas | Get CTA rules |
| GET | /api/mcp/sse | MCP SSE endpoint |
| POST | /api/mcp/call | MCP tool calls |
StyleMCP uses style packs - YAML files that define your brand rules.
saasThe included saas pack is designed for B2B SaaS products:
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)
# 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"}'
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: warning
# Clone the repo
git clone https://github.com/stylemcp/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/health
# Install dependencies
npm install
# Build
npm run build
# Start server
npm start
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 github
| Variable | Description | Default |
|---|---|---|
PORT | Server port | 3000 |
STYLEMCP_API_KEY | API key for authentication | (none) |
GITHUB_WEBHOOK_SECRET | GitHub webhook secret | (none) |
When used as an MCP server, StyleMCP provides these tools:
| Tool | Description |
|---|---|
validate_text | Validate text against brand rules |
rewrite_to_style | Rewrite text to match brand voice |
get_voice_rules | Get voice and tone guidelines |
get_copy_patterns | Get approved copy patterns |
get_cta_rules | Get CTA guidelines |
get_tokens | Get design tokens |
list_packs | List available style packs |
The saas pack checks for:
MIT
FAQs
Executable brand rules for models and agents. Brand CI for AI output.
The npm package stylemcp receives a total of 78 weekly downloads. As such, stylemcp popularity was classified as not popular.
We found that stylemcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.