Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
- run: composer run-script auto-scripts --no-interaction
working-directory: demo

- run: bin/console cache:clear
- run: bin/console lint:container
working-directory: demo

- name: Run demo tests
Expand Down
6 changes: 3 additions & 3 deletions src/mcp-bundle/config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Symfony\Component\DependencyInjection\Loader\Configurator;

use Mcp\Server;
use Mcp\Server\ServerBuilder;
use Mcp\Server\Builder;

return static function (ContainerConfigurator $container): void {
$container->services()
Expand All @@ -21,8 +21,8 @@
->args(['mcp'])
->tag('monolog.logger', ['channel' => 'mcp'])

->set('mcp.server.builder', ServerBuilder::class)
->factory([Server::class, 'make'])
->set('mcp.server.builder', Builder::class)
->factory([Server::class, 'builder'])
->call('setServerInfo', [param('mcp.app'), param('mcp.version')])
->call('setPaginationLimit', [param('mcp.pagination_limit')])
->call('setInstructions', [param('mcp.instructions')])
Expand Down