Provides knowledge base search and dialogue completion using the Volcengine Knowledge Base service. Requires external credential configuration.
Claude Desktop 的火山引擎知识库 MCP 服务器,提供知识库搜索和对话功能。
git clone git@github.com:suqidan/volc-kb-mcp.git
cd volc-kb-mcp
pip install -r requirements.txt
编辑 Claude Desktop 配置文件:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
添加以下配置:
{
"mcpServers": {
"kb": {
"command": "python",
"args": [
"/path/to/kb_mcp.py"
]
}
}
}
设置好 Claude MCP JSON 配置后,你只需要直接告诉 Claude 你要使用知识库,它就会询问你添加对应的信息,包含 ak, sk, account_id 以及 collection_namme
await configure(
access_key="your_access_key",
secret_key="your_secret_key",
account_id=your_account_id,
collection_name="your_collection_name"
)
result = await search_knowledge("你的查询")
messages = [
{"role": "system", "content": "你是一个有帮助的助手"},
{"role": "user", "content": "你好"}
]
response = await chat_completion(messages)
配置火山引擎凭证和知识库设置。
参数:
access_key
(str): 火山引擎访问密钥secret_key
(str): 火山引擎安全密钥account_id
(int): 火山引擎账户IDcollection_name
(str): 知识库集合名称搜索知识库。
参数:
query
(str): 搜索查询字符串获取对话补全响应。
参数:
messages
(List[dict]): 对话消息列表stream
(bool, 可选): 是否使用流式响应temperature
(float, 可选): 温度参数如果遇到问题:
~/.config/volc_kb_mcp/config.json
欢迎提交 Pull Requests!对于重大更改,请先开 issue 讨论您想要更改的内容。
本项目采用 MIT 许可证 - 详见 LICENSE 文件
suqidan
Search and retrieve content from the Unsloth AI documentation.
Efficiently search Obsidian vaults using the ripgrep tool.
Access Australian Pharmaceutical Benefits Scheme data for medicine information, pricing, and availability. Built with Python and FastAPI.
Integrates with The Movie Database (TMDB) API, allowing AI assistants to search for movies, retrieve details, and generate related content.
Extracts basic chemical information about drugs and compounds from the PubChem API.
Performs WHOIS lookups to retrieve domain registration details, including owner, registrar, and expiration dates.
Interact with the French government's open data platform (data.gouv.fr) to search for company information.
Provides Google Web Search functionality using the Gemini API. Requires a Google API Key or OAuth credentials.
Performs web searches using the Gemini Web Search Tool via the local gemini-cli.
Search engine for AI agents (search + extract) powered by Tavily