Login to follow
MCPClient

MCPClient (ODC)

Stable version 0.1.6 (Compatible with ODC)
Uploaded on 30 May by Truewind
MCPClient

MCPClient (ODC)

Documentation
0.1.6
MCPClient External Library for OutSystems

Provides actions to interact with Model Context Protocol (MCP) Remote servers. Allows OutSystems applications to call tools and retrieve information from connected MCP server endpoints.

ActionsCallTool

Calls a specific tool exposed by a connected MCP server.

Parameters:

  • ServerUrl (Text): The URL of the target MCP Remote server (e.g., http://localhost:8888/sse).
  • ToolArguments (List of ToolArgument Structure): A list of arguments required by the tool. See the ToolArgument structure definition below.
  • ToolName (Text): The name of the tool to execute on the MCP server.

Returns:

  • ToolResponse (Text): The primary text content returned by the executed MCP tool.
GetTools

Retrieves a list of available tools from a connected MCP server.

Parameters:

  • ServerUrl (Text): The URL of the target MCP server (e.g., http://localhost:8888/sse).

Returns:

  • Tools (Text): A JSON string representing the list of tools available on the server, including their names, descriptions, and input schemas.
StructuresToolArgument

Represents a single argument to be passed when calling an MCP tool.

Fields:

  • Property (Text, Mandatory): The name of the tool argument/parameter.
  • Value (Text, Mandatory): The value of the tool argument, provided as text. It will be converted to the specified ‘Type’ before calling the tool.
  • Type (Text, Mandatory): The intended data type of the Value (e.g., ‘string’, ‘integer’, ‘boolean’, ‘decimal’, ‘date’).