Skip to content

feat(mcp): serve prompt templates (prompts/list) - #98

Merged
buzz-code merged 1 commit into
mainfrom
claude/mcp-prompts
Nov 10, 2026
Merged

buzz-code merged 1 commit into
mainfrom
claude/mcp-prompts

Conversation

@buzz-code

Copy link
Copy Markdown
Owner

Requested by הדסה · project thread

Summary

  • New McpPrompt type (name, title, description, zod argsSchema, build(args)).
  • BaseNraAppModule.forRoot({ mcpPrompts }) passes them to McpModule; the controller registers them on each per-request server with registerPrompt, so clients see them in prompts/list / prompts/get.
  • Purely additive: apps without mcpPrompts are unchanged. No CONSUMER_CHANGES row.

First consumer: buzz-code/dnd-management-nra (pronunciation / game-check prompts).

Test plan

  • shared/mcp specs, plus a new test that lists a prompt and gets its built message
  • Full dnd-management-nra server suite with this commit pinned (1214 passing)

Generated by Claude Code

Apps pass mcpPrompts to BaseNraAppModule; each prompt is registered on
the per-request MCP server and builds its user message from string args.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GTicq9BSVHiy8zRPZEAku
@buzz-code buzz-code self-assigned this Nov 10, 2026
@buzz-code
buzz-code merged commit 44660ba into main Nov 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants