Blocks

MCP Client

Connect to Model Context Protocol servers

Connect to MCP servers to access resources, tools, and prompts. MCP is an open protocol that enables seamless integration between LLM applications and external data sources.

Back to Catalog
MCPmcp_client

Block Preview

MCP Client

Connect to Model Context Protocol servers

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Configure any required credentials or tokens in the inputs.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the mcp_client block with monitoring enabled in production.

Inputs (UI)

Operation

dropdown

Layout: full

Options: List Resources, Read Resource, List Tools, Call Tool

Server URL

short-input

Placeholder: http://localhost:3000/mcp or stdio://path/to/server.js

Layout: full

Resource URI

short-input

Placeholder: resource://path/to/resource

Layout: full

Condition: operation = "read_resource"

Tool Name

short-input

Placeholder: tool-name

Layout: half

Condition: operation = "call_tool"

Tool Arguments (JSON)

code

Placeholder: { "param1": "value1", "param2": "value2" }

Layout: full

Condition: operation = "call_tool"

Prompt Name

short-input

Placeholder: prompt-name

Layout: half

Condition: operation = "get_prompt"

Prompt Arguments (JSON)

code

Placeholder: { "param1": "value1", "param2": "value2" }

Layout: full

Condition: operation = "get_prompt"

Timeout (ms)

short-input

Placeholder: 30000

Layout: half

Inputs (API)

operation

string

Required

serverUrl

string

Required

resourceUri

string

Optional

toolName

string

Optional

toolArguments

json

Optional

promptName

string

Optional

promptArguments

json

Optional

timeout

number

Optional

Outputs

Primary response type:

{
  "success": "boolean",
  "result": "json",
  "error": "string"
}

Tool Access

mcp_client
MCP Client | NowFlow Blocks