Skip to content

Conversation

@starfish719
Copy link
Contributor

@starfish719 starfish719 commented Oct 22, 2025

Motivation and Context

  • Add example demonstrating how to register a prompt that uses the addition tool, showing the argsSchema pattern with Zod and prompt message structure.

How Has This Been Tested?

  • no test required.

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

@starfish719 starfish719 requested a review from a team as a code owner October 22, 2025 21:56
@starfish719 starfish719 force-pushed the add-register-prompt-to-sample-at-readme branch from b8cc661 to 01da45c Compare November 4, 2025 03:14
starfish719 and others added 2 commits November 11, 2025 16:46
Add example demonstrating how to register a prompt that uses the addition tool, showing the argsSchema pattern with Zod and prompt message structure.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Remove trailing commas from the registerPrompt code example in README
to follow consistent code style formatting.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@starfish719 starfish719 force-pushed the add-register-prompt-to-sample-at-readme branch from 01da45c to f85d247 Compare November 11, 2025 07:46
@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 11, 2025

Open in StackBlitz

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/sdk@1038

commit: f85d247

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.

1 participant