Adopt server examples

This commit is contained in:
Christopher Hertel 2025-08-17 02:46:01 +02:00
commit 2ef051a355
No known key found for this signature in database
GPG key ID: 111F6BFF7B6B5AA3

View file

@ -22,6 +22,7 @@
"ext-fileinfo": "*",
"opis/json-schema": "^2.4",
"phpdocumentor/reflection-docblock": "^5.6",
"psr/container": "^2.0",
"psr/event-dispatcher": "^1.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/finder": "^6.4 || ^7.2",
@ -34,7 +35,9 @@
"phpunit/phpunit": "^10.5",
"psr/cache": "^3.0",
"symfony/console": "^6.4 || ^7.0",
"symfony/event-dispatcher": "^6.4 || ^7.0"
"symfony/dependency-injection": "^6.4 || ^7.0",
"symfony/event-dispatcher": "^6.4 || ^7.0",
"symfony/process": "^6.4 || ^7.0"
},
"suggest": {
"symfony/console": "To use SymfonyConsoleTransport for STDIO",
@ -47,6 +50,14 @@
},
"autoload-dev": {
"psr-4": {
"Mcp\\Example\\StdioCalculatorExample\\": "examples/01-discovery-stdio-calculator/",
"Mcp\\Example\\HttpUserProfileExample\\": "examples/02-discovery-http-userprofile/",
"Mcp\\Example\\ManualStdioExample\\": "examples/03-manual-registration-stdio/",
"Mcp\\Example\\CombinedHttpExample\\": "examples/04-combined-registration-http/",
"Mcp\\Example\\StdioEnvVariables\\": "examples/05-stdio-env-variables/",
"Mcp\\Example\\DependenciesStdioExample\\": "examples/06-custom-dependencies-stdio/",
"Mcp\\Example\\ComplexSchemaHttpExample\\": "examples/07-complex-tool-schema-http/",
"Mcp\\Example\\SchemaShowcaseExample\\": "examples/08-schema-showcase-streamable/",
"Mcp\\Tests\\": "tests/"
}
},