Prompt template

MCP Python SDK Code Review Prompt

A minimal reusable MCP prompt that turns supplied source code into a code-review request.

About this listing

The Python SDK Code Helper tutorial defines a review_code prompt accepting a code string. It builds a review request containing that supplied code, giving MCP clients a small reusable starting point for review-oriented conversations. It does not inspect a repository, execute code, or perform the review itself; a connected model must respond to the resulting prompt. This makes the example useful for learning prompt registration and argument handling without adding repository access. The SDK code is MIT licensed and free to use; model API usage and any separately chosen hosting remain outside that licence and may cost money.

Source: Visionary Junction · Reuse terms