Cover image
Try Now
2025-04-08

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

StylePilot MCP Server

基于Model Context Protocol (MCP)的风格模板服务,用于存储和提供各类内容风格模板,供大语言模型(LLM)通过MCP协议调用,以实现风格化输出。

功能特点

资源 (Resources)

  • 提供三种风格类别模板:文本风格、卡片风格、结构风格
  • 通过style:///{category}/{style_id}URI访问风格模板
  • 每个风格模板包含详细的多维度特征描述
  • 以JSON格式提供风格定义

工具 (Tools)

  • get_style - 获取特定风格模板
  • search_style - 通过关键词搜索风格模板
  • create_style - 创建新风格模板
  • update_style - 更新现有风格模板
  • delete_style - 删除风格模板
  • list_styles - 列出可用风格模板

提示 (Prompts)

  • apply_style - 应用风格模板生成内容
    • 指导LLM获取并应用风格模板生成内容
    • 支持多维度风格特征的应用

开发指南

安装依赖:

npm install

构建服务器:

npm run build

开发模式(自动重新构建):

npm run watch

安装与集成

要在支持MCP的LLM客户端(如Claude Desktop)中使用,添加服务器配置:

在Windows上: %APPDATA%/Claude/claude_desktop_config.json 在MacOS上: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "stylepilot": {
      "command": "/path/to/mcp-server-stylepilot/build/index.js"
    }
  }
}

调试

由于MCP服务器通过标准输入/输出流(stdio)通信,可以使用MCP Inspector进行调试:

npm run inspector

Inspector将提供一个URL,可在浏览器中访问调试工具。

使用流程

获取并应用风格模板

  1. 使用list_styles工具列出所有可用风格
  2. 或者使用search_style工具通过关键词搜索特定风格(例如搜索"卡片"或"散文")
  3. 使用get_style工具获取详细的风格模板定义
  4. 根据风格模板生成内容

创建新风格模板

  1. 定义风格模板各个维度的特征
  2. 使用create_style工具创建新风格
  3. 应用新创建的风格模板

数据存储

风格模板存储在本地JSON文件中:

  • data/text_styles.json - 文本风格
  • data/card_styles.json - 卡片风格
  • data/structure_styles.json - 结构风格

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • GeyserMC
  • 与Minecraft客户端/服务器通信的库。

  • modelcontextprotocol
  • 模型上下文协议服务器

  • awslabs
  • AWS MCP服务器 - 将AWS最佳实践直接带入您的开发工作流程的专门MCP服务器

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

    Reviews

    5 (1)
    Avatar
    user_ds7UBl2I
    2025-04-18

    I recently started using mcp-server-stylepilot and I'm thoroughly impressed. ChenyqThu has done a fantastic job creating this tool. The interface is user-friendly and efficient, making server management a breeze. The welcome message is inviting and sets a positive tone for new users. Highly recommended for anyone looking to streamline their server operations. Check it out at https://github.com/ChenyqThu/mcp-server-stylepilot!