mcpdev_inspector_get_prompt
Retrieve and render specific prompt templates from MCP servers by providing target server details, prompt name, and template arguments.
Instructions
Get a specific prompt from a target MCP server.
Use this to retrieve and render a prompt template with provided arguments.
Args:
target (string): Target MCP server - command or URL
transport ('stdio' | 'sse' | 'http'): Transport type
timeout_ms (number): Timeout in milliseconds (default: 60000)
prompt_name (string): Name of the prompt to get
prompt_args (object): Arguments to pass to the prompt template
Returns: The rendered prompt messages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target MCP server - either a command (e.g., 'node server.js') or URL (e.g., 'https://example.com/sse') | |
| transport | No | Transport type: 'stdio' for local commands, 'sse' for SSE URLs, 'http' for streamable HTTP | |
| timeout_ms | No | Timeout in milliseconds (default: 60000) | |
| prompt_name | Yes | Name of the prompt to get | |
| prompt_args | No | Arguments to pass to the prompt template |