feat(mcp): add websearch_exa as built-in MCP

- Add src/mcp/ directory with websearch_exa configuration
- Configure Exa AI remote MCP (https://mcp.exa.ai/mcp)
- Export builtinMcps from plugin config
- Update documentation (EN/KO) with Built-in MCPs section
This commit is contained in:
YeonGyu-Kim
2025-12-05 02:15:39 +09:00
parent 7ac580566a
commit 6495fae979
5 changed files with 25 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ import { builtinAgents } from "./agents"
import { createTodoContinuationEnforcer, createContextWindowMonitorHook, createSessionRecoveryHook } from "./hooks"
import { updateTerminalTitle } from "./features/terminal"
import { builtinTools } from "./tools"
import { builtinMcps } from "./mcp"
const OhMyOpenCodePlugin: Plugin = async (ctx) => {
const todoContinuationEnforcer = createTodoContinuationEnforcer(ctx)
@@ -27,6 +28,10 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
...config.tools,
grep: false,
}
config.mcp = {
...config.mcp,
...builtinMcps,
}
},
event: async (input) => {

5
src/mcp/index.ts Normal file
View File

@@ -0,0 +1,5 @@
import { websearch_exa } from "./websearch-exa"
export const builtinMcps = {
websearch_exa,
}

5
src/mcp/websearch-exa.ts Normal file
View File

@@ -0,0 +1,5 @@
export const websearch_exa = {
type: "remote" as const,
url: "https://mcp.exa.ai/mcp?tools=web_search_exa",
enabled: true,
}