Latenode LogoLatenode

MCP Nodes

Latenode MCP server allows external AI systems (AI agents) to run your scenarios as tools. Model Context Protocol (MCP) is a communication standard between AI systems and external systems, enabling them to interact by defining endpoints and providing authentication.

With Latenode MCP, you can expose your scenarios to AI clients like Claude Desktop, Cursor, or any MCP-compatible application.

MCP Nodes overview

MCP Trigger

MCP Trigger turns your scenario into an MCP server. Each node connected directly to MCP Trigger becomes a separate tool that AI clients can discover and call.

MCP Trigger in scenario

Server settings

ParameterDescription
Server DescriptionDescription of your MCP server for AI context
Server URLCopy this URL to use in your MCP client.
VersionVersion identifier (any text, e.g., 1.0)
AuthenticationEnable to require API Key for access

MCP Trigger server settings

Tool configuration

Each node connected to MCP Trigger becomes a tool. Configure it in the first connected node's settings:

ParameterDescription
Tool NameRequired. Unique tool identifier (e.g., create_lead, send_email)
Tool DescriptionDescription helping AI understand when to use this tool

Tool configuration

⚠️ Important: Without Tool Name, the tool won't be visible to AI clients.

Input parameters

Parameters define what data AI will pass when calling the tool.

FieldDescription
KeyParameter name (e.g., email, user_name)
TypeSelect fromMCP for AI-fillable parameters
DescriptionExplanation for AI — what data to pass

Input parameters

Example — lead creation tool parameters:

KeyTypeDescription
namefromMCPContact name
emailfromMCPContact email address
phonefromMCPPhone number (optional)

Example parameters table in UI

Multiple tools

You can create unlimited tools in one MCP server by connecting multiple branches to MCP Trigger.

Multiple tools branches

Each branch:

  • Has its own Tool Name and Description
  • Can contain any number of nodes
  • Can use conditions, loops, AI agents, and any other Latenode nodes
  • Operates independently

Automatic routing

When connecting nodes to MCP Trigger, a route filter is created automatically. This filter routes requests to the correct tool branch.

Automatic routing filter

ℹ️ The filter is auto-generated and non-editable.

MCP Response

By default, the output of the last node in the tool chain is returned to the AI client. This often includes unnecessary data like headers or status codes.

MCP Response lets you specify exactly what data to return.

MCP Response node

When to use

  • Return only specific fields (e.g., just body from HTTP response)
  • Create a custom response structure
  • Hide technical details from AI

Configuration

Specify the data to return using variables from previous nodes.

MCP Response configuration

Example: Simple Echo Tool

Step 1: Add MCP Trigger

  1. Create a new scenario
  2. Add MCP Trigger node
  3. Set Server Description: Test MCP server

Step 2: Configure Tool

  1. Connect a Code node to MCP Trigger
  2. Set Tool Name: echo
  3. Set Tool Description: Returns the provided text. Use for testing.
  4. Add parameter:
    • Key: message
    • Type: fromMCP
    • Description: Text to return

Step 3: Return Result

In the Code node:

return {
  result: msg.message
}

Step 4: Deploy

  1. Save the scenario
  2. Copy URL from MCP Trigger
  3. Connect to your MCP client

Best practices

Descriptions

Write clear descriptions so AI understands when and how to use your tools.

✅ Good:

Creates a task in Asana. Accepts task title and optional deadline.
Returns created task ID and link.

❌ Bad:

Creates task

Parameters

  • Use descriptive names (user_email not param1)
  • Specify expected format in description (Date in YYYY-MM-DD format)
  • Mark optional parameters

Response data

  • Return only necessary data via MCP Response
  • Avoid exposing technical details
  • Structure responses for AI readability

Limitations

  • MCP uses SSE (Server-Sent Events) — requires stable connection
  • Tool execution time is limited by scenario timeout
  • Binary data (files, images) requires additional handling