开放式深度研究MCP服务器
这是一项早期的工作,测试有限,需要访问API,该API将在不久的将来被替换。目前,需要在环境中或 .env 文件(参见 .env.example):
- OpenAI API密钥:https://platform.openai.com/
- HuggingFace API密钥:https://huggingface.co/
- SERP API密钥:https://serpapi.com/
设置和安装
只需运行:
make创建虚拟环境并安装依赖项。
运行服务器
使用VSCode启动配置,或手动运行:
默认为stdio传输:
uv run -m mcp_server.start对于SSE运输:
uv run -m mcp_server.start --transport sse --port 6020SSE URL为:
http://127.0.0.1:6020/sse客户端配置
要在设置中使用此MCP服务器,请考虑以下配置:
标准输入输出
{
"mcpServers": {
"open-deep-research": {
"command": "uv",
"args": ["run", "-m", "mcp_server.start"]
}
}
}SSE
{
"mcpServers": {
"open-deep-research": {
"command": "http://127.0.0.1:6020/sse",
"args": []
}
}
}