YP

yoshiko-pg/o3-search-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

286 stars 42 forks 质量 76 趋势 22MIT

yoshiko-pg/o3-search-mcp 是从 https://github.com/yoshiko-pg/o3-search-mcp. 导入的 MCP 服务器候选

概览

yoshiko-pg/o3-search-mcp 是从 https://github.com/yoshiko-pg/o3-search-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

英文 |日本語 |简体中文 |한국어

MCP服务器支持OpenAI高端模型及其强大的网页搜索功能。 通过向任何AI编码代理注册,代理可以自主地与OpenAI模型协商,解决复杂问题。

使用场景

(虽然叫 o3 以匹配 MCP 名称,但你可以通过 env 指定 gpt-5 或 o4-mini 以供模型使用)

🐛 当你被困调试时

O3的网页搜索可以扫描包括GitHub问题和Stack Overflow在内的多种来源,大大增加了解决小众问题的可能性。示例提示:

📚 当你想查阅最新的图书馆信息时

即使没有完善的文档,你也能通过强大的网络搜索获得答案。示例提示:

🧩 在处理复杂任务时

除了搜索,你还可以把它当作设计的交流平台。示例提示:

此外,由于它是作为MCP服务器提供的,AI代理可以在认为必要时自行决定与o3对话,无需你的指令。这将极大地扩展它自身能解决的问题范围!

安装

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

o3-search-mcp (gpt-5, o4-mini support)

MCP server that enables the use of OpenAI’s high-end models and their powerful web search capabilities. By registering it with any AI coding agent, the agent can autonomously consult with OpenAI models to solve complex problems.

Use Cases

(Although called o3 to match the MCP name, you can specify gpt-5 or o4-mini via env for the model to use)

🐛 When you’re stuck debugging

o3’s web search can scan a wide range of sources, including GitHub issues and Stack Overflow, significantly increasing the chances of resolving niche problems. Example prompts:

> I'm getting the following error on startup, please fix it. If it's too difficult, ask o3.
> [Paste error message here]
> The WebSocket connection isn't working. Please debug it. If you don't know how, ask o3.

📚 When you want to reference the latest library information

You can get answers from the powerful web search even when there’s no well-organized documentation. Example prompts:

> I want to upgrade this library to v2. Proceed while consulting with o3.
> I was told this option for this library doesn't exist. It might have been removed. Ask o3 what to specify instead and replace it.

🧩 When tackling complex tasks

In addition to search, you can also use it as a sounding board for design. Example prompts:

> I want to create a collaborative editor, so please design it. Also, ask o3 for a design review and discuss if necessary.

Also, since it’s provided as an MCP server, the AI agent may decide on its own to talk to o3 when it deems it necessary, without any instructions from you. This will dramatically expand the range of problems it can solve on its own!

Installation

Claude Code:

$ claude mcp add o3 \
	-s user \  # If you omit this line, it will be installed in the project scope
	-e OPENAI_MODEL=o3 \ # o4-mini, gpt-5 also available
	-e OPENAI_API_KEY=your-api-key \
	-e SEARCH_CONTEXT_SIZE=medium \
	-e REASONING_EFFORT=medium \
	-e OPENAI_API_TIMEOUT=300000 \
	-e OPENAI_MAX_RETRIES=3 \
	-- npx o3-search-mcp

json:

{
  "mcpServers": {
    "o3-search": {
      "command": "npx",
      "args": ["o3-search-mcp"],
      "env": {
在 GitHub 查看完整 README

安装

npx o3-search-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "o3-search": { "command": "npx", "args": ["o3-search-mcp"], "env": { "OPENAI_API_KEY": "your-api-key", // Optional: o3, o4-mini, gpt-5 (default: o3) "OPENAI_MODEL": "o3", // Optional: low, medium, high (default: medium) "SEARCH_CONTEXT_SIZE": "medium", "REASONING_EFFORT": "medium", // Optional: API timeout in milliseconds (default: 300000) "OPENAI_API_TIMEOUT": "300000", // Optional: Maximum number of retries (default: 3) "OPENAI_MAX_RETRIES": "3" } } } }