superconductor/streamable-http-transport

Streamable HTTP transport protocol for the Superconductor MCP framework.

Installs: 20

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 1

Open Issues: 0

pkg:composer/superconductor/streamable-http-transport

20241105.5.1 2025-09-16 04:11 UTC

This package is auto-updated.

Last update: 2025-10-16 04:24:33 UTC


README

  1. To spin up a client:
use Superconductor\Transports\StreamableHttp\Support\Facades\StreamableHttp;
use Superconductor\Transports\StreamableHttp\DTO\Servers\StreamableServerConfig;

// Define the command to run the MCP server
$mcp_server_config = [
    "url" => "https://api.githubcopilot.com/mcp/",
    "headers" => [
        "Authorization" => "auth_token"
    ],
];

$mcp_server = new StreamableServerConfig(...$mcp_server_config)

// Start the client by passing in the command configuration
$client = StreamableHttp::client($mcp_server)