Skip to main content
Glama
charliemday

Pretty Prompt MCP Server

by charliemday

Pretty Prompt MCP 服务器

MCP 服务器,将您的 Pretty Prompt 库和提示词改进器暴露给 Cursor、Claude Desktop 及其他 MCP 客户端。

工具

工具

描述

list_library_prompts

列出库中已保存的提示词

save_to_library

将提示词保存到库中

list_library_folders

列出库中的文件夹

create_library_folder

创建一个文件夹(可选择嵌套在父文件夹下)

rename_library_folder

重命名现有文件夹

move_prompt_to_folder

将提示词移动到文件夹中(或移至根目录)

improve_prompt

改进/优化提示词(消耗您的 Pretty Prompt 额度)

Related MCP server: prompts.chat MCP Server

设置

1. 生成 API 密钥

前往 pretty-prompt.com/settings/mcp 创建一个 API 密钥。

2. 构建

npm install
npm run build

3. 配置 Cursor

添加到您的 Cursor MCP 配置(~/.cursor/mcp.json 或项目中的 .cursor/mcp.json):

{
  "mcpServers": {
    "pretty-prompt": {
      "command": "npx",
      "args": ["-y", "@pretty-prompt/mcp@latest"],
      "env": {
        "PRETTY_PROMPT_API_KEY": "pp_mcp_..."
      }
    }
  }
}

对于本地开发,覆盖生产默认值:

"env": {
  "PRETTY_PROMPT_API_KEY": "pp_mcp_...",
  "PRETTY_PROMPT_BACKEND_URL": "http://0.0.0.0:8000",
  "PRETTY_PROMPT_SUPABASE_URL": "http://127.0.0.1:54321",
  "PRETTY_PROMPT_SUPABASE_ANON_KEY": "your-local-anon-key"
}

环境变量

变量

必需

默认值

描述

PRETTY_PROMPT_API_KEY

来自设置的 API 密钥(pp_mcp_...

PRETTY_PROMPT_BACKEND_URL

https://production.pretty-prompt.com

FastAPI 后端 URL

PRETTY_PROMPT_SUPABASE_URL

https://api.pretty-prompt.com

Supabase 项目 URL

PRETTY_PROMPT_SUPABASE_ANON_KEY

生产环境匿名密钥

Supabase 匿名密钥

PRETTY_PROMPT_ANALYTICS

已启用

设置为 false 以禁用 PostHog 分析

PRETTY_PROMPT_POSTHOG_KEY

生产环境 PostHog 密钥

覆盖 PostHog 项目密钥

分析

MCP 服务器会发送 PostHog 事件(即发即忘),包括:

事件

触发时机

mcp_server_started

每次服务器进程启动并完成身份验证时

mcp_first_connected

该机器上某个 API 密钥首次成功连接时

mcp_tool_called

每次工具调用时(名称、成功与否、耗时、经过处理的参数)

事件会关联到 MCP 访问令牌对应的用户邮箱。提示词文本永远不会被发送——仅发送长度和标志位。

通过 PRETTY_PROMPT_ANALYTICS=false 在本地禁用。

覆盖环境变量以指向本地服务:

PRETTY_PROMPT_BACKEND_URL=http://0.0.0.0:8000
PRETTY_PROMPT_SUPABASE_URL=http://127.0.0.1:54321

确保后端已设置 SUPABASE_JWT_SECRET 并应用了 mcp_api_keys 迁移。

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Provides access to thousands of AI prompts from prompts.chat, enabling users to search, browse, and use community-curated prompts with variable substitution directly in their AI coding assistant.
    2
    178
    33
    ISC
  • A
    license
    A
    quality
    D
    maintenance
    Allows users to save, organize, and manage AI prompts, folders, and tags directly within MCP-compatible tools like Claude and Cursor. It supports version history tracking, prompt searching, and the ability to save public templates to a personal collection.
    20
    23
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables users to organize, search, and manage a shared library of prompts across AI tools via the Model Context Protocol. It supports hierarchical folder organization, tagging, and template variable substitution for dynamic prompt generation.
    MIT

View all related MCP servers

Related MCP Connectors

  • Read and write your Fresh Jots notes from Claude, Cursor, and any MCP client.

  • @latest documentation and code examples to 9000+ libraries for LLMs and AI code editors in a singl…

  • Read, edit, publish, and preview your pepita websites from Claude.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/charliemday/pretty-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server