File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /*
4+ * This file is part of the official PHP MCP SDK.
5+ *
6+ * A collaboration between Symfony and the PHP Foundation.
7+ *
8+ * For the full copyright and license information, please view the LICENSE
9+ * file that was distributed with this source code.
10+ */
11+
12+ namespace Mcp \Exception ;
13+
14+ /**
15+ * @author Oskar Stark <[email protected] > 16+ */
17+ class ConfigurationException extends InvalidArgumentException
18+ {
19+ }
Original file line number Diff line number Diff line change 2121use Mcp \Capability \Registry ;
2222use Mcp \Capability \Registry \Container ;
2323use Mcp \Capability \Registry \ReferenceHandler ;
24+ use Mcp \Exception \ConfigurationException ;
2425use Mcp \JsonRpc \Handler ;
2526use Mcp \Schema \Annotations ;
2627use Mcp \Schema \Implementation ;
@@ -84,13 +85,16 @@ final class ServerBuilder
8485 * annotations: Annotations|null}
8586 * > */
8687 private array $ manualResourceTemplates = [];
88+
8789 /** @var array<
8890 * array{handler: array|string|Closure,
8991 * name: string|null,
9092 * description: string|null}
9193 * > */
9294 private array $ manualPrompts = [];
95+
9396 private ?string $ discoveryBasePath = null ;
97+
9498 /**
9599 * @var array|string[]
96100 */
You can’t perform that action at this time.
0 commit comments