Skip to content

Commit a53004f

Browse files
committed
Remove AuthInfo export
1 parent 4cf7988 commit a53004f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
export { default as createMcpHandler } from "./next";
33

44
export { withMcpAuth as experimental_withMcpAuth } from "./next/auth-wrapper";
5-
export type { AuthInfo } from "./next/auth-wrapper";

src/next/auth-wrapper.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import { InvalidTokenError, InsufficientScopeError, ServerError } from '@modelcontextprotocol/sdk/server/auth/errors';
22
import { AuthInfo } from '@modelcontextprotocol/sdk/server/auth/types';
33

4-
// Re-export AuthInfo type for convenience
5-
export type { AuthInfo };
6-
74
// Extend the Request type to include auth info
85
declare global {
96
interface Request {

0 commit comments

Comments
 (0)