Skip to main content
Glama

Streamable HTTP Bridge

by masx200
Mulan Permissive Software License, Version 2
2
  • Linux
  • Apple
websocket.d.ts1.03 kB
import type { Transport } from "@modelcontextprotocol/sdk/shared/transport.js"; import { type JSONRPCMessage } from "@modelcontextprotocol/sdk/types.js"; import type { ClientRequestArgs } from "http"; import { WebSocket } from "ws"; /** * Client transport for WebSocket: this will connect to a server over the WebSocket protocol. */ export declare class WebSocketClientTransport implements Transport { url: URL; options?: | ((WebSocket.ClientOptions | ClientRequestArgs) & { protocols?: string | string[]; }) | undefined; private _socket?; private _url; sessionId: string; onclose?: () => void; onerror?: (error: Error) => void; onmessage?: (message: JSONRPCMessage) => void; constructor( url: URL, options?: | ((WebSocket.ClientOptions | ClientRequestArgs) & { protocols?: string | string[]; }) | undefined, ); start(): Promise<void>; close(): Promise<void>; send(message: JSONRPCMessage): Promise<void>; } //# sourceMappingURL=websocket.d.ts.map

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/masx200/mcp-demo-streamable-http-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server