MCPServer class
MCP CONFIGURATION
Constructors
-
MCPServer({required String serverLabel, String? authorization, String? serverUrl, List<
String> ? allowedTools, Map<String, dynamic> ? headers, String? requireApproval, List<String> ? alwaysRequireApproval, List<String> ? neverRequireApproval, String? openaiConnectorId}) -
MCPServer.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
allowedTools
→ List<
String> ? -
final
-
alwaysRequireApproval
→ List<
String> ? -
final
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, dynamic> ? -
final
-
neverRequireApproval
→ List<
String> ? -
final
- openaiConnectorId → String?
-
final
- requireApproval → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverLabel → String
-
final
- serverUrl → String?
-
final
Methods
-
copyWith(
{String? serverLabel, String? authorization, String? serverUrl, List< String> ? allowedTools, Map<String, dynamic> ? headers, String? requireApproval, List<String> ? alwaysRequireApproval, List<String> ? neverRequireApproval, String? openaiConnectorId}) → MCPServer -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toJsonString(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJsonString(
String data) → MCPServer