> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inworld.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MCPCallToolNode

> MCP call tool node that calls multiple tools on an MCP server in parallel. This node processes tool call requests and executes them against the configured MCP server, returning the results of all tool executions.

## Input

**Type:** `GraphTypes.ToolCallRequest`

The data type that MCPCallToolNode accepts as input

## Output

**Type:** `GraphTypes.ToolCallResponse`

The data type that MCPCallToolNode outputs

## Examples

```typescript theme={"system"}
const mcpComponent = new MCPClientComponent({ sessionConfig: { ... } });
const mcpCallToolNode = new MCPCallToolNode({
mcpComponent,
reportToClient: true
});
```

## Constructors

* [constructor](#constructor)

## Interfaces

* [MCPCallToolNodeProps](#mcpcalltoolnodeprops)
* [MCPCallToolNodeWithComponentProps](#mcpcalltoolnodewithcomponentprops)

***

## Constructors

### constructor

```typescript theme={"system"}
new MCPCallToolNode(props: MCPCallToolNodeProps | MCPCallToolNodeWithComponentProps): MCPCallToolNode
```

Creates a new MCPCallToolNode instance.

#### Parameters

<ParamField body="props" type="MCPCallToolNodeProps | MCPCallToolNodeWithComponentProps" required>
  Configuration for the MCP call tool node.
</ParamField>

#### Returns

`MCPCallToolNode`

## Interfaces

### MCPCallToolNodeProps

#### Properties

**sessionConfig**: `Config`

MCP session configuration for establishing the connection to the MCP server.

### MCPCallToolNodeWithComponentProps

Configuration interface for `MCPCallToolNode` creation.

#### Properties

**mcpComponent**: `MCPClientComponent`

Existing MCP component to use.
