prompts.chat MCP Server
Access thousands of AI prompts directly in your AI coding assistant
______________________________________________________________________
特性
- MCP提示 -通过MCP提示功能直接浏览和使用提示
- 搜索提示 -按关键字、类别或标签搜索AI提示
- 获取提示 -通过变量替换的ID检索提示详细信息
- 可变支持 -提示与
${variable}语法是自动处理的
🛠️ 安装
需求
- Node.js>=v18.0.0
- MCP兼容客户端(Cursor、Windsurf、VS Code、Claude Code等)
Install in Cursor
将此添加到您的Cursor MCP配置文件中(~/.cursor/mcp.json):
远程服务器(推荐)
{
"mcpServers": {
"prompts-chat": {
"url": "https://prompts.chat/api/mcp"
}
}
}本地服务器
{
"mcpServers": {
"prompts-chat": {
"command": "npx",
"args": ["-y", "@fkadev/prompts.chat-mcp"]
}
}
}Install in Windsurf
将此添加到您的Windsurf MCP配置文件中:
远程服务器(推荐)
{
"mcpServers": {
"prompts-chat": {
"serverUrl": "https://prompts.chat/api/mcp"
}
}
}本地服务器
{
"mcpServers": {
"prompts-chat": {
"command": "npx",
"args": ["-y", "@fkadev/prompts.chat-mcp"]
}
}
}Install in VS Code
将此添加到您的VS Code MCP设置中:
远程服务器(推荐)
"mcp": {
"servers": {
"prompts-chat": {
"type": "http",
"url": "https://prompts.chat/api/mcp"
}
}
}本地服务器
"mcp": {
"servers": {
"prompts-chat": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@fkadev/prompts.chat-mcp"]
}
}
}Install in Claude Code
远程服务器(推荐)
claude mcp add --transport http prompts-chat https://prompts.chat/api/mcp本地服务器
claude mcp add prompts-chat -- npx -y @fkadev/prompts.chat-mcpInstall in Zed
将此添加到您的Zed settings.json:
{
"context_servers": {
"prompts-chat": {
"command": {
"path": "npx",
"args": ["-y", "@fkadev/prompts.chat-mcp"]
}
}
}
}⚙️ 配置
本地服务器支持以下环境变量:
| 变量 | 描述 |
|---|---|
PROMPTS_API_KEY | 用于已验证请求的可选API密钥 |
PROMPTS_QUERY | 用于过滤提示的可选查询字符串(例如。, users=a,b&categories=c,d&tags=e,f) |
环境变量示例
{
"mcpServers": {
"prompts-chat": {
"command": "npx",
"args": ["-y", "@fkadev/prompts.chat-mcp"],
"env": {
"PROMPTS_API_KEY": "your-api-key",
"PROMPTS_QUERY": "users=username&categories=coding&tags=productivity"
}
}
}
}🔨 可用工具
| 工具 | 说明 |
|---|---|
search_prompts | 按关键字搜索AI提示。支持按类型、类别和标记进行筛选。 |
get_prompt | 按ID获取提示。支持使用模板变量对提示进行变量启发。 |
save_prompt | 将新提示保存到您的帐户。 需要 PROMPTS_API_KEY. |
📚 MCP提示
此服务器将prompts.chat中的所有公共提示作为MCP提示公开。使用 prompts/list 浏览可用提示和 prompts/get 通过变量替换来检索它们。
📖 示例用法
问你的AI助手:
Search for prompts about code reviewGet the prompt for "act as a linux terminal"🔗 链接
- prompts.chat -浏览所有提示
- API文档 -API参考
- -源代码存储库
📄 许可证
ISC
