npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rt-prompt-mcp

v1.2.0

Published

MCP Server for prompt engineering suggestions

Readme

RT-Prompt-MCP

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

功能特点

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

安装

全局安装:

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