final |
|---|
readonly |
Supplies the MCP server's identity and instructions, applied through ServerBuilder::register().
At most one registered source may carry this attribute.
| Methods | ||
|---|---|---|
public
|
__construct(
string $name,
string $version,
?string $title = null,
?string $description = null,
?string $websiteUrl = null,
?string $instructions = null,
null|list<Icon> $icons = null,
)
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$name
|
# |
public
|
string
|
$version
|
# |
public
|
?string
|
$title
|
# |
public
|
?string
|
$description
|
# |
public
|
?string
|
$websiteUrl
|
# |
public
|
?string
|
$instructions
|
# |
public
|
null|list<Icon>
|
$icons
|
# |