首页
学习
活动
专区
圈层
工具
发布
MCP广场 >详情页
MCP Kibela服务2026-10-22100分享添加福利群:解决AI开发者的「MCP实战痛点」
一种模型上下文协议服务器,使AI助手能够搜索和访问存储在Kibela中的信息,支持笔记的搜索、检索、创建和更新。
By kj455
2026-10-22100
github
详情内容

mcp-kibela 🗒️

smithery badge npm version License: MIT

这是一个实现了模型上下文协议(MCP)的服务器,它使AI助手能够搜索和引用Kibela中的内容。这种设置允许像Claude这样的AI模型安全地访问存储在Kibela中的信息。

功能 🚀

mcp-kibela 服务器提供了以下功能:

  • 笔记搜索:通过关键词搜索Kibela笔记
  • 我的笔记:获取您的最新笔记
  • 笔记内容:通过ID获取笔记内容和评论
  • 通过路径获取笔记:通过路径获取笔记内容
  • 创建笔记:创建新笔记
  • 更新笔记内容:通过笔记ID更新笔记内容

先决条件 📋

开始之前,请确保您具备:

  • Node.js (v18或更高版本)
  • MCP客户端 (例如 Claude Desktop, Cursor等)
  • Kibela访问令牌 (如何获取令牌)
  • Git (如果从源码构建)

安装 🛠️

使用Cursor

{
  "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://[team-name].kibe.la
  • KIBELA_TOKEN:您的Kibela API令牌(必需)

贡献

欢迎任何形式的贡献!

开发

  1. 使用 npm run build:watch 在监视模式下构建项目。
npm run build:watch
  1. 使用 npx @modelcontextprotocol/inspector 检查MCP服务器。
npx @modelcontextprotocol/inspector node /path/to/mcp-kibela/dist/index.js

许可证 📄

MIT

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档