Skip to content

/AWS1/CL_BDCHARNRMTMCPCONFIG

Configuration for connecting to a remote MCP server.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_url TYPE /AWS1/BDCHARNESSREMOTEMCPURL /AWS1/BDCHARNESSREMOTEMCPURL

URL of the MCP endpoint.

Optional arguments:

it_headers TYPE /AWS1/CL_BDCHTTPHEADERSMAP_W=>TT_HTTPHEADERSMAP TT_HTTPHEADERSMAP

Custom headers to include when connecting to the remote MCP server.


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

Custom headers to include when connecting to the remote MCP server.

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