这是一个实现模型上下文协议(MCP)服务器,使AI助手能够搜索并引用Kibela内容。此设置允许像Claude这样的AI模型安全地访问存储在Kibela中的信息。
mcp-kibela 服务器提供以下功能:
开始之前,请确保你拥有:
{
"kibela": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KIBELA_TEAM",
"-e",
"KIBELA_TOKEN",
"ghcr.io/kj455/mcp-kibela:latest"
],
"env": {
"KIBELA_TEAM": "来自 https://[team-name].kibe.la 的团队名称",
"KIBELA_TOKEN": "你的令牌"
}
}
}
{
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "kibela_team",
"description": "Kibela团队名称",
"password": false
},
{
"type": "promptString",
"id": "kibela_token",
"description": "Kibela令牌",
"password": true
},
],
"servers": {
"kibela": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KIBELA_TEAM",
"-e",
"KIBELA_TOKEN",
"ghcr.io/kj455/mcp-kibela:latest"
],
"env": {
"KIBELA_TEAM": "${input:kibela_team}",
"KIBELA_TOKEN": "${input:kibela_token}"
}
}
}
}
}
{
"mcpServers": {
"mcp-kibela": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KIBELA_TEAM",
"-e",
"KIBELA_TOKEN",
"ghcr.io/kj455/mcp-kibela:latest"
],
"env": {
"KIBELA_TEAM": "来自 https://[team-name].kibe.la 的团队名称",
"KIBELA_TOKEN": "你的令牌"
}
}
}
}
npx -y @smithery/cli install @kj455/mcp-kibela --client claude
需要以下环境变量:
KIBELA_TEAM:你的Kibela团队名称(必需)。可以从你的Kibela团队页面的URL中找到。例如:https://[team-name].kibe.laKIBELA_TOKEN:你的Kibela API令牌(必需)欢迎任何形式的贡献!
npm run build:watch 在监视模式下构建项目。npm run build:watch
npx @modelcontextprotocol/inspector 检查MCP服务器。npx @modelcontextprotocol/inspector node /path/to/mcp-kibela/dist/index.js
MIT