Token导航 LogoToken导航TokenDH.com
Refine Prompt logo
开发工具stdio官方级别未说明来源级核验

Refine Prompt

MCP Server

@modelcontextprotocol/inspector

Refine Prompt是一款智能提示词工程工具,可将普通提示词转化为适用于任何大语言模型(LLM)的强大结构化指令。

工具数

1

提示词数

0

GitHub Stars

3

资源数

0
开发工具JavaScriptClaude自然语言处理Claude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

FelippeFarias

提供方

FelippeFarias

最后核验

2026/5/17 20:20

运行时

Node.js

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

npx @modelcontextprotocol/inspector npm start

详细介绍

✨ Refine Prompt ✨

Transform ordinary prompts into powerful, structured instructions for any LLM

Installation • Getting Started • How It Works • Features • Examples • License

______________________________________________________________________

📋 概述

优化提示 是一种智能提示工程工具,可以将普通提示转换为任何大型语言模型(LLM)的强大、结构化指令。使用Claude的高级功能,它可以增强您的提示,在所有AI平台上产生出色的结果。

🔑 重要提示: 您的提示必须包含关键字“refine”以激活增强过程。 例子: "refine, Create a function that calculates the factorial of a number"

______________________________________________________________________

🚀 安装

📦 通过NPM

npm install refine-prompt

🛠️ 通过史密瑟里

您可以通过访问Smithery直接安装此MCP服务器: Smithery-精炼提示

📁 通过本地存储库

# Clone the repository
git clone https://github.com/felippefarias/refine-prompt.git
cd refine-prompt

# Install dependencies
npm install

______________________________________________________________________

🏁 入门指南

🔑 API密钥设置

Refine Prompt需要Anthropic API密钥才能访问Claude的高级功能:

export ANTHROPIC_API_KEY=your_anthropic_api_key

如果没有API键,该工具将显示一条错误消息。

⚙️ 运行服务器

npm start

或与MCP检查员联系:

npx @modelcontextprotocol/inspector npm start

______________________________________________________________________

🔧 工具:rewrite_prompt-精炼的力量

将你的想法转化为精心制作的提示。这个强大的工具分析您的输入,并生成专业设计的提示,最大限度地提高人工智能的理解和响应质量。

📝 参数

参数说明必填
prompt需要改进的原始提示(必须包含“refine”关键字)
language对于与代码相关的提示,请指定目标编程语言

📋 示例用法

For general prompts

{
  "name": "rewrite_prompt",
  "arguments": {
    "prompt": "refine, Summarize the main points of the article titled \"The Future of AI\""
  }
}

For code-related prompts

{
  "name": "rewrite_prompt",
  "arguments": {
    "prompt": "refine, Create a function to convert temperature between Celsius and Fahrenheit",
    "language": "typescript"
  }
}

______________________________________________________________________

🧠 运作原理

服务器使用Anthropic的Claude 3 Sonnet智能重写您的提示,以获得更好的结果。每个提示都必须包含关键字“refine”以触发增强过程。

它通过以下方式增强您的提示:

  1. 📐 添加清晰的结构和上下文
  2. 📝 明确要求和期望
  3. 🔍 包括特定领域的考虑因素
  4. 🌐 优化任何LLM理解

______________________________________________________________________

✨ 特性

特性描述
🤖 人工智能驱动的优化利用Claude 3.5 Sonnet的高级功能来转换您的提示
🔑 使用关键字激活只需在提示中包含“优化”即可触发增强
🌐 通用兼容性优化任何类型任务或域的提示
💻 特定代码智能在指定语言时为编程任务提供专门的增强功能
🔄 无缝集成与任何LLM驱动的应用程序或工作流完美配合
🎯 精准聚焦使用0.2温度设置,确保可靠、一致的输出质量
📊 结构清晰度添加逻辑组织、清晰说明和正确格式

______________________________________________________________________

⚙️ 配置

🖥️ 使用Claude Desktop

将此添加到您的 claude_desktop_config.json:

NPX

{
  "mcpServers": {
    "refine-prompt": {
      "command": "npx",
      "args": [
        "-y",
        "refine-prompt"
      ]
    }
  }
}

Local Installation

# Clone the repository
git clone https://github.com/felippefarias/refine-prompt.git
cd refine-prompt

# Install dependencies
npm install

# Run the server
node index.js

______________________________________________________________________

📊 例子

📝 一般提示增强

Input Arguments

refine, Summarize the main points of the article titled "The Future of AI"
{
  "prompt": "refine, Summarize the main points of the article titled \"The Future of AI\""
}

💻 代码相关提示增强

Input Arguments

refine, Create a function that sorts an array of objects by a specific property
{
  "prompt": "refine, Create a function that sorts an array of objects by a specific property",
  "language": "typescript"
}

该工具将重写两个提示,使其更加结构化和详细,以获得任何LLM的最佳结果。

______________________________________________________________________

🚀 提升你的人工智能互动

Refine Prompt弥合了人类思维和人工智能理解之间的差距。通过将自然语言指令转换为专业设计的提示,它可以帮助您释放任何语言模型的全部潜力。无论您是开发人员、内容创建者、研究人员还是人工智能爱好者,Refine Prompt都能让您更有效地与人工智能进行沟通。

______________________________________________________________________

📄 许可证

Refine Prompt根据MIT许可证获得许可。您可以根据MIT许可证的条款和条件自由使用、修改和分发软件。有关更多详细信息,请参阅项目存储库中的LICENSE文件。

目录标签

目录标签

开发工具JavaScriptClaude自然语言处理提示词优化本地部署AI工具LLM增强

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Node.js

部署方式(deploymentType,部署类型)

remote-capable

来源包(packageName,安装包名)

@modelcontextprotocol/inspector

工具数量(toolCount,工具数)

1

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiononeremote-capable

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP