mcp-server-bundle

A Symfony Bundle to create MCP servers

GitHubスター

48

ユーザー評価

未評価

お気に入り

0

閲覧数

22

フォーク

3

イシュー

4

インストール方法
難易度
上級
推定所要時間
20-45

インストール方法

The MCP Server Bundle provides a structured way to create and manage tools that can be used by clients via JSON-RPC requests. It includes features for MCP tool management, and JSON-RPC method handling. This bundle is designed to be flexible and extensible, allowing developers to create custom tool handlers and method handlers as needed. MethodHandlers and ToolHandlers are registered and autowired using attributes, making it easy to define and manage your own tools.
1Install the MCP Server Bundle via Composer:
bash
composer require ecourty/mcp-server-bundle
2Add the bundle to your config/bundles.php (if not using Symfony Flex):
php
return [
    // ...
    Ecourty\McpServerBundle\McpServerBundle::class => ['all' => true],
];
3Configure the routes in config/routes/mcp.yaml:
```yaml mcp_controller: path: /mcp controller: mcp_server.entrypoint_controller

追加リソース