remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Allows to search web using Kagi API, providing tools for web search (fastgpt), web content enrichment, and news enrichment
Kagi MCP 服务器
成分
资源
服务器实现API方法的调用:
- fastgpt
- 丰富/网络
- 丰富/新闻
提示
服务器没有提供任何提示:
工具
该服务器实现了几个工具:
- 使用 ask_fastgpt 搜索网页并找到答案
- enrich_web 使用网络内容丰富模型上下文
- enrich_news 使用最新新闻来丰富模型内容
配置
快速入门
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Kagi MCP 服务器:
Copy
克劳德桌面
在 MacOS 上: ~/Library/Application\ Support/Claude/claude_desktop_config.json
发展
构建和发布
准备分发包:
- 同步依赖项并更新锁文件:
Copy
- 构建软件包分发版:
Copy
这将在dist/
目录中创建源和轮子分布。
- 发布到 PyPI:
Copy
注意:您需要通过环境变量或命令标志设置 PyPI 凭据:
- 令牌:
--token
或UV_PUBLISH_TOKEN
- 或用户名/密码:
--username
/UV_PUBLISH_USERNAME
和--password
/UV_PUBLISH_PASSWORD
调试
Copy
You must be authenticated.
允许使用 Kagi 的 API 通过 fastgpt、enrich/web 和 enrich/news 等方法进行网络搜索和内容丰富。