superconductor/stdio-transport
最新稳定版本:20241105.5.0
Composer 安装命令:
composer require superconductor/stdio-transport
包简介
Stdio transport protocol for the Superconductor MCP framework.
README 文档
README
- To spin up a client:
use Superconductor\Transports\Stdio\DTO\Servers\ProcessCommandConfig; use Superconductor\Transports\Stdio\Support\Facades\Stdio; use Superconductor\Capabilities\Tools\DTO\Messages\Requests\ListToolsRequest; // Define the command to run the MCP server $mcp_server = [ "command" => "php", "args" => ["artisan","boost:mcp"], 'env' => [], ]; // Create a ProcessCommandConfig instance $command = new ProcessCommandConfig(...$mcp_server); // Start the client by passing in the command configuration $client = Stdio::client($command) $request = new ListToolsRequest();
- Spinning up the server instance is more straightforward:
use Superconductor\Transports\Stdio\Support\Facades\Stdio; // Start the server $server = Stdio::server();
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-14