Skip to content

Commit 44b6c0e

Browse files
JackwoodJackwood
authored andcommitted
chore: add changeset for HTTP transport and dual-auth
1 parent cd9b504 commit 44b6c0e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
"@transcend-io/mcp-server-core": minor
3+
"@transcend-io/mcp-server": minor
4+
"@transcend-io/mcp-server-admin": minor
5+
"@transcend-io/mcp-server-assessments": minor
6+
"@transcend-io/mcp-server-discovery": minor
7+
"@transcend-io/mcp-server-dsr": minor
8+
"@transcend-io/mcp-server-inventory": minor
9+
"@transcend-io/mcp-server-preferences": minor
10+
"@transcend-io/mcp-server-workflows": minor
11+
---
12+
13+
Add Streamable HTTP transport and dual-auth support (API key + session cookie) to all MCP server packages.
14+
15+
**Breaking (core):** `TranscendGraphQLBase` and `TranscendRestClient` constructors now accept `AuthCredentials | null` instead of a plain API key string. `createMCPServer`'s `createClients` callback receives `AuthCredentials | null` as its first argument.
16+
17+
**New:**
18+
- `--transport http` flag starts an Express-based Streamable HTTP server with per-session isolation
19+
- `AuthCredentials` discriminated union (`apiKey` | `sessionCookie`) for outbound request authentication
20+
- `AsyncLocalStorage`-based per-request auth context (`requestAuthContext` / `getRequestAuth`) for safe concurrent multi-tenant operation
21+
- `resolveAuth` / `tryResolveAuth` for resolving credentials from inbound HTTP headers or env var
22+
- `buildMcpServer` lower-level factory for creating `Server` instances without transport
23+
- `runMcpHttp` for starting HTTP servers with session management, SSE resume, health check, and CORS
24+
- Auth-free initialization for sidecar deployments (Prometheus/Mastra pattern)

0 commit comments

Comments
 (0)