Sponsored by Deepsite.site

Prompter Mcp Server

Created By
vines905 months ago
Content

AI Prompter MCP Server

一个功能完备的AI提示词管理MCP服务器,支持Secret-Key认证、提示词管理、公共广场访问等功能。

🚀 快速开始

安装

npm install -g aiprompter-mcp-server

基本配置

创建配置文件 ~/.aiprompter-mcp-config.json

{
  "api_url": "https://www.aiprompter.cc",
  "secret_key": "your-secret-key-here"
}

Cursor配置示例

~/.cursor/mcp.json 中添加:

{
  "mcp": {
    "servers": {
      "aiprompter": {
        "command": "npx",
        "args": ["aiprompter-mcp-server"],
        "env": {
          "PROMPT_MANAGER_API_URL": "https://www.aiprompter.cc",
          "SECRET_KEY": "your-secret-key"
        }
      }
    }
  }
}

Claude Desktop配置示例

claude_desktop_config.json 中添加:

{
  "mcpServers": {
    "aiprompter": {
      "command": "npx",
      "args": ["aiprompter-mcp-server"],
      "env": {
        "PROMPT_MANAGER_API_URL": "https://www.aiprompter.cc",
          "SECRET_KEY": "your-secret-key"
      }
    }
  }
}

🛠️ 功能特性

认证方式

  • Secret-Key认证:64位密钥,无需用户名密码
  • JWT Token认证:传统用户名密码方式

提示词管理

  • 创建提示词:支持分类、标签、公开/私有设置
  • 搜索提示词:关键词、分类、标签搜索
  • 更新提示词:完整CRUD操作,带版本记录
  • 删除提示词:级联删除相关数据

提示词库访问

  • 公共提示词广场:查看社区共享的提示词
  • 私有提示词库:个人专属提示词管理
  • 热门提示词:按热度排序的精选提示词

高级功能

  • Redis缓存:提升查询性能
  • 版本控制:每次更新自动生成版本记录
  • 响应式设计:适配桌面和移动端
  • 错误重试:网络异常自动重试

📋 可用工具

认证相关

  • auth_status - 检查当前认证状态
  • get_user_profile - 获取用户信息

提示词操作

  • get_prompts - 获取提示词列表(支持搜索、分页)
  • get_prompt_detail - 获取单个提示词详情
  • get_public_prompts - 获取公共提示词
  • get_trending_prompts - 获取热门提示词
  • add_prompt - 添加新提示词
  • update_prompt - 更新提示词
  • delete_prompt - 删除提示词

🔧 环境变量

变量名描述默认值
PROMPT_MANAGER_API_URLAPI服务器地址https://www.aiprompter.cc
SECRET_KEY64位Secret-Key认证必填
USER_TOKENJWT Token认证(可选)-
USERNAME用户名(JWT认证用)-
PASSWORD密码(JWT认证用)-

📦 安装方式

NPM安装(推荐)

npm install -g aiprompter-mcp-server

源码安装

git clone https://github.com/vines90/mcp-prompt-server.git
cd mcp-prompt-server
npm install
npm run build

🧪 测试

# 运行基础测试
npm test

# 运行生产环境测试
npm run test:production

# 验证配置
npm run verify-config

🔍 调试

日志级别

设置环境变量 LOG_LEVEL

  • debug:详细日志
  • info:基本信息
  • warn:警告信息
  • error:错误信息

示例调试命令

LOG_LEVEL=debug npx aiprompter-mcp-server

📄 服务配置示例

最小配置

{
  "command": "npx",
  "args": ["aiprompter-mcp-server"],
  "env": {
    "SECRET_KEY": "your-64-char-secret-key"
  }
}

完整配置

{
  "command": "npx",
  "args": ["aiprompter-mcp-server"],
  "env": {
    "PROMPT_MANAGER_API_URL": "https://www.aiprompter.cc",
    "SECRET_KEY": "your-secret-key",
    "LOG_LEVEL": "info",
    "MAX_PROMPT_TOOLS": "10"
  }
}

🎯 使用场景

个人用户

  • 管理个人AI提示词库
  • 发现和使用社区优质提示词
  • 跨设备同步提示词

团队用户

  • 共享团队提示词资源
  • 维护提示词版本历史
  • 权限管理和协作

开发者

  • 构建AI应用的基础提示词管理
  • 快速集成提示词功能
  • 提供标准化API接口

🤝 贡献指南

欢迎提交Issue和Pull Request!

开发流程

  1. Fork 项目
  2. 创建特性分支
  3. 提交更改
  4. 创建Pull Request

📞 支持与反馈

📄 许可证

MIT License

Server Config

{
  "mcpServers": {
    "aiprompter": {
      "command": "npx",
      "args": [
        "aiprompter-mcp-server"
      ],
      "env": {
        "PROMPT_MANAGER_API_URL": "https://www.aiprompter.cc",
        "SECRET_KEY": "your-secret-key"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
ChatWiseThe second fastest AI chatbot™
Tavily Mcp
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
WindsurfThe new purpose-built IDE to harness magic
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
CursorThe AI Code Editor
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Amap Maps高德地图官方 MCP Server
DeepChatYour AI Partner on Desktop
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Playwright McpPlaywright MCP server
Serper MCP ServerA Serper MCP Server