Nodes2Cloud Docs

Connect Google ADK to Nodes2Cloud

Agent Development Kit's McpToolset.

Google ADK talks to the Nodes2Cloud MCP server at https://api.nodes2cloud.com/mcp over Streamable HTTP. Once connected, your agent can read the node catalogue, write and check workflows, and request deploys that wait for your approval by default.

Use a Personal Access Token

Google ADK connects with a Personal Access Token. Create one in the editor under Integrations → MCP server → Headless & CI Tokens, then Generate Token. Replace n2c_pat_YOUR_TOKEN below with it. The code reads it from the N2C_API_KEY environment variable.

Treat the token like a password and keep it out of source control.

Python

python
import os
from google.adk.tools.mcp_tool.mcp_session_manager import StreamableHTTPConnectionParams
from google.adk.tools.mcp_tool.mcp_toolset import McpToolset

nodes2cloud = McpToolset(
    connection_params=StreamableHTTPConnectionParams(
        url="https://api.nodes2cloud.com/mcp",
        headers={"Authorization": f"Bearer {os.environ['N2C_API_KEY']}"},
    ),
)
# Pass tools=[nodes2cloud] to your Agent.
Google ADK's MCP documentationInstructions checked
early access

Join the waitlist

We’re opening Nodes2Cloudin batches. Leave your details and we’ll email you when it’s your turn.

We’ll only use this to contact you about access. See our privacy policy.