Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
targetYesTarget MCP server - either a command (e.g., 'node server.js') or URL (e.g., 'https://example.com/sse')
transportNoTransport type: 'stdio' for local commands, 'sse' for SSE URLs, 'http' for streamable HTTP
timeout_msNoTimeout in milliseconds (default: 60000)
prompt_nameYesName of the prompt to get
prompt_argsNoArguments to pass to the prompt template

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kongyo2/mcpdevmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server