McpStringMatching interface

Compares one string of an MCP request or response with a list of values. ExactMatch and Contains hold when one value matches; NotExactMatch and NotContains hold when no value matches.

Properties

matchCase

Whether the comparison is case-sensitive. The default is CaseSensitive.

matchType

How the string is compared with the values.

values

The values to compare with: 1 to 64, or 1 to 16 non-empty values for Contains and NotContains.

Property Details

matchCase

Whether the comparison is case-sensitive. The default is CaseSensitive.

matchCase?: string

Property Value

string

matchType

How the string is compared with the values.

matchType: string

Property Value

string

values

The values to compare with: 1 to 64, or 1 to 16 non-empty values for Contains and NotContains.

values: string[]

Property Value

string[]