Skip to main content
Glama
koei-kaji

zk-utils

by koei-kaji

zk-utils

zk-utils is an MCP (Model Context Protocol) server for zk note management tools. It provides functionality for note search, creation, and link analysis by integrating with zk.

Prerequisites

  • zk command line tool

Usage

Add the following to mcp configuration file:

{
  "mcpServers": {
    "zk-mcp": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/koei-kaji/zk-utils", "zk-utils-mcp"],
      "env": {
        "ZK_DIR": "/path/to/your/notes"
      }
    }
  }
}

Environment Variables

  • ZK_DIR: Path to zk notes directory (required)

Using Docker

Initial Setup

If you are creating a zk notebook for the first time, initialize the note directory with zk init:

cd /path/to/your/zk-notes
docker run -it --rm -v $(pwd):/zk-notes -w /zk-notes koeikajidev/zk-utils-mcp zk init

MCP Configuration

Add the following to mcp configuration file:

{
  "mcpServers": {
    "zk-utils": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "/absolute/path/to/your/zk-notes:/zk-notes:ro",
        "koeikajidev/zk-utils-mcp"
      ]
    }
  }
}

Note: Use absolute path for the zk-notes directory.

Available MCP Tools

  • get_notes: Search and retrieve zk notes with filtering and pagination

  • get_note_content: Retrieve the full content of a specific zk note

  • get_link_to_notes: Get all notes that are linked FROM the specified note (outbound links)

  • get_linked_by_notes: Get all notes that link TO the specified note (inbound links)

  • get_related_notes: Find notes that could be good candidates for linking

  • get_tags: Retrieve all available tags from the zk note collection

  • create_note: Create a new zk note with the specified title and path

  • get_last_modified_note: Retrieve the most recently modified note

  • get_tagless_notes: Retrieve all notes that have no tags assigned

  • get_random_note: Retrieve a randomly selected note from the zk collection

A
license - permissive license
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/koei-kaji/zk-utils'

If you have feedback or need assistance with the MCP directory API, please join our Discord server