loading…
Search for a command to run...
loading…
Provides AI assistants with access to the OpenViking knowledge base for semantic search, document reading, and full-text retrieval. It enables vector-based inte
Provides AI assistants with access to the OpenViking knowledge base for semantic search, document reading, and full-text retrieval. It enables vector-based intelligence, L0/L1 summaries, and glob-based pattern matching for local documentation.
OpenViking MCP Server - 为AI助手提供OpenViking知识库访问能力
pip install openviking mcp
确保Ollama服务运行中,并安装嵌入模型:
ollama serve
ollama pull qwen3-embedding:0.6b
编辑 C:\Users\fenci\.config\opencode\opencode.json:
{
"mcp": {
"openviking": {
"type": "local",
"command": ["python", "path\\to\\openviking_mcp_server.py"],
"environment": {
"OPENVIKING_DATA_PATH": "path\\to\\viking_data",
"OPENVIKING_CONFIG_FILE": "path\\to\\ov.conf"
},
"enabled": true,
"timeout": 20000
}
}
}
在OpenCode中直接搜索:
使用 openviking 搜索"维斯塔斯接地"
openviking-mcp/
├── openviking_mcp_server.py # MCP服务器实现
├── OPENVIKING_MCP_MANUAL.md # 详细文档
├── example_usage.py # 使用示例
├── ov.conf # 配置文件示例
├── viking_data/ # 数据目录(可选)
└── docs/ # 文档目录(可选)
| 工具 | 功能 |
|---|---|
openviking_find |
语义搜索 |
openviking_read |
读取内容 |
openviking_glob |
模式匹配 |
openviking_abstract |
L0摘要 |
openviking_overview |
L1概览 |
openviking_grep |
全文搜索 |
详细使用说明请参考 OPENVIKING_MCP_MANUAL.md
MIT License
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"openviking-mcp": {
"command": "npx",
"args": []
}
}
}