McpServerConfiguration
McpServerConfiguration.php
:
16
Read-only
Final
Constants¶
DEFAULT_ALLOWED_HOSTS ¶
McpServerConfiguration.php
:
19
|
|
|
Properties¶
$allowedHosts
¶
McpServerConfiguration.php
:
35
|
|
|
$description
¶
McpServerConfiguration.php
:
33
|
|
|
$enabled
¶
McpServerConfiguration.php
:
31
|
|
|
$identifier
¶
McpServerConfiguration.php
:
29
|
|
|
$instructions
¶
McpServerConfiguration.php
:
34
|
|
|
$path
¶
McpServerConfiguration.php
:
30
|
|
|
$prompts
¶
McpServerConfiguration.php
:
37
|
|
|
$resources
¶
McpServerConfiguration.php
:
38
|
|
|
$resourceTemplates
¶
McpServerConfiguration.php
:
39
|
|
|
$tools
¶
McpServerConfiguration.php
:
36
|
|
|
$version
¶
McpServerConfiguration.php
:
32
|
|
|
Methods¶
__construct()
¶
McpServerConfiguration.php
:
28
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $identifier | string | - | - |
| $path | string | - | - |
| $enabled | bool | - | - |
| $version | string | '1.0.0' | - |
| $description | string|null | null | - |
| $instructions | string|null | null | - |
| $allowedHosts | array<int, string>|null | McpServerConfiguration::DEFAULT_ALLOWED_HOSTS | - |
| $tools | array<string, Tool> | [] |
keyed by tool name |
| $prompts | array<string, Prompt> | [] |
keyed by prompt name |
| $resources | array<string, ResourceDefinition> | [] |
keyed by resource URI |
| $resourceTemplates | array<string, ResourceTemplate> | [] |
keyed by URI template |