Skip to content

n8n

@protogrid/n8n-nodes-protogrid is an n8n community node for the protogrid registry. It finds MCP servers by what they do, checks a server against rules you set, and gives you the connection to put in n8n’s own MCP Client Tool. It works as a regular node and as a tool for the AI Agent. MIT licensed, tested with n8n 2.49.

In n8n, open Settings > Community Nodes, select Install and enter:

@protogrid/n8n-nodes-protogrid

The node is published with provenance from the public sdk repository.

Operation What it outputs
Search One item per server, best match first: its name, connection class, quality and trust scores, flags and the tools that matched.
Check Against Rules Whether one server passes your rules, with every rule it breaks and the hash of the tool set protogrid checked.
Get Connection endpointUrl, serverTransport and headers for the MCP Client Tool, and the secrets the server needs.

Search and Check Against Rules share the rules:

  • Connection Classes: R0, R1 and R2 by default. R2 servers need the MCP Client Tool’s MCP OAuth2 sign-in. Local packages (L0) are left out, because the MCP Client Tool connects to remote servers only.
  • Exclude Servers Flagged For: known vulnerabilities, hidden text and tool poisoning by default, and an outdated MCP SDK if you add it.
  • Exclude Servers That Charge Per Call: on by default, since servers that charge per call need an x402 wallet. Before 0.1.1 this was an option that applied only once added.
  • Options: minimum quality score, minimum trust score and owner verified only.

A workflow of three Protogrid nodes finds a server, checks it and returns its connection:

  1. Search with the query, such as send an email.
  2. Check Against Rules with Server Name {{ $json.name }}.
  3. Get Connection with Server Name {{ $json.server }}.

Set the MCP Client Tool’s Endpoint, Server Transport and, for an R1 server, a Header Auth credential from the output. Headers come with ${NAME} placeholders: replace each with a value you hold. protogrid never receives your secrets.

Connect the node to an AI Agent’s Tool input and hand the fields the model should fill to it with $fromAI, such as Query {{ $fromAI('query', 'What the MCP server should do, in plain words', 'string') }}. The rules stay the ones you set in the node: the model cannot change them. A Search tool and a Check Against Rules tool let the agent find a server for a task and check it before you connect it.

The node works without a credential, at the anonymous limits. A free key raises them: create one at protogrid.dev/account and add it to a Protogrid API credential. The credential test fails for a key that is malformed, unknown or revoked.

Why the node does not connect to servers itself

Section titled “Why the node does not connect to servers itself”

n8n’s rules for verified community nodes leave MCP connections to its own MCP Client nodes, and allow no runtime dependencies. So this node answers which server to use and how to connect, and the MCP Client Tool connects. For code, the TypeScript SDK, LangChain.js, Vercel AI SDK and Mastra packages load the tools of servers that pass your rules directly.