mcp kibela🗒️
](https://smithery.ai/server/@kj455/mcp-kibela) ](https://www.npmjs.com/package/@kj455/mcp-kibela) 
一种模型上下文协议(MCP)服务器实现,使AI助手能够搜索和引用Kibela内容。这种设置允许像克劳德这样的人工智能模型安全地访问存储在Kibela中的信息。
特性🚀
mcp-kibela服务器提供以下功能:
- 笔记搜索:按关键字搜索Kibela笔记
- 我的笔记:获取您的最新笔记
- 注释内容:按ID获取笔记内容和评论
- 按路径注释:按路径获取笔记内容
- 创建便笺:创建新笔记
- 更新笔记内容:按笔记id更新笔记内容
______________________________________________________________________
先决条件📋
在开始之前,请确保您已经:
- Node.js(v18或更高版本)
- MCP客户端(克劳德桌面、光标等)
- Kibela访问令牌(如何获得代币)
- Git(如果从源代码构建)
安装🛠️
使用游标
{
"kibela": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KIBELA_TEAM",
"-e",
"KIBELA_TOKEN",
"ghcr.io/kj455/mcp-kibela:latest"
],
"env": {
"KIBELA_TEAM": "your-team-name from https://[team-name].kibe.la",
"KIBELA_TOKEN": "your-token"
}
}
}与VSCode一起使用
{
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "kibela_team",
"description": "Kibela team name",
"password": false
},
{
"type": "promptString",
"id": "kibela_token",
"description": "Kibela token",
"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}"
}
}
}
}
}使用Claude Desktop
{
"mcpServers": {
"mcp-kibela": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KIBELA_TEAM",
"-e",
"KIBELA_TOKEN",
"ghcr.io/kj455/mcp-kibela:latest"
],
"env": {
"KIBELA_TEAM": "your-team-name from https://[team-name].kibe.la",
"KIBELA_TOKEN": "your-token"
}
}
}
}使用Smithery
npx -y @smithery/cli install @kj455/mcp-kibela --client claude环境变量
需要以下环境变量:
KIBELA_TEAM:您的Kibela团队名称(必填)。您可以在Kibela团队页面的URL中找到它。例如https://\[团队名称\].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许可证📄
麻省理工学院
