Skip to content

/AWS1/CL_BDOHARNRMTMCPCONFIG

Configuration for connecting to a remote MCP server.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_url TYPE /AWS1/BDOHARNESSREMOTEMCPURL /AWS1/BDOHARNESSREMOTEMCPURL

URL of the MCP endpoint.

Optional arguments:

it_headers TYPE /AWS1/CL_BDOHTTPHEADERSMAP_W=>TT_HTTPHEADERSMAP TT_HTTPHEADERSMAP

Map of key/value pairs for HTTP headers.


Queryable Attributes

url

URL of the MCP endpoint.

Accessible with the following methods

Method Description
GET_URL() Getter for URL, with configurable default
ASK_URL() Getter for URL w/ exceptions if field has no value
HAS_URL() Determine if URL has a value

headers

Map of key/value pairs for HTTP headers.

Accessible with the following methods

Method Description
GET_HEADERS() Getter for HEADERS, with configurable default
ASK_HEADERS() Getter for HEADERS w/ exceptions if field has no value
HAS_HEADERS() Determine if HEADERS has a value