Skip to content

MCP tools

Generated from packages/server/src/modules/agents/mcp/tools.ts. Re-run via npm run gen:mcp (also runs as part of npm run prebuild). Do not edit by hand.

Kryton’s MCP server exposes 33 tools. Each is invocable by any AI agent that has been issued a Kryton API key with the appropriate scope.

Star a note (add it to favorites). No-op if already favorited.

Scope: read-write

Parameters:

NameTypeRequiredDescription
pathstringyesNote path to favorite (e.g. ‘folder/my-note.md’)

Append markdown content to the end of an existing note. Adds a leading blank line if the note doesn’t end in one.

Scope: read-write

Parameters:

NameTypeRequiredDescription
pathstringyesNote path to append to
contentstringyesMarkdown content to append

Create a new folder in the knowledge base.

Scope: read-write

Parameters:

NameTypeRequiredDescription
pathstringyesPath for the new folder (e.g. ‘projects/new-folder’)

Create a new markdown note.

Scope: read-write

Parameters:

NameTypeRequiredDescription
pathstringyesPath for the new note (e.g. ‘folder/new-note.md’)
contentstringyesMarkdown content for the note

Create a new note from an existing template.

Scope: read-write

Parameters:

NameTypeRequiredDescription
templateNamestringyesName of the template to use
notePathstringyesPath for the new note

Delete an empty folder. Use trash for notes; deleting a non-empty folder fails.

Scope: read-write

Parameters:

NameTypeRequiredDescription
pathstringyesFolder path to delete

Delete a note by its path.

Scope: read-write

Parameters:

NameTypeRequiredDescription
pathstringyesPath of the note to delete

Permanently delete every note currently in trash. NOT REVERSIBLE.

Scope: read-write

Parameters: none.

Get all notes that contain wiki-links pointing to the given path.

Scope: read-only

Parameters:

NameTypeRequiredDescription
pathstringyesPath of the note to find backlinks for

Get today’s daily note. Returns the note content if it exists, or indicates it doesn’t exist yet.

Scope: read-only

Parameters: none.

Get the full wiki-link graph with nodes (notes) and edges (links between them).

Scope: read-only

Parameters: none.

Get a note’s title + modifiedAt + size without pulling the full content. Cheap discovery.

Scope: read-only

Parameters:

NameTypeRequiredDescription
pathstringyesNote path

List all daily notes (Daily/YYYY-MM-DD.md), newest first.

Scope: read-only

Parameters:

NameTypeRequiredDescription
limitnumbernoMax daily notes to return (default 30)

List the paths of notes the user has starred / favorited.

Scope: read-only

Parameters: none.

List the folder structure of the knowledge base.

Scope: read-only

Parameters: none.

List all notes in the knowledge base. Returns paths and titles.

Scope: read-only

Parameters: none.

List notes that contain a given tag. Returns paths + titles.

Scope: read-only

Parameters:

NameTypeRequiredDescription
tagstringyesTag name without the leading ’#’ (e.g. ‘project’, ‘idea’)

List notes sorted by most-recently-modified first. Useful for ‘what was I working on’ queries.

Scope: read-only

Parameters:

NameTypeRequiredDescription
limitnumbernoMax notes to return (default 20)

List shares the current user owns (notes they’ve shared with others).

Scope: read-only

Parameters: none.

List notes other users have shared with the current user.

Scope: read-only

Parameters: none.

List all tags used across notes with their counts.

Scope: read-only

Parameters: none.

List available note templates.

Scope: read-only

Parameters: none.

List notes currently in trash.

Scope: read-only

Parameters: none.

Read a note’s markdown content by its path.

Scope: read-only

Parameters:

NameTypeRequiredDescription
pathstringyesNote path relative to notes root (e.g. ‘folder/my-note.md’)

Unstar a note. No-op if not currently favorited.

Scope: read-write

Parameters:

NameTypeRequiredDescription
pathstringyesNote path to unfavorite

Rename or move a folder. All notes inside move with it; wiki-links update.

Scope: read-write

Parameters:

NameTypeRequiredDescription
oldPathstringyesCurrent folder path (e.g. ‘projects/old-name’)
newPathstringyesNew folder path

Rename or move a note. Updates wiki-links + tag/search indexes atomically.

Scope: read-write

Parameters:

NameTypeRequiredDescription
oldPathstringyesCurrent note path (e.g. ‘folder/old-name.md’)
newPathstringyesNew note path (e.g. ‘folder/new-name.md’ or ‘other/folder/old-name.md’)

Restore a previously-deleted note from trash back to its original location.

Scope: read-write

Parameters:

NameTypeRequiredDescription
pathstringyesNote path as it appears in list_trash

Full-text search across all notes. Returns matching paths, titles, and snippets.

Scope: read-only

Parameters:

NameTypeRequiredDescription
querystringyesSearch query string

Share a note (or folder) with another user by their user id. Permission is ‘read’ or ‘readwrite’.

Scope: read-write

Parameters:

NameTypeRequiredDescription
pathstringyesNote or folder path to share
sharedWithUserIdstringyesRecipient’s user id
permissionstringyes’read’ or ‘readwrite’
isFolderbooleannoTrue if sharing a folder (default false)

Revoke an existing share by its id (get the id from list_shares).

Scope: read-write

Parameters:

NameTypeRequiredDescription
shareIdstringyesShare id returned by list_shares

Update a note’s content (full replacement). Read the note first to get current content.

Scope: read-write

Parameters:

NameTypeRequiredDescription
pathstringyesPath of the note to update
contentstringyesNew markdown content (replaces entire note)

Create or replace today’s daily note (at Daily/YYYY-MM-DD.md). Use append_to_note instead if you want to add to existing content without overwriting.

Scope: read-write

Parameters:

NameTypeRequiredDescription
contentstringyesFull markdown content for today’s daily note