chore: add test case for McpServer with auth
This commit is contained in:
parent
730cd670b0
commit
473dc6cad5
1 changed files with 385 additions and 26 deletions
|
|
@ -12,6 +12,7 @@ export class InMemoryTransport implements Transport {
|
|||
onerror?: (error: Error) => void;
|
||||
onmessage?: (message: JSONRPCMessage) => void;
|
||||
sessionId?: string;
|
||||
user?: unknown;
|
||||
|
||||
/**
|
||||
* Creates a pair of linked in-memory transports that can communicate with each other. One should be passed to a Client and one to a Server.
|
||||
|
|
|
|||
Loading…
Reference in a new issue