Skip to main content
Glama

RT-Prompt-MCP

by yuyao1999

RT-Prompt-MCP

RT-Prompt-MCP 是一个基于 Model Context Protocol (MCP) 的服务器,专注于提供开发和设计相关的提示词补充建议。

功能特点

  • 提供特定领域的提示词补充,帮助 LLM 生成更符合要求的内容
  • 支持后端开发、前端开发和通用场景的提示词
  • 易于集成到支持 MCP 协议的客户端
  • 使用 TypeScript 开发,类型安全

安装

Installing via Smithery

To install rt-prompt-mcp-server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @yuyao1999/rt-prompt-mcp-server --client claude

Manual Installation

全局安装:

npm install -g rt-prompt-mcp

使用方法

作为命令行工具运行

安装后,直接运行:

rt-prompt-mcp

作为 MCP Server 与 MCP 客户端集成

在支持 MCP 协议的应用中(如 Claude Desktop)配置:

{ "mcpServers": { "rt-prompt-mcp": { "command": "rt-prompt-mcp", "args": [] } } }

工具说明

该 MCP Server 提供五个主要工具:

  1. get_backend_suggestions: 获取后端开发相关的提示词补充
    • context: 当前上下文或任务描述
    • databaseType: 数据库类型(如 MySQL、PostgreSQL 等)
    • language: 编程语言(如 Java、Python 等)
  2. get_frontend_suggestions: 获取前端开发相关的提示词补充
    • context: 当前上下文或任务描述
    • framework: 前端框架(如 React、Vue 等)
    • deviceType: 设备类型(如移动端、桌面端等)
  3. get_general_suggestions: 获取通用场景的提示词补充
    • context: 当前上下文或任务描述
    • taskType: 任务类型(如代码生成、文档生成等)
  4. get_ui_design_suggestions: 获取 UI 设计图转化相关的提示词补充
    • context: 当前上下文或任务描述
    • designType: 设计类型(如线框图、高保真原型图等)
    • platform: 平台类型(如 Web、iOS、Android 等)
  5. get_rt_crud_suggestions: 获取荣通后端标准 CRUD 开发规范提示词。
    • base_path (可选): Java/Kotlin 根包路径,例如 'com.example.myapp' 或 'cn.teamy'。如果提供,将替换提示中默认的 'cn.teamy'。请使用点分隔路径。
  6. get_feishu_prompt: 获取飞书相关的提示词
    • prompt_name: 提示词名称,如'UI 转化提示词'、'AI 生成 UI-3D 风格'等

示例

例如,要获取 MySQL 数据库设计的建议:

使用 get-backend-suggestions 工具,并提供以下参数: - context: "创建用户和订单的数据库表结构" - databaseType: "MySQL" - language: "SQL"

开发

前提条件

  • Node.js 16+
  • npm 或 yarn

本地开发

  1. 克隆仓库:
    git clone https://github.com/yourusername/rt-prompt-mcp.git cd rt-prompt-mcp
  2. 安装依赖:
    npm install
  3. 构建项目:
    npm run build
  4. 本地测试:
    npm start

许可证

MIT

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

A Model Context Protocol server that provides specialized prompt suggestions for backend development, frontend development, and general tasks to help LLMs generate better content.

  1. 功能特点
    1. 安装
      1. Installing via Smithery
      2. Manual Installation
    2. 使用方法
      1. 作为命令行工具运行
      2. 作为 MCP Server 与 MCP 客户端集成
    3. 工具说明
      1. 示例
        1. 开发
          1. 前提条件
          2. 本地开发
        2. 许可证

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.
            Last updated -
            12
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol Server that enables LLMs to interact with and execute REST API calls through natural language prompts, supporting GET/PUT/POST/PATCH operations on configured APIs.
            Last updated -
            5
            Python
            Apache 2.0
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.
            Last updated -
            TypeScript
            MIT License
            • Apple
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that fetches up-to-date, version-specific documentation and code examples from libraries directly into LLM prompts, helping developers get accurate answers without outdated or hallucinated information.
            Last updated -
            2
            51,054
            15,121
            JavaScript
            MIT License
            • Linux
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/yuyao1999/rt-prompt-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server