Skip to content

Commit 473dc6c

Browse files
committed
chore: add test case for McpServer with auth
1 parent 730cd67 commit 473dc6c

File tree

5 files changed

+385
-26
lines changed

5 files changed

+385
-26
lines changed

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"printWidth": 120,
2+
"printWidth": 80,
33
"tabWidth": 2,
44
"trailingComma": "all",
55
"jsxBracketSameLine": true,

src/inMemory.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export class InMemoryTransport implements Transport {
1212
onerror?: (error: Error) => void;
1313
onmessage?: (message: JSONRPCMessage) => void;
1414
sessionId?: string;
15+
user?: unknown;
1516

1617
/**
1718
* 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.

0 commit comments

Comments
 (0)