Kibela MCP Server

Kibela MCP Server

A Model Context Protocol server that allows AI applications to interact with Kibela knowledge bases, enabling users to search, create, update, and organize content through natural language.

Category
Visit Server

README

<div align="center"> <h1>Kibela MCP Server</h1>

<p>Kibela MCP Server is a <a href="https://modelcontextprotocol.io/introduction">Model Context Protocol (MCP)</a> server for Kibela.</p>

GitHub commit activity GitHub Release Date GitHub package.json dynamic GitHub package.json dynamic

</div>

Overview

Kibela MCP Server is currently available only as a local server using STDIO and can be used with any MCP client such as Claude Desktop or VSCode.

Only those GraphQL APIs that are publicly available and suitable for MCP are implemented as tools.

Use Cases

  • Ask about information in Kibela
  • Organize folders and articles in Kibela
  • Using AI to help you write with Kibela

Requirements

  1. Docker is installed
  2. Docker must be running
  3. Kibela access tokens is issued
  4. An application that implements the MCP client must be installed

Installation

Example: Claude Desktop

Write the following configuration to claude_desktop_config.json. Set the Kibela origin and access token as environment variables.

{
  "mcpServers": {
    "kibela": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "KIBELA_ORIGIN",
        "-e",
        "KIBELA_ACCESS_TOKEN",
        "ghcr.io/kibela/kibela-mcp-server"
      ],
      "env": {
        "KIBELA_ORIGIN": "https://your-subdomain.kibe.la",
        "KIBELA_ACCESS_TOKEN": "***"
      }
    }
  }
}

No Docker

Then set the script as the execution command. At this time, make sure that the path to the script is absolute.

{
  "mcpServers": {
    "kibela": {
      "command": "/path/to/kibela-mcp-server/bin/cli.mjs",
      "env": {
        "KIBELA_ORIGIN": "https://your-subdomain.kibe.la",
        "KIBELA_ACCESS_TOKEN": "***"
      }
    }
  }
}

Available Tools

Note Operations

  • search_kibela_note - Search notes

    • query: Search keyword (required)
    • resources: Resource type filter (optional)
    • coediting: Co-editing flag (optional)
    • updated: Update date range (optional)
    • groupIds: Group ID filter (optional)
    • folderIds: Folder ID filter (optional)
    • likerIds: Liker user ID filter (optional)
    • isArchived: Archive flag (optional)
    • sortBy: Sort order (optional)
  • get_kibela_note_by_relay_id - Get a note by Relay ID

    • id: Note's Relay ID (required)
  • get_kibela_note_from_path_or_url - Get a note from path or URL

    • path: Note's path or URL (required)
  • get_kibela_notes - Get notes in a folder

    • folderId: Folder ID (required)
    • first: Number of records from front (optional)
    • last: Number of records from back (optional)
  • create_kibela_note - Create a new note

    • title: Note title (required)
    • content: Note content (required)
    • draft: Draft flag (optional)
    • groupIds: List of group IDs to belong to (required)
    • folders: Folder information (optional)
      • groupId: Group ID
      • folderName: Folder name
  • update_kibela_note_content - Update note content

    • id: Note ID (required)
    • newContent: New content (required)
    • baseContent: Original content (required)

Folder Operations

  • search_kibela_folder - Search folders

    • query: Search keyword (required)
  • get_kibela_folder_by_relay_id - Get a folder by Relay ID

    • id: Folder's Relay ID (required)
    • first: Number of records from front (optional)
  • get_kibela_folder_from_path_or_url - Get a folder from path or URL

    • path: Folder's path or URL (required)
    • first: Number of records from front (optional)
  • get_kibela_folders - Get folder list

    • first: Number of records from front (optional)
    • last: Number of records from back (optional)
  • create_kibela_folder - Create a new folder

    • groupId: Group ID (required)
    • fullName: Full path name of the folder (required)
  • move_kibela_note_to_another_folder - Move a note to another folder

    • id: Note ID (required)
    • fromFolder: Source folder information (required)
      • groupId: Group ID
      • folderName: Folder name
    • toFolder: Destination folder information (required)
      • groupId: Group ID
      • folderName: Folder name
  • attach_kibela_note_to_folder - Associate a note with a folder

    • id: Note ID (required)
    • folder: Folder information (required)
      • groupId: Group ID
      • folderName: Folder name

Comment Operations

  • create_kibela_comment - Create a comment on a note

    • content: Comment content (required)
    • noteId: Target note ID (required)
  • create_kibela_comment_reply - Create a reply to a comment

    • content: Reply content (required)
    • commentId: Target comment ID (required)

Other Operations

  • get_kibela_groups - Get group list

    • first: Number of records from front (optional)
    • last: Number of records from back (optional)
  • get_kibela_feed_sections - Get feed section list

    • kind: Feed type (required)
    • groupId: Group ID (required)

Available Prompts

Review Prompt

Takes a URL as input and reviews the specified note.

Input schema:

{
  url: string; // URL format
}

Search Prompt

Takes a query as input and searches for relevant information.

Input schema:

{
  query: string;
}

Related Note Prompt

Takes a URL as input and explore the related note.

Input schema:

{
  url: string; // URL format
}

Reflect Comment Prompt

Takes a URL as input and reflect its comment to note.

Input schema:

{
  url: string; // URL format
}

Customization

You can customize the tool description and prompt by preparing a JSON file in the following format.

See server.ts for tool and prompt keys.

{
  "tools": {
    "search_kibela_note": {
      "description": "New description"
    }
  },
  "prompts": {
    "review": {
      "prompt": "New review prompt"
    }
  }
}

And then mount it to the container as follows:

{
  "mcpServers": {
    "kibela": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "KIBELA_ORIGIN",
        "-e",
        "KIBELA_ACCESS_TOKEN",
        "-v",
        "/path/to/kibela-mcp-server-config.json:/usr/src/app/kibela-mcp-server-config.json",
        "ghcr.io/kibela/kibela-mcp-server"
      ],
      "env": {
        "KIBELA_ORIGIN": "https://your-subdomain.kibe.la",
        "KIBELA_ACCESS_TOKEN": "***"
      }
    }
  }
}

Development

docker compose run mcp pnpm install
docker compose up

Testing with MCP Inspector

npx @modelcontextprotocol/inspector \
  -e KIBELA_ORIGIN=https://your-subdomain.kibe.la \
  -e KIBELA_ACCESS_TOKEN=*** \
  docker compose exec mcp bin/cli.mjs

License

This package is licensed under the terms of the MIT license.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured