mcp-prompts
v4.4.1Simple MCP server for managing AI prompts and agent configurations with direct claude CLI orchestration
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_prompts List prompts
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 `limit` prompts starting at `offset`; when has_more is true, call again with offset = next_offset. Use get_prompt for the content of one prompt.
| Parameter | Type | Description |
|---|---|---|
category | string | Return prompts of this category, e.g. "embedded" (list_categories shows them with sizes) |
isTemplate | boolean | true for templates only, false for plain prompts only |
limit | integer | Most prompts to return (1-50, default 20) |
offset | integer | Prompts to skip; use next_offset from the previous page |
search | string | Text to look for in the name, description or content (case-insensitive) |
tags | array | Return prompts carrying any of these tags |
get_prompt Get a prompt
Get one prompt by id, as JSON: its content, description, tags, and for a template the `variables` it needs. Fails with an error naming the id when no such prompt is served.
| Parameter | Type | Description |
|---|---|---|
id * | string | Prompt ID, as returned by list_prompts |
apply_template Fill a template
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 `missing`; a value the template does not use is named in `unused`. {{name^}} inserts the value with its first letter upper-cased.
| Parameter | Type | Description |
|---|---|---|
id * | string | ID of a template prompt |
variables | object | Values for the template variables, by name, e.g. {"module": "app"} |
list_categories List categories
List the prompt categories this server serves with the number of prompts and templates in each. Start here, then call list_prompts with a category to see only that part of the library.
get_stats Library statistics
Counts of prompts and templates, the tags and categories in use, and where changes are saved (`storage`: memory, file or postgres).
add_prompt Add a prompt
Add a new prompt. Set isTemplate and variables to make it a template that apply_template can fill. Give `id` to choose a stable id (it fails if the id is taken); otherwise a random one is assigned. The result says whether the prompt was saved to disk or is kept in memory only.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
name * | string | |
category | string | |
description | string | |
id | string | Stable id for the new prompt. Left out, the server assigns a random one. |
isTemplate | boolean | |
metadata | object | |
tags | array | |
variables | array |
update_prompt Update a prompt
Change fields of an existing prompt; fields left out of `updates` keep their value, and the version goes up. Replaces the previous values, which are not kept.
| Parameter | Type | Description |
|---|---|---|
id * | string | Prompt ID |
updates * | object | The fields to change; fields left out keep their value |
delete_prompt Delete a prompt
Delete a prompt by its id. This cannot be undone through the tools.
| Parameter | Type | Description |
|---|---|---|
id * | string | Prompt ID, as returned by list_prompts |