| 
153 | 153 |     | support for tools, resources, prompts, and their related functionality like  | 
154 | 154 |     | subscriptions and change notifications.  | 
155 | 155 |     |  | 
 | 156 | +    | The following capabilities are supported:  | 
 | 157 | +    | - tools - Whether the server offers tools.  | 
 | 158 | +    | - toolsListChanged - Whether the server supports sending a notification when the list of tools changes.  | 
 | 159 | +    | - resources - Whether the server offers resources.  | 
 | 160 | +    | - resourcesSubscribe - Whether the server supports resource subscriptions.  | 
 | 161 | +    | - resourcesListChanged - Whether the server supports sending a notification when the list of resources changes.  | 
 | 162 | +    | - prompts - Whether the server offers prompts.  | 
 | 163 | +    | - promptsListChanged - Whether the server supports sending a notification when the list of prompts changes.  | 
 | 164 | +    | - logging - Whether the server supports sending log messages to the client.  | 
 | 165 | +    | - completions - Whether the server supports argument autocompletion suggestions.  | 
 | 166 | +    | - experimental - Experimental, non-standard capabilities that the server supports.  | 
 | 167 | +    |  | 
156 | 168 |     */  | 
157 | 169 |     'capabilities' => [  | 
158 |  | -        'tools' => [  | 
159 |  | -            'enabled' => (bool) env('MCP_CAP_TOOLS_ENABLED', true),  | 
160 |  | -            'listChanged' => (bool) env('MCP_CAP_TOOLS_LIST_CHANGED', true),  | 
161 |  | -        ],  | 
 | 170 | +        'tools' => (bool) env('MCP_CAP_TOOLS_ENABLED', true),  | 
 | 171 | +        'toolsListChanged' => (bool) env('MCP_CAP_TOOLS_LIST_CHANGED', true),  | 
162 | 172 | 
 
  | 
163 |  | -        'resources' => [  | 
164 |  | -            'enabled' => (bool) env('MCP_CAP_RESOURCES_ENABLED', true),  | 
165 |  | -            'subscribe' => (bool) env('MCP_CAP_RESOURCES_SUBSCRIBE', true),  | 
166 |  | -            'listChanged' => (bool) env('MCP_CAP_RESOURCES_LIST_CHANGED', true),  | 
167 |  | -        ],  | 
 | 173 | +        'resources' => (bool) env('MCP_CAP_RESOURCES_ENABLED', true),  | 
 | 174 | +        'resourcesSubscribe' => (bool) env('MCP_CAP_RESOURCES_SUBSCRIBE', true),  | 
 | 175 | +        'resourcesListChanged' => (bool) env('MCP_CAP_RESOURCES_LIST_CHANGED', true),  | 
168 | 176 | 
 
  | 
169 |  | -        'prompts' => [  | 
170 |  | -            'enabled' => (bool) env('MCP_CAP_PROMPTS_ENABLED', true),  | 
171 |  | -            'listChanged' => (bool) env('MCP_CAP_PROMPTS_LIST_CHANGED', true),  | 
172 |  | -        ],  | 
 | 177 | +        'prompts' => (bool) env('MCP_CAP_PROMPTS_ENABLED', true),  | 
 | 178 | +        'promptsListChanged' => (bool) env('MCP_CAP_PROMPTS_LIST_CHANGED', true),  | 
173 | 179 | 
 
  | 
174 |  | -        'logging' => [  | 
175 |  | -            'enabled' => (bool) env('MCP_CAP_LOGGING_ENABLED', true),  | 
176 |  | -            'setLevel' => (bool) env('MCP_CAP_LOGGING_SET_LEVEL', false),  | 
177 |  | -        ],  | 
 | 180 | +        'logging' => (bool) env('MCP_CAP_LOGGING_ENABLED', true),  | 
 | 181 | + | 
 | 182 | +        'completions' => (bool) env('MCP_CAP_COMPLETIONS_ENABLED', true),  | 
 | 183 | + | 
 | 184 | +        'experimental' => null,  | 
178 | 185 |     ],  | 
179 | 186 | 
 
  | 
180 | 187 |     /*  | 
 | 
0 commit comments