- MCP Prompt Server
MCP Prompt Server
内容
MCP Prompt Server
基於 Model Context Protocol 的自定義提示詞服務器,專為 Claude Desktop 設計。
功能
- 提供多種預定義提示詞模板
- 可擴展的工具功能
- 與 Claude Desktop 無縫整合
安裝與配置
前提條件
- Node.js (>= 18)
- Claude Desktop 應用
安裝依賴
# 進入專案目錄
cd /Users/{your name}/opensource/mcp_prompt_server
# 安裝依賴
npm install
# 構建專案
npm run build
Claude Desktop 整合
在 Claude Desktop 配置文件中添加以下配置:
macOS:
編輯 ~/Library/Application\ Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"prompt-server": {
"command": "node",
"args": ["/Users/{your name}/opensource/mcp_prompt_server/dist/index.js"]
}
}
}
使用方法
- 啟動 Claude Desktop
- 開始新對話
- 點擊輸入框旁的迴紋針圖標
- 選擇 "Choose an integration" > "prompt-server"
- 選擇您想使用的提示詞模板
可用提示詞
- development: 獲取軟體開發任務的專業指導
- research: 獲取深入的研究分析
- analyze: 對內容進行全面分析
- code-review: 獲取專業的代碼審查反饋
可用工具
- format_code: 格式化代碼並提供語法高亮
- generate_prompt: 根據主題生成自定義提示詞
開發與擴展
添加新提示詞
- 在
src/prompts/目錄中添加新的提示詞定義檔案 - 在
src/prompts/index.ts中導入並註冊新提示詞 - 實現對應的提示詞渲染函數
添加新工具
- 在
src/tools/index.ts中添加新工具的定義 - 實現對應的工具處理函數
專案結構
mcp_prompt_server/
├── src/
│ ├── index.ts # 入口文件
│ ├── tools/ # 自定義工具實作
│ │ └── index.ts # 工具定義和處理邏輯
│ └── prompts/ # 提示詞模板
│ ├── index.ts # 提示詞處理邏輯
│ ├── development.js
│ ├── research.js
│ ├── analyze.js
│ └── code-review.js
├── package.json
├── tsconfig.json
├── .gitignore
└── README.md
許可證
MIT
推荐的 MCP Server
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Tavily Mcp
Playwright McpPlaywright MCP server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
DeepChatYour AI Partner on Desktop
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Amap Maps高德地图官方 MCP Server
Serper MCP ServerA Serper MCP Server
CursorThe AI Code Editor
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
WindsurfThe new purpose-built IDE to harness magic
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.
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.
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
ChatWiseThe second fastest AI chatbot™
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
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"