Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ZK_DIRYesThe path to your zk notes directory.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_note_pathsA

Get a list of note paths that match the filter criteria using zk CLI.

Args: include_str (list[str]): Filter notes by strings contained in content or filename include_str_operand (Literal['AND', 'OR']): Logical operator applied to multiple include_str filters ('AND' or 'OR') exclude_str (list[str]): Exclude notes containing these strings in content or filename include_tags (list[str]): Filter to notes with specified tags include_tags_operand (Literal['AND', 'OR']): Logical operator applied to multiple include_tags ('AND' or 'OR') exclude_tags (list[str]): Exclude notes with specified tags

Returns: str: JSON string containing a list of note file paths and title information matching the filter criteria.

get_linking_notesA

Get all linking information related to the specified note.

This tool searches for notes with the following three types of link relationships to a specific note path:

  • Notes that the specified note links to (link_to)

  • Notes that link to the specified note (linked_by)

  • Notes that are related to the specified note (related)

Args: path (str): Path to the note file to get linking information for

Returns: str: JSON string containing linking information. Includes note lists for three different link types (link_to_notes, linked_by_notes, related_notes).

get_tagsD
get_noteA

Read and return the contents of the note at the specified path.

Args: path (str): Path to the note file to read

Returns: str: The note content

create_noteA

Create a new note with the specified title.

Args: title (str): Title of the note to create directory (str): Directory to create the note in (optional)

Returns: str: JSON string containing path information for the created note

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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-mcp'

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