Skip to content

Commit 0a82787

Browse files
committed
hotfix: use McpName from config schema instead of duplicate type definition
1 parent a1a2d2f commit 0a82787

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mcp/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
import type { McpName } from "../config"
12
import { websearch_exa } from "./websearch-exa"
23
import { context7 } from "./context7"
34

4-
export type McpName = "websearch_exa" | "context7"
5+
export type { McpName }
56

67
const allBuiltinMcps: Record<McpName, { type: "remote"; url: string; enabled: boolean }> = {
78
websearch_exa,

0 commit comments

Comments
 (0)