MCP Get Prompt Node
Overview
The Model Context Protocol (MCP) enables communication with MCP-compliant servers through either HTTP or Stdio transports.
The MCP Get Prompt Node enables the ability to fetch a prompt from an MCP server using the prompts/get
request method. MCP Prompts.
For all communication purposes the MCP Get Prompt Node follows the precedent of the MCP Discovery Node.
Please refer to the MCP Discovery Node for all MCP communication configuration details.
This page is dedicated to MCP Get Prompt Node specific details only.
- Inputs
- Outputs
- Editor Settings
Inputs
Title | Data Type | Description | Default Value | Notes |
---|---|---|---|---|
Name | string | The name for the MCP Client instance | mcp-get-prompt-client | Standard required parameter for an MCP Client |
Version | string | The version for the MCP Client instance | 1.0.0 | Standard required parameter for an MCP Client |
Server URL (HTTP) | string | The endpoint URL for the MCP server | None | Only available when using HTTP mode with Server URL Input enabled |
Prompt Name | string | The name for the prompt to get from the server | None | The string should match the prompt name retrived from the server |
Prompt Arguments | object | The arguments for the prompt to get from the server | None | The arguments should be a JSON parsable and correct shape based on the MCP schema |
Outputs
Title | Data Type | Description | Notes |
---|---|---|---|
Prompt | object | MCP prompt returned by the MCP server | Returned from the prompts/get method. |
Editor Settings
Setting | Description | Default Value | Use Input Toggle | Input Data Type |
---|---|---|---|---|
Name | The name to use for the MCP Client instance | mcp-get-prompt-client | Yes | string |
Version | The version to use for the MCP Client instance | 1.0.0 | Yes | string |
Transport Type | The mode of communication with the MCP server (HTTP or STDIO) | STDIO | No | N/A |
Server URL | The endpoint URL for the MCP server (Only HTTP) | http://localhost:8080/mcp | Yes | string |
Server ID | The MCP server ID from configuration (Only STDIO) | (empty) | No | N/A |
Prompt Name | The name for the prompt to get | None | Yes | string |
Prompt Arguments | The arguments to supply to the prompt | { "key": "value", } | Yes | object |