MCP Prompts Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Logging level for the server | info |
| PROMPTS_DIR | No | Directory to store prompts when using file storage | ./prompts |
| SERVER_NAME | No | Name of the MCP server | mcp-prompts |
| STORAGE_TYPE | No | The type of storage to use | file |
| SERVER_VERSION | No | Version of the MCP server | 1.0.0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Prompt library. This server exposes tools only (no MCP prompts capability), so prompts are not slash commands.
Using a template:
list_prompts with the most specific tag you know. Tags match any of the ones given, so a broad tag also returns unrelated prompts. It returns up to
limitprompts (default 50); when has_more is true, call it again with offset set to next_offset.get_prompt with the id. The result is JSON; its
variablesarray names every value the template needs.apply_template with the id and a value for every variable. Plain {{name}} replacement: a variable you leave out stays as a literal {{name}}.
apply_template names the variables it could not fill (
missing); use the text only when that list is empty.
Persistence: add_prompt, update_prompt and delete_prompt change memory only and are lost when the server restarts. Give add_prompt an id to choose a stable one; otherwise it assigns a random id. A prompt that must last is a JSON file under data/prompts/ with a stable id, added by pull request.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_promptsA | List the prompts this server serves, as summaries (id, name, description, tags, isTemplate, category, version, language). Filter with tags (any match), category, isTemplate and search (name, description and content). Returns up to |
| get_promptA | Get one prompt by id, as JSON: its content, description, tags, and for a template the |
| apply_templateA | Fill a template prompt's {{variables}} and return the resulting text. Only prompts with isTemplate true can be applied. A placeholder with no value stays in the text as written and is named in |
| get_statsB | Counts of prompts and templates, the tags and categories in use, and whether changes are saved to disk ( |
| add_promptA | Add a new prompt. Set isTemplate and variables to make it a template that apply_template can fill. Give |
| update_promptA | Change fields of an existing prompt; fields left out of |
| delete_promptA | Delete a prompt by its id. This cannot be undone through the tools. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool has a clearly distinct role: listing, fetching, applying templates, stats, and CRUD operations on prompts. There is no overlap between creating, updating, deleting, or retrieving prompts.
All tool names follow a consistent snake_case verb_noun pattern: list_prompts, get_prompt, apply_template, get_stats, add_prompt, update_prompt, delete_prompt. The convention is predictable throughout.
Seven tools is well-scoped for a prompt management server, covering listing, retrieval, template application, stats, and full CRUD without excess. Each tool earns its place.
The surface covers the full prompt lifecycle: list, get, create, update, delete, apply templates, and inspect stats. No obvious operational gaps exist for the stated domain.