
Stylemcp
io.github.3DUNLMTD由 GitHub 账号 3DUNLMTD 发布v0.1.4更新于 Oct 24, 2026
Brand rules for AI outputs. Validate and rewrite text to match your brand voice.
概览
按品牌风格包校验并改写 AI 生成的文本,让助手能检查文案、修正语气并读取品牌规则。
- 可以做什么
- 按品牌风格包校验文本,返回评分与违规项
- 按品牌语气改写文本
- 读取风格包背后的规则:语气与语调指南、已批准的文案模式、CTA 规则和设计令牌
- 列出可用的风格包(如 saas、ecommerce、healthcare、finance)
- 适用场景
- 适合在助手撰写营销、产品或界面文案时,对每条输出按既定品牌语气进行检查或改写;也适合让模型在写作过程中随时查阅品牌规则。
- 运行要求
- 以 stdio 方式在本机运行,通常通过 npx stylemcp 启动,需要 Node.js。README 还介绍了托管 REST API 以及用 Docker 或 npm 自托管的方式,其中涉及 PORT、STYLEMCP_API_KEY 和 GITHUB_WEBHOOK_SECRET。MCP 服务器本身未声明任何凭据。
安装
在 SourceWeft 中
- 打开 控制台中的 Stylemcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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
Quick Start
API
Response:
CLI
MCP (Claude Desktop)
Add to your claude_desktop_config.json:
Now Claude can validate and rewrite text using your brand rules.
API Endpoints
Style Packs
StyleMCP uses style packs - YAML files that define your brand rules.
Available Packs
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
Create Your Own Pack
voice.yaml Example
Self-Hosting
Docker
Manual
GitHub Actions
Environment Variables
MCP Tools
When used as an MCP server, StyleMCP provides these tools:
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
来源:README.md,提交 fb5ea98
工具
0版本历史
1- v0.1.4最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。