AnthropicMCPServer class
Anthropic MCP server configuration for the MCP connector feature
Constructors
- AnthropicMCPServer.new({required String name, required String type, required String url, String? authorizationToken, AnthropicMCPToolConfiguration? toolConfiguration})
-
const
-
AnthropicMCPServer.fromJson(Map<
String, dynamic> json) -
factory
- AnthropicMCPServer.url({required String name, required String url, String? authorizationToken, AnthropicMCPToolConfiguration? toolConfiguration})
-
Create a URL-based MCP server (convenience constructor)
const
Properties
-
Optional OAuth authorization token
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Server name/identifier
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toolConfiguration → AnthropicMCPToolConfiguration?
-
Tool configuration for this server
final
- type → String
-
Server type (currently only 'url' is supported)
final
- url → String
-
Server URL (must start with https://)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited