MCP + Perplexity

Describe the problem/error/question

Failed to connect to MCP Server (Perplexity = GitHub - ppl-ai/modelcontextprotocol: A Model Context Protocol Server connector for Perplexity API, to enable web search without leaving the MCP ecosystem.)
using npx
-y @modelcontextprotocol/server-perplexity-ask
PERPLEXITY_API_KEY=mykey
If i use a HTTP node instead, with the cURL provided by Perplexity, it works

What is the error message (if any)?

Failed to connect to MCP Server; MCP error -32000

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @hsteph, since this is a community node, it might be better to report it to the creators of the node.

To do that, you can go the the GitHub repository here:

And create a new issue with all the details you can provide to the developers.
.

:point_right: If my reply answers your question, please remember to mark it as a solution.

Thanks Solomon, it makes sense !

1 Like

Update …
I did several things to make it work

  1. upgraded n8n to 1.85.4
  2. upgraded MCP node to 0.17
  3. installed npm install -g perplexity-mcp (I think this is not mandatory)
  4. changed -y @modelcontextprotocol/server-perplexity-ask by -y server-perplexity-ask

=> 4) was surely the main issue

3 Likes

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