MCP communication happens over a transport layer that carries the JSON-RPC messages between client and server. Kunna MCP Client supports two browser-compatible transports: Streamable HTTP (the current recommended standard) and SSE (the legacy variant maintained for backward compatibility). STDIO — where the server runs as a local subprocess communicating over stdin/stdout — is not supported because spawning local processes is not possible in a browser environment.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/vancovx/KunnaClienteMCP/llms.txt
Use this file to discover all available pages before exploring further.
- HTTP (Streamable)
- SSE (Legacy)
Streamable HTTP
Streamable HTTP is the modern, recommended MCP transport. It uses standard HTTP requests, allowing the server to stream responses back to the client incrementally. This makes it well-suited for tool calls that return large payloads or for servers that push progress updates mid-execution.Implementation — Kunna usesStreamableHTTPClientTransport from @modelcontextprotocol/sdk/client/streamableHttp.js. Authentication headers are injected directly into the underlying requestInit:- Newly built MCP servers
- Production deployments
- Any server implementing the current MCP specification
- Scenarios requiring Bearer token authentication
Authentication headers
Both transports use the samebuildHeaders() helper to construct the HTTP headers that accompany every request. The helper accepts an auth config object and returns a plain headers map:
auth.type | Result |
|---|---|
'none' | No headers added — suitable for servers with no authentication |
'bearer' | Adds Authorization: Bearer <token> — the standard for token-protected servers |
'custom' | Merges auth.headers directly — for non-standard auth schemes |
buildHeaders() function is called internally when the transport is constructed; you never need to set headers manually.
CORS requirement
Transport selection guide
Use the table below to pick the right transport for your situation:| Scenario | Recommended transport |
|---|---|
| New MCP server, any version | HTTP (Streamable) |
| Server built on older MCP SDK | SSE |
| Local process (not browser) | STDIO (not supported in Kunna) |