Fetch prompts, resources in mcp client node tool

Hi

I want to fetch the prompts and resources inside the mcp tool that configured, right now MCP client tool node is only fetching available tools inside the MCP server.

How should I fetch prompts and resources out of that MCP server

If you also want to fetch prompts and resources, you need to explicitly query those capabilities — they’re separate from listTools.

Here’s how it works conceptually:

  • listTools → returns all callable tools.

  • listPrompts → returns all prompts the server exposes.

  • listResources → returns all resources (files, APIs, data sources, etc.).

Thanks @Hafiz_usama,

can you tell me how we use that in inside the n8n.

There are two ways:

A. Using the same MCP node (if supported by your build)

  • Check if the MCP node in n8n allows selecting the method (listTools, listPrompts, listResources).

  • If yes, just switch the dropdown from listTools to listPrompts or listResources.

  • Then execute and you’ll see the array of prompts/resources.

B. If your MCP node doesn’t expose those methods

  • Use an HTTP Request node in n8n, pointing at the same MCP endpoint.

  • Manually call the MCP methods.

    {
    “method”: “listResources”,
    “params”: {}
    }

    Authentication is the same as you configured (Header Auth with your credential).

  • This way you’ll get back the JSON of prompts/resources.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.