refactor(mcp): remove websearch_exa as built-in MCP server
🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
import { websearch_exa } from "./websearch-exa"
|
|
||||||
import { context7 } from "./context7"
|
import { context7 } from "./context7"
|
||||||
import { grep_app } from "./grep-app"
|
import { grep_app } from "./grep-app"
|
||||||
import type { McpName } from "./types"
|
import type { McpName } from "./types"
|
||||||
@@ -6,7 +5,6 @@ import type { McpName } from "./types"
|
|||||||
export { McpNameSchema, type McpName } from "./types"
|
export { McpNameSchema, type McpName } from "./types"
|
||||||
|
|
||||||
const allBuiltinMcps: Record<McpName, { type: "remote"; url: string; enabled: boolean }> = {
|
const allBuiltinMcps: Record<McpName, { type: "remote"; url: string; enabled: boolean }> = {
|
||||||
websearch_exa,
|
|
||||||
context7,
|
context7,
|
||||||
grep_app,
|
grep_app,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { z } from "zod"
|
import { z } from "zod"
|
||||||
|
|
||||||
export const McpNameSchema = z.enum(["websearch_exa", "context7", "grep_app"])
|
export const McpNameSchema = z.enum(["context7", "grep_app"])
|
||||||
|
|
||||||
export type McpName = z.infer<typeof McpNameSchema>
|
export type McpName = z.infer<typeof McpNameSchema>
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
export const websearch_exa = {
|
|
||||||
type: "remote" as const,
|
|
||||||
url: "https://mcp.exa.ai/mcp?tools=web_search_exa",
|
|
||||||
enabled: true,
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user