Skip to main content
Glama

Hillnote MCP Server

NPM Version License: MIT MCP SDK Platform Node

Official Model Context Protocol (MCP) server for Hillnote. It runs on your computer, next to the Hillnote app, and gives AI agents three things:

  • Control of the Hillnote app. While the app is open, agents show their work on screen instead of only describing it. They can open a document at the passage they mean, present a deck, open a board on the right card, jot something in the Notepad, open code in Build mode and check the app you are building. See Drive the Hillnote app.

  • The hillnote command. Every tool is also a shell command, so terminal agents (Claude Code, Codex, Cursor's agent…) can use Hillnote without loading any tool definitions. See The hillnote command.

  • Your local workspaces. Agents read and edit documents, databases, sheets, libraries, moodboards, slides and HTML tools straight from the files on this computer.

Hillnote's cloud MCP server (https://hillnote.com/mcp) reaches synced workspaces from anywhere, but it can't drive the app or run commands. That needs this server, which runs next to the app.

Platform Support: Supports macOS, Windows, and Linux.

Features

  • πŸ–₯️ App Control - Drive the running Hillnote app: open documents at a heading, present slides, open databases, sheets and libraries, use the Notepad, Build mode and live preview checks

  • ⌨️ The hillnote command - Every tool as a shell command for terminal agents; ships with the desktop app

  • πŸ“ Multi-Workspace Support - Manage multiple document workspaces

  • πŸ“ Document Management - Full CRUD operations for documents

  • πŸ” Smart Search - Fuzzy search with intelligent ranking across titles, tags, and content

  • ✏️ Content Manipulation - Advanced content editing with validation and preview

  • 🎯 AI Recipes - Manage and execute AI prompt recipes

  • πŸ› οΈ HTML Tools - Create interactive HTML-based utilities

  • πŸ“‹ Database & Task Management - Create databases with rows, columns, views, and kanban boards for task tracking

  • 🎨 Slide Presentations - Two-phase slide creation with storytelling guides and visual design tools

  • πŸ“Œ Moodboards - Build free-form boards of images, document cards, videos, text notes, sticky notes, links, swatches, frames and connectors

  • 🏷️ Metadata Support - Rich document metadata with tags, emojis, and descriptions

Related MCP server: obsidian-mcp-server

Drive the Hillnote app

While the Hillnote app is open, agents can put what they mean on your screen:

You ask

What happens in the app

"Show me the Risks section of the roadmap"

open_document opens it, scrolls to the heading and highlights it

"Present the Q3 review"

show_slide puts the deck in presentation view on the right slide

"Open Tasks as a kanban, on the Ship CLI card"

open_database switches the view and flashes the card. Cards the agent moves slide to their new column live

"Where does the handbook say that?"

open_library opens the section it cited

"How does the board look?"

render_moodboard returns a picture of the board, painted by the app

"Jot this down"

notepad adds it to the workspace's scratchpad instead of creating a document

"Open the file you changed"

build_mode opens it in Build mode's code editor, at the line

"Does the settings page still work?"

check_preview loads it like a new visitor and returns console errors, failed requests and a screenshot

"What am I looking at?"

get_app_state reads the open workspace and document, including whether it has unsaved edits

You can follow each step in the app's activity feed (post_activity). The first app-control call from a new agent asks for your approval inside Hillnote, and the app remembers your answer for that agent (Settings β†’ Connections). Apart from render_moodboard, every other tool works on the files directly, so it doesn't need the app to be running. All 14 app-control tools are listed under App Interface Control below.

The hillnote command (Hillnote desktop app)

Agents that work in a terminal (Claude Code, Codex, Cursor's agent…) can use the same tools as shell commands instead of connecting an MCP client β€” nothing is loaded into the agent's context until it runs hillnote --help:

hillnote status
hillnote view Roadmap --outline
hillnote db rows Tasks --where 'status is "In Progress"' --fields title,due
hillnote doc edit Roadmap --old "ships in Q3" --new "ships in Q4" --dry-run
hillnote db create Tasks --column "Status:status=To Do|Doing|Done" --kanban status
hillnote lib search "notice period" && hillnote lib view s-4f2a9c
hillnote guide moodboard && hillnote board add "Brand Inspiration.moodboard" --file items.json
hillnote doc delete "Old draft" --yes && hillnote trash restore "Old draft"
hillnote automation set Tasks "In progress" --agent claude --when-done Review   # kanban: an agent per status
hillnote schedule add Tasks "Fix login" --to "In progress" --at "2026-10-23 09:00"
hillnote open Tasks --view kanban --row "Ship CLI"   # show it in the running app
hillnote open Roadmap --heading "Risks"              # ...down to one section, highlighted
hillnote app build open src/App.jsx --line 42        # Build mode: show code in the app's editor
hillnote preview check /settings                     # the app you are building: errors + a screenshot
hillnote app notepad append --text "- call the printer back"
hillnote raw --list            # the escape hatch: any tool in this server as  hillnote raw <tool> --args '{…}'

Every tool in this server has a command (hillnote --help): documents, databases and their structure, sheets, libraries and playbooks, moodboards, HTML tools, recipes, kanban automation and scheduled moves, the authoring guides, and the app-control tools.

The command ships with the Hillnote desktop app, not with this npm package. It is on PATH in every terminal the app opens; for your own terminal and agent apps, press Configure next to your agent app in Settings β†’ Connections β†’ Local MCP (it adds the Hillnote skill too), or install just the command from the Command line card. It runs on the app's own runtime, so it needs no Node.js install. Deleted documents, database rows and databases go to .hillnote/trash/ in the workspace; hillnote trash restore <name> (the restore_from_trash tool) puts one back, registry entry included.

Requirements

  • macOS, Windows, or Linux

  • Hillnote Desktop App

  • Node.js >= 18.0.0

  • MCP-compatible client (Claude Desktop, Cursor, VS Code, etc.)

Installation

# Install globally (IMPORTANT: Use -g flag!)
npm install -g @hillnote/mcp-server

# Verify installation worked
npm list -g @hillnote/mcp-server

# If using Homebrew Node.js, the files will be in:
# /opt/homebrew/lib/node_modules/@hillnote/mcp-server/

⚠️ Important: The -g flag is required for global installation. Without it, the package installs locally and won't work with the Claude Desktop configuration.

Option 2: Install from Source

# Clone the repository
git clone https://github.com/hillnote/hillnote-mcp-server.git
cd hillnote-mcp-server

# Install dependencies (NO -g flag needed here)
npm install

Updating to Latest Version

NPM Installation

# Update to the latest version
npm update -g @hillnote/mcp-server

# Or reinstall to force latest version
npm install -g @hillnote/mcp-server@latest

# Check current version
npm list -g @hillnote/mcp-server

# After updating, restart your MCP client (Claude Desktop, Cursor, etc.)

Source Installation

# Navigate to your cloned repository
cd /path/to/hillnote-mcp-server

# Pull latest changes
git pull origin main

# Reinstall dependencies
npm install

# After updating, restart your MCP client

Version Check

To see what version you're currently running:

# For NPM installation
npm list -g @hillnote/mcp-server

# For source installation
cd /path/to/hillnote-mcp-server
cat package.json | grep version

Troubleshooting Updates

If you experience issues after updating:

  1. Clear npm cache:

    npm cache clean --force
  2. Uninstall and reinstall:

    npm uninstall -g @hillnote/mcp-server
    npm install -g @hillnote/mcp-server
  3. Restart your MCP client completely (not just reload - fully quit and reopen)

Configuration

The MCP server automatically discovers all your Hillnote workspaces from the app's configuration:

  • macOS: ~/Library/Application Support/Hillnote/workspaces.json

  • Windows: %APPDATA%/Hillnote/workspaces.json

  • Linux: ~/.config/Hillnote/workspaces.json

The Hillnote app can also set up Claude Desktop for you, with no Node.js install: Settings β†’ Connections β†’ Local MCP β†’ Configure next to Claude Desktop. It uses the server bundled with the app.

Name the server hillnote-app, as the app does. hillnote is the name Hillnote's cloud MCP server uses, so the two can be connected side by side.

Configuration Examples

NPM Installation

If installed via NPM, use your global Node modules path:

{
  "mcpServers": {
    "hillnote-app": {
      "command": "hillnote-mcp"
    }
  }
}

Find your path with: npm root -g

Source Installation

If cloned from GitHub:

{
  "mcpServers": {
    "hillnote-app": {
      "command": "node",
      "args": ["/path/to/hillnote-mcp-server/index.js"]
    }
  }
}

Client-Specific Configuration

Location: ~/Library/Application Support/Claude/claude_desktop_config.json

Add the configuration above to this file.

Location: Settings β†’ Features β†’ MCP

Add the configuration above to the MCP servers section.

Install an MCP extension and add the configuration to your settings.json or extension configuration.

Available Tools

πŸ“ Workspace Management

list_workspaces

Lists all available workspaces with document counts and metadata.

// No input required
// Returns: Array of workspace objects with path, name, overview, and documentCount

read_registry

Get complete workspace overview including all documents, folders, and relationships.

// Input: { workspace: "workspace-name" }
// Returns: Complete registry with documents and folder structure

πŸ“„ Document Operations

read_document

Read a specific document's content and metadata.

// Input: { workspace: "workspace-name", documentId: "doc-id" }
// Returns: Document content, metadata, and frontmatter

add_document

Create a new document with content and metadata.

// Input: {
//   workspace: "workspace-name",
//   name: "Document Name",
//   content: "Document content",
//   emoji: "πŸ“„",
//   description: "Brief description",
//   parent: "optional-folder-id"
// }
// Returns: { success: true, documentId: "new-id", fileName: "Document Name.md" }

The document keeps the title you give it: Hillnote lists a document under its file name, so the file is Document Name.md β€” only characters a file name cannot hold (/ \ : * ? " < > |) are dropped. Titles in any script work (δΌšθ­°γƒ‘γƒ’.md). Nothing is ever overwritten: an existing file with that name is an error.

rename_document

Rename a document and update its file name.

// Input: { workspace: "workspace-name", documentId: "doc-id", newTitle: "New Title" }
// Returns: { success: true, newFileName: "New Title.md", path: "documents/New Title.md" }

A true rename: the content is kept byte for byte and the registry entry (emoji, pin, position) moves with it. Links to the document from other documents are not rewritten.

delete_document

Delete a document. Recoverable: the file moves to .hillnote/trash/<timestamp>/… in the workspace (kept 30 days) and restore_from_trash puts it back.

// Input: { workspace: "workspace-name", documentId: "documents/Old Draft.md" }
// Returns: { success: true, path: "documents/Old Draft.md", trashPath: ".hillnote/trash/2026-09-18T10-00-00-000Z/documents/Old Draft.md" }

πŸ—‘οΈ Trash

delete_document, delete_rows and delete_database move their target to the workspace trash instead of unlinking it. (Sheet rows and moodboard items are not recoverable.)

list_trash

What the trash holds, newest first.

// Input: { workspace: "workspace-name" }
// Returns: { items: [{ path: "documents/Old Draft.md", kind: "document", deletedAt: "…", trashPath: "…" }], count: 1, retentionDays: 30 }

restore_from_trash

Put a deleted document, database row or database back where it was β€” with the registry entry (emoji, pin, position, links) it had. Never overwrites: if something now exists at the original path, the restore is refused.

// Input: { workspace: "workspace-name", path: "documents/Old Draft.md" }   // or its trashPath, or just "Old Draft"
// Returns: { success: true, path: "documents/Old Draft.md", kind: "document", registryEntriesRestored: 1 }

search_documents

Search documents with fuzzy matching and smart ranking.

// Input: {
//   query: "search term",
//   workspace: "optional-workspace",
//   fuzzy: true,
//   threshold: 0.6,
//   limit: 10
// }
// Returns: Ranked search results with snippets and scores

✏️ Content Manipulation

insert_content

Insert content at a specific position with validation.

// Input: {
//   workspace: "workspace-name",
//   documentId: "doc-id",
//   position: "start" | "end" | number | { line: number } | { after: "heading" },
//   text: "Content to insert",
//   validate: true,
//   preview: true
// }
// Returns: { success: true, preview: "...", validation: {...} }

replace_content

Replace text in a document with preview and occurrence info.

// Input: {
//   workspace: "workspace-name",
//   documentId: "doc-id",
//   searchText: "text to find",
//   replaceText: "replacement text",
//   all: false,
//   caseSensitive: false,
//   wholeWord: false,
//   useRegex: false
// }
// Returns: { success: true, replacements: 1, preview: "..." }

delete_content

Delete content between positions or patterns.

// Input: {
//   workspace: "workspace-name",
//   documentId: "doc-id",
//   startPos: 0 | { line: 5 } | { pattern: "## Section" },
//   endPos: 100 | { line: 10 } | { pattern: "## Next Section" }
// }
// Returns: { success: true, deletedChars: 95, preview: "..." }

🎯 AI Recipe Management

Recipes are AI prompt overrides that trigger custom instructions when a user's request matches specific topics.

list_recipes

List all AI prompt recipes in a workspace.

// Input: { workspacePath: "/path/to/workspace" }
// Returns: Array of recipe objects with metadata

get_recipe

Get a specific recipe by ID.

// Input: { workspacePath: "/path/to/workspace", recipeId: "recipe-id" }
// Returns: Complete recipe with trigger, instructions, and document references

create_recipe

Create a new AI prompt recipe.

// Input: {
//   workspacePath: "/path/to/workspace",
//   recipe: {
//     when_user_asks_about: "quarterly reports",
//     override_instructions: "Use the company template and include KPIs...",
//     required_documents: ["documents/template.md"],
//     optional_documents: ["documents/past-reports.md"],
//     output_format: "markdown"
//   }
// }
// Returns: { success: true, recipe: { id: "recipe_...", ... } }

update_recipe

Update an existing recipe.

// Input: {
//   workspacePath: "/path/to/workspace",
//   recipeId: "recipe-id",
//   updates: {
//     when_user_asks_about: "updated trigger",
//     override_instructions: "updated instructions"
//   }
// }
// Returns: { success: true }

get_recipe_documents

Load the content of documents referenced by a recipe.

// Input: { workspacePath: "/path/to/workspace", recipeId: "recipe-id", includeOptional: true }
// Returns: { recipe: {...}, documents: { required: [...], optional: [...] } }

πŸ“‹ Database & Task Management

Databases are flexible folders containing markdown files (rows) with a database.json configuration. They can be used as task boards by adding status columns with kanban views.

create_database

Create a new database in a workspace.

// Input: {
//   workspace: "workspace-name",
//   name: "Project Tasks",
//   columns: [
//     { id: "title", name: "Title", type: "title" },
//     { id: "status", name: "Status", type: "status",
//       options: ["To Do", "In Progress", "Done", "Archived"],
//       optionColors: { "To Do": "gray", "In Progress": "amber", "Done": "emerald", "Archived": "purple" },
//       optionStates: { "To Do": "normal", "In Progress": "normal", "Done": "done", "Archived": "archive" }
//     },
//     { id: "priority", name: "Priority", type: "select", options: ["Low", "Medium", "High"] },
//     { id: "recurring", name: "Recurring", type: "recurring" }
//   ],
//   views: [
//     { id: "kanban", name: "Board", type: "kanban", groupBy: "status" },
//     { id: "table", name: "Table", type: "table" }
//   ],
//   defaultView: "kanban",
//   folderPath: "optional/subfolder"
// }
// Returns: { success: true, name: "...", path: "..." }

Column types: title, text, number, select, multiselect, status, checkbox, date, url, email, recurring, location, image

Status columns support optionStates mapping each option to "normal", "done" (strikethrough), or "archive" (dimmed) β€” enabling kanban board behaviour.

Recurring columns support auto-resetting tasks on daily/weekly/monthly/yearly schedules.

read_database

Read a database with optional filtering, sorting, and searching.

// Input: {
//   workspace: "workspace-name",
//   databasePath: "Project Tasks",
//   search: "optional search query",
//   filters: [{ column: "status", operator: "equals", value: "In Progress" }],
//   sort: { column: "priority", direction: "desc" },
//   viewId: "kanban",
//   limit: 50
// }
// Returns: Database config (columns, views) and matching rows

list_databases

List all databases in a workspace.

// Input: { workspace: "workspace-name" }
// Returns: Array of databases with metadata and row counts

delete_database

Delete a database and all its rows. Blocked unless confirm: true. Recoverable: the folder moves to the workspace trash (restore_from_trash).

// Input: { workspace: "workspace-name", databasePath: "Project Tasks" }
// Returns: { success: true }

add_rows

Add one or more rows to a database.

// Input: {
//   workspace: "workspace-name",
//   databasePath: "Project Tasks",
//   rows: [
//     { title: "Implement feature X", status: "To Do", priority: "High", _content: "Task details..." },
//     { title: "Fix bug Y", status: "In Progress", priority: "Medium" }
//   ]
// }
// Returns: { success: true, addedRows: [{ title: "Implement feature X", fileName: "Implement feature X.md", … }], count: 2 }

A row's file name is its title β€” in the app and here β€” so a row keeps the title you give it (Implement feature X.md); a duplicate title becomes Implement feature X 2. addedRows[].title is the name the row now has.

update_rows

Update rows by ID (file path) or matching criteria.

// Input: {
//   workspace: "workspace-name",
//   databasePath: "Project Tasks",
//   updates: { status: "Done", priority: "Low" },
//   ids: ["/path/to/row.md"],       // by file path
//   where: { status: "In Progress" } // or by criteria
// }
// Returns: { success: true, updatedRows: [...], count: 1 }

updates.title renames the row's file (one row at a time). The file is written in place and then renamed β€” a rename never deletes anything, and a title that names the file the row already has is a plain update.

Filters (read_database, read_sheet): greaterThan / lessThan (and the sheet's …OrEqual forms) compare dates when the filter value is one ({ column: "due", operator: "lessThan", value: "2026-10-01" }), and equals on a multiselect column means "has this option".

delete_rows

Delete rows by ID or matching criteria.

// Input: {
//   workspace: "workspace-name",
//   databasePath: "Project Tasks",
//   ids: ["/path/to/row.md"],
//   where: { status: "Archived" }
// }
// Returns: { success: true, deletedRows: [{ title: "…", trashPath: "…" }] }

Recoverable: deleted row files move to the workspace trash (restore_from_trash takes a row's original path or its title). A where that matches several rows needs allowMultiple: true.

add_column

Add a new column to a database.

// Input: {
//   workspace: "workspace-name",
//   databasePath: "Project Tasks",
//   column: { id: "assignee", name: "Assignee", type: "text" },
//   defaultValue: "Unassigned"
// }
// Returns: { success: true }

update_column

Update column properties (name, type, options, colors, states).

// Input: {
//   workspace: "workspace-name",
//   databasePath: "Project Tasks",
//   columnId: "status",
//   updates: { options: ["To Do", "In Progress", "Review", "Done"] }
// }
// Returns: { success: true }

delete_column

Remove a column from a database and all rows.

// Input: { workspace: "workspace-name", databasePath: "Project Tasks", columnId: "priority" }
// Returns: { success: true }

create_view

Create a saved view with filters, sorts, and display options.

// Input: {
//   workspace: "workspace-name",
//   databasePath: "Project Tasks",
//   view: {
//     name: "Active Tasks",
//     type: "kanban",        // table, kanban, gallery, calendar, chart, gantt, dashboard, map (Custom tool views: add_tool_view)
//     groupBy: "status",
//     filters: [{ column: "status", operator: "notEquals", value: "Archived" }],
//     sorts: [{ column: "priority", direction: "desc" }]
//   }
// }
// Returns: { success: true, viewId: "..." }

list_views

List all saved views for a database.

// Input: { workspace: "workspace-name", databasePath: "Project Tasks" }
// Returns: Array of view configurations

πŸ’Ύ Sheets

Sheets are CSV-backed datasets: a folder with a sheet.json config and a single data.csv β€” no per-row documents, built for large datasets (tens of thousands of rows). Rows carry stable ids in a hidden _hnid CSV column; edits made through these tools are merged into a running Hillnote app within a couple of seconds (or on the sheet's next open). Sheets can be LARGE β€” always filter/search and paginate.

list_sheets

List all sheets in a workspace with their columns and row counts.

// Input: { workspace: "workspace-name" }
// Returns: { sheets: [{ name, path, columns: [{ id, name, type }], rowCount }], count }

read_sheet

Read a sheet with filtering, sorting, searching, and pagination.

// Input: {
//   workspace: "workspace-name",
//   sheetPath: "Customers",              // relative to documents/, from list_sheets
//   search: "acme",                      // optional, matched across all columns
//   filters: [{ column: "plan", operator: "equals", value: "Pro" }],
//   sort: { column: "mrr", direction: "desc" },
//   limit: 50,                           // default 50, max 200
//   offset: 0
// }
// Returns: { sheet: { name, path, columns, views }, rows: [{ id, ...cells }],
//            count, totalRows, hasMore }

Filter operators: equals, notEquals, contains, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, isEmpty, isNotEmpty

add_sheet_rows

Append rows to a sheet (row ids are generated automatically).

// Input: {
//   workspace: "workspace-name",
//   sheetPath: "Customers",
//   rows: [{ title: "Acme Corp", email: "hi@acme.com", mrr: 99 }]
// }
// Returns: { success: true, added: 1, ids: ["r_..."], totalRows: 30001 }

update_sheet_rows

Update cells on existing rows, targeted by id or by equality match.

// Input: {
//   workspace: "workspace-name",
//   sheetPath: "Customers",
//   updates: { plan: "Pro", mrr: 199 },
//   options: { ids: ["r_..."] }          // or { where: { column: "email", value: "hi@acme.com" } }
// }
// Returns: { success: true, count: 1, updatedIds: ["r_..."] }

delete_sheet_rows

Permanently delete rows by id. Requires confirm: true.

// Input: { workspace: "workspace-name", sheetPath: "Customers",
//          ids: ["r_..."], confirm: true }
// Returns: { success: true, deleted: 1, totalRows: 30000 }

create_sheet

Create a new sheet. The first column is always the title column.

// Input: {
//   workspace: "workspace-name",
//   name: "Customers",
//   columns: [
//     { name: "Customer" },                                   // first = title column
//     { name: "MRR", type: "number" },
//     { name: "Plan", type: "select", options: ["Free", "Pro"] }
//   ],
//   rows: [{ title: "Acme Corp", mrr: 99, plan: "Pro" }],     // optional seed rows
//   folderPath: "optional/subfolder"
// }
// Returns: { success: true, sheetPath: "Customers", columns, rowCount: 1 }

Column types: title, text, number, checkbox, date, datetime, email, url, select, multiselect

πŸ€– Kanban Automation (local only)

A database or sheet with a status column can run its board by itself. Per status, Hillnote can start an agent CLI (claude, codex, cursor, antigravity, copilot) on a card that lands there β€” in the board's project folder, with the task as its prompt β€” and/or auto-move every card that lands there on to another status (as soon as it lands, or after a delay). Single cards can be scheduled to move at a set time.

Only moves Hillnote makes set anything off (a drag in the app, or a scheduled move it applies): editing a status with update_rows / update_sheet_rows starts nothing. To hand a card on, schedule the move β€” at: "now" works. Scheduled moves run on the machine that scheduled them, while Hillnote is open (or once when it next opens).

get_board_automation

A board's statuses with their agent and auto-move, the defaults for delegated agents, this machine's project folder, and pending scheduled moves. Omit the board to list every scheduled move in the workspace.

// Input: { workspace, databasePath: "Tasks" }        // or sheetPath; omit both for all scheduled moves
// Returns: { board, statusColumn, statuses: [{ status, agent: { cli, instructions, permissions, whenDoneMoveTo } | null,
//            autoMove: { to, afterMinutes } | null }], defaults, projectFolder: { thisBoard, allBoards, effective },
//            scheduledMoves: [{ id, row, to, at, auto, thisMachine }], agentClis, notes }

configure_board_automation

Change only what you pass. null removes an agent / auto-move / folder.

// Input: {
//   workspace, databasePath: "Tasks",
//   statuses: {
//     "In progress": { agent: { cli: "claude", instructions: "Implement it, run the tests", permissions: "ask", whenDoneMoveTo: "Review" } },
//     "Done": { autoMove: { to: "Archived", afterMinutes: 1440 } },   // 0 = as soon as it lands
//     "Inbox": { autoMove: null }
//   },
//   defaults: { permissions: "ask", closeAfterMinutes: 2, notifyOnInput: true },
//   projectFolder: { thisBoard: "/Users/me/builds/app" }                // or allBoards; this machine only
// }

schedule_card_move

Move one card to a status at a time (default "now") β€” Hillnote makes the move, so its agent and auto-move run. One schedule per card.

// Input: { workspace, databasePath: "Tasks", row: "Fix login", to: "In progress", at: "2026-10-23 09:00" }
//        // row: a database row title, or a sheet row id (r_…); at: "now" | ISO 8601 | "YYYY-MM-DD HH:MM" (local)
// Returns: { scheduled: { id, row, to, at }, whenItLands: { startsAgent, thenAutoMovesTo } }

cancel_scheduled_move

// Input: { workspace, id: "sm_…" }

🎨 Slide Presentations

Slides use a two-phase workflow: write the story first, then add visual design.

get_slides_story_guide

Get the storytelling guide with 8 proven techniques (Hero's Journey, Sparklines, In Medias Res, etc.).

// No input required
// Returns: Story-writing guide with narrative techniques and structure advice
// Important: Do NOT use any visual layout markers (~split, ~inline, ~bg-, etc.) during this phase

get_slides_visual_guide

Get the visual design guide for adding layout markers, images, charts, and diagrams.

// Input: { documentPath: "documents/my-presentation.slides.md" }
// Returns: Visual design guide with layout markers, chart types, mermaid diagrams, and examples
// Note: Requires the .slides.md file to already exist (proves story has been drafted)

Important: When creating slides with add_document, the title MUST end with .slides.md (e.g., "My Presentation.slides.md"). The .slides.md extension is what makes it a slide presentation.

Example workflow:

// 1. Get the story guide first
get_slides_story_guide()

// 2. Create the slide presentation (story content only, no visual markers)
add_document({
  workspace: "workspace-name",
  name: "Quarterly Review.slides.md",  // Note: ends with .slides.md
  content: `---
type: slides
theme: minimal
---

# Quarterly Review

Q4 2024 Results

***

# Key Metrics

- Revenue: $1.2M
- Growth: 25%
- Users: 10,000+
`
})

// 3. Get the visual guide and enhance slides in batches of 3-5
get_slides_visual_guide({ documentPath: "documents/quarterly-review.slides.md" })
// Then edit the file to add ~split, ~inline, ~bg-, images, charts, etc.

πŸ“Œ Moodboards

Moodboards (.moodboard.md) are free-form boards of images, document cards, videos, text notes, sticky notes, link cards, colour swatches, frames and shapes, optionally joined by connectors. The board JSON is machine-managed β€” never hand-edit it and never use the content tools on it (they refuse .moodboard.md paths). All six tools write the file on disk directly; an open board in the app re-parses it automatically.

get_moodboard_guide

Get the guide for creating and editing moodboards: item types, coordinates, default sizes, connectors, #index aliases and best practices.

// No input required
// Returns: { success: true, guide: "...", usage_notes: { ... } }

Important: When creating a moodboard with add_document, the title MUST end with .moodboard.md (e.g., "Brand Inspiration.moodboard.md"). Do NOT provide content β€” the system writes the empty board and returns moodboardPath.

draw_on_moodboard

Draw a diagram in one call: flowcharts, pipelines, architecture maps, org charts, mind maps and card grids. Give nodes and edges; Hillnote lays them out, sizes each box to its text and routes the arrows. Prefer it over add_moodboard_items for anything with connections. It needs no guide call.

// Input: {
//   workspace: "workspace-name",
//   moodboardPath: "documents/architecture.moodboard.md",
//   layout: "flow",                                   // flow | tree | mindmap | grid
//   direction: "LR",                                  // auto | TB | LR
//   nodes: ["Browser", { id: "api", label: "API server", tint: "mint" }, { id: "ok", label: "Cached?", shape: "diamond" }],
//   edges: [["Browser", "api", "HTTPS"], ["api", "ok"]],  // edges alone are enough
//   name: "system-overview"                           // call again with this name to redraw in place
// }
// Returns: { success: true, refs: { Browser: "m_…", api: "m_…", ok: "m_…" }, bounds, drawn, connectorsDrawn, replaced, warnings, issues }

A redraw keeps item ids but resets positions changed by hand. An unknown endpoint or duplicate id fails the call and nothing is written.

render_moodboard

See a board as a picture: the running app paints it the way Export as Image does and the result carries a PNG (about 1.6 megapixels; pass ids or region to look closer). If the app is not running, the result has rendered: false, the reason and the issues, and the app is never launched.

// Input: { workspace: "workspace-name", moodboardPath: "documents/architecture.moodboard.md", region?: { x, y, w, h }, ids?: [...] }
// Returns: { rendered: true, path, width, height, scale, issues } plus the image

Every write (draw_on_moodboard, add_moodboard_items, update_moodboard_items) returns warnings for input that was ignored or corrected, and issues for problems on the board: edge_through_item, text_overflow, overlap, label_overlap, off_frame.

read_moodboard

Read and parse a moodboard file, returning an English summary plus every item (with ids), connector and the board settings. On a large board, narrow it with ids or region ({ x, y, w, h }), or pass compact: true for ids, positions and short labels only.

// Input: { workspace: "workspace-name", moodboardPath: "documents/brand-inspiration.moodboard.md" }
// Returns: { moodboardPath, summary, board: { bg, texture, grid }, viewport, itemCount, connectorCount, strokeCount, items: [...], connectors: [...], warnings: [] }

add_moodboard_items

Append items (and optional connectors) to a moodboard file. Ids are assigned and returned. Frames go to the back layer; everything else on top.

// Input: {
//   workspace: "workspace-name",
//   moodboardPath: "documents/brand-inspiration.moodboard.md",
//   items: [
//     { type: "frame", x: 0, y: 300, w: 620, h: 200, title: "Palette", color: "sand" },
//     { type: "image", x: 0, y: 0, src: "resources/images/Brand Inspiration/coast.jpg", caption: "Coastline" },
//     { type: "swatch", x: 40, y: 340, hex: "#0f3d5e", label: "Deep sea" },
//     { type: "doc", x: 720, y: 0, path: "documents/research/notes.md", color: "mint" },
//     { type: "text", x: 720, y: 100, text: "Takeaway: pacing over polish.", fontSize: 20, tint: "peach" }
//   ],
//   connectors: [
//     { from: "#3", to: "#4", label: "cites", style: { dash: "dashed" } }   // "#<index>" = items[index] of this call
//   ]
// }
// Returns: { success: true, added: 5, ids: [...], connectorsAdded: 1, connectorIds: [...], totalItems, totalConnectors, warnings: [], summary }

Item types: image, doc, video, text, link, swatch, frame, shape, sticky

Item properties:

  • Common: type, x, y, w, h (omit w/h for the type default), locked, opacity (0..1)

  • image: src (resources/images/<board>/<file> or https://… β€” never base64/data:/absolute paths), fit (cover/contain), caption

  • doc: path (e.g. documents/notes.md), expanded, previewHeight, color (tint key)

  • video: url (YouTube/Vimeo) or provider + videoId, title

  • text: text, fontSize (14/16/20/28), align, color (hex), tint (key)

  • link: url (http/https), title, description, image (https preview picture; the app fetches og:image automatically when omitted and grows the card to 200 tall)

  • swatch: hex (#rrggbb), label

  • frame: title, color (tint key or hex)

  • shape: kind (rect/ellipse), fill, stroke, strokeWidth, radius

  • sticky: text, color (tint key; default sand = yellow, never uncoloured), fontSize (14/16/20/28), align β€” a 200Γ—200 sticky-note card that keeps its size

Connectors: { from, to, label?, style? } β€” endpoints are an item id, "#<index>" (this call's items), { item, side } (auto|top|right|bottom|left) or a free point { x, y }. style: color, width (1..12), dash (solid/dashed/dotted), start/end (none/arrow/dot), curve (curved/straight/elbow). Dropped items and unresolvable connectors are reported in warnings.

update_moodboard_items

Pass connectors: [{ id, from?, to?, label?, style? }] to change arrows as well; label: null removes a label.

Patch existing items in place by id β€” move, resize, recaption, retint, relock or change any field the item's type accepts. Connectors stay attached. Only the fields you pass change; null removes an optional field (caption, title, label, color, tint, radius, previewHeight, description, image). A patch that would leave the item invalid is skipped with a reason and the item is left as it was; items with locked: true are skipped unless the patch sets locked: false; type is immutable (remove + add instead).

// Input: {
//   workspace: "workspace-name",
//   moodboardPath: "documents/brand-inspiration.moodboard.md",
//   updates: [
//     { id: "m_a1b2c3d4", x: 360, y: 0, caption: null },          // move, drop the caption
//     { id: "m_e5f6g7h8", tint: "coral", text: "Risk: pacing" },   // retint + rewrite a note
//     { id: "m_i9j0k1l2", locked: false, w: 480, h: 270 }          // unlock and resize in one go
//   ]
// }
// Returns: { success: true, updated: 3, ids: [...], skipped: [{ id, reason }], notFound: [], warnings: [], summary, totalItems }
// Nothing updated β†’ { error: "No items were updated …", skipped, notFound } and the file is not written.

remove_moodboard_items

Remove items by id (ids; their connectors go too) or single arrows by id (connectorIds).

// Input: { workspace: "workspace-name", moodboardPath: "documents/brand-inspiration.moodboard.md", ids: ["m_a1b2c3d4"] }
// Returns: { success: true, removed: 1, removedIds: [...], notFound: [], connectorsRemoved: 1, remainingItems, remainingConnectors, summary }

clear_moodboard

Remove every item, connector and pen stroke, keeping the board's background/texture settings. A non-empty board requires confirm: true.

// Input: { workspace: "workspace-name", moodboardPath: "documents/brand-inspiration.moodboard.md", confirm: true }
// Returns: { success: true, message: "All items, connectors and pen strokes cleared from moodboard" }

Example workflow:

// 1. Get the moodboard guide first
get_moodboard_guide()

// 2. Create a new moodboard (no content)
add_document({
  workspace: "workspace-name",
  title: "Brand Inspiration.moodboard.md"  // Note: ends with .moodboard.md, no content
})
// β†’ { ..., moodboardPath: "documents/brand-inspiration.moodboard.md" }

// 3. Add items (and connectors between them)
add_moodboard_items({
  workspace: "workspace-name",
  moodboardPath: "documents/brand-inspiration.moodboard.md",
  items: [
    { type: "text", x: 0, y: 0, text: "Brand Inspiration", fontSize: 28 },
    { type: "image", x: 0, y: 160, src: "https://images.example.com/coast.jpg", caption: "Coastline" },
    { type: "swatch", x: 360, y: 160, hex: "#0f3d5e", label: "Deep sea" }
  ],
  connectors: [{ from: "#1", to: "#2", label: "palette" }]
})

// 4. Read it back (ids, connectors, settings) before editing further
read_moodboard({ workspace: "workspace-name", moodboardPath: "documents/brand-inspiration.moodboard.md" })

// 5. Change items in place β€” move, retint, recaption; connectors stay attached
update_moodboard_items({ workspace: "workspace-name", moodboardPath: "documents/brand-inspiration.moodboard.md", updates: [{ id: "m_a1b2c3d4", x: 360, caption: null }] })

// 6. Targeted removal β€” attached connectors go with the item
remove_moodboard_items({ workspace: "workspace-name", moodboardPath: "documents/brand-inspiration.moodboard.md", ids: ["m_a1b2c3d4"] })

// 7. Only to start over
clear_moodboard({ workspace: "workspace-name", moodboardPath: "documents/brand-inspiration.moodboard.md", confirm: true })

πŸ› οΈ HTML Tool Management

add_html_tool

Create an interactive HTML tool in the workspace.

// Input: {
//   workspacePath: "/path/to/workspace",
//   toolName: "calculator",
//   description: "Scientific calculator",
//   category: "utilities",  // optional
//   files: [
//     { filename: "index.html", content: "<!DOCTYPE html>...", isEntryPoint: true },
//     { filename: "styles.css", content: "body { ... }" },
//     { filename: "script.js", content: "// JS code" }
//   ]
// }
// Returns: { success: true, path: "resources/html/calculator", entryPoint: "index.html", sheets: [], markdownLink: "[html:calculator](...)" }

Tools run in a sandbox where localStorage, sessionStorage, IndexedDB and cookies don't persist. A tool keeps its records in a Sheet and small state in hillnote.settings. Declare sheets with the optional sheets parameter (max 20):

// sheets: [
//   // with columns β†’ a NEW sheet at documents/Tools/Expenses, owned by the tool (first column = row title)
//   { name: "Expenses", columns: [{ name: "Item" }, { name: "Amount", type: "number" }, { name: "Date", type: "date" }] },
//   // name only β†’ connects the EXISTING sheet with that name or folder name (the user approves access once β€”
//   // no prompt when its sheet.json is already owned by this tool)
//   { name: "CRM" }
// ]
// Returns sheets: [{ name: "Expenses", path: "Tools/Expenses", owned: true,
//   columns: [{ id: "title", name: "Item", type: "title" }, { id: "amount", name: "Amount", type: "number" }, …] }, …]

Every spec is validated before anything is written: a new sheet fails if documents/Tools/<name> already exists (connect it by name instead), column names must be distinct, types are create_sheet's (text, number, checkbox, date, datetime, email, url, select, multiselect, location, image; the first column is always the title), and a name-only spec must match exactly one sheet. The declarations are recorded in the tool's tool.meta.json (sheets), and the new sheet's sheet.json gets an owner: { tool: "resources/html/<tool>" } marker. In the tool:

const expenses = await hillnote.sheet('Expenses');
const rows = await expenses.rows();                 // [{ id, title, amount, date }] β€” keys are column ids
await expenses.add({ title: 'Coffee', amount: 3.5 });
await expenses.update(rows[0].id, { amount: 4 });
await expenses.remove(rows[0].id);
expenses.onChange(() => render());                   // edits made elsewhere in Hillnote
hillnote.settings.set('tab', 'month');              // small state: get/set/remove/all, JSON values

Existing databases and Custom views. databases: [{ name: "Cards" }] connects an existing database (connect-only β€” tools never create databases); the tool reads/writes it with await hillnote.database('Cards') (same rows/add/update/remove/onChange; row ids are the row documents' filenames and setting title renames the row). Mark one sheet or database primary: true and the tool reads it with await hillnote.data(). add_tool_view then shows the tool as a Custom view tab of a database/sheet β€” there data() is that view's rows, with the view's filters, search and sort applied (rows({ ignoreView: true }) for everything), and hillnote.context (after await hillnote.ready()) says where it is shown.

attach_tool_sheet

Give an EXISTING tool a sheet β€” for example when moving it off localStorage. Same create/connect rules as add_html_tool's sheets. Updates the tool's tool.meta.json (every other field kept; a sheet with the same name is replaced) and creates one only if the tool has none β€” a tool.meta.json that exists but can't be read is an error, and nothing is written. Parallel calls on one tool are serialized. The tool must be resources/html/<tool> or resources/html/<category>/<tool>. Loose tools (a single .html directly in resources/html/) are refused. Additive β€” never deletes sheets or rows.

// Input: {
//   workspacePath: "/path/to/workspace",
//   toolName: "expense-tracker",          // or toolPath: "resources/html/expense-tracker" (folder or entry file)
//   category: "finance",                  // optional; category folders are searched when omitted
//   sheet: { name: "Expenses", columns: [{ name: "Item" }, { name: "Amount", type: "number" }] }  // omit columns to connect
// }
// Returns: { success: true, tool: "resources/html/expense-tracker",
//   sheet: { name: "Expenses", path: "Tools/Expenses", columns: [...], owned: true },
//   hint: 'In the tool: const s = await hillnote.sheet("Expenses"); …' }

attach_tool_database

Connect an EXISTING database to an EXISTING tool (same rules as add_html_tool's databases). Updates tool.meta.json (every other field kept; an entry with the same name is replaced); the user approves access once, in the app.

// Input: { workspacePath, toolName: "deck-viewer" /* or toolPath */, database: { name: "Cards", primary: true } }
// Returns: { success: true, tool: "resources/html/deck-viewer",
//   database: { name: "Cards", path: "Games/Cards", columns: [{ id: "title", … }, …], primary: true },
//   hint: 'In the tool: const db = await hillnote.database("Cards") …' }

add_tool_view

Show a tool as a Custom view tab of a database or sheet (pass exactly one of database / sheet, by name or folder name). Appends { id, name, type: "tool", toolPath } to its views and makes it the open view; the tool's hillnote.data() reads that data with the view's filters/search/sort. The user approves the tool's access to it once, in the app.

// Input: { workspacePath, toolName: "deck-viewer" /* or toolPath */, database: "Cards" /* or sheet */, viewName: "Deck" }
// Returns: { success: true, view: { id: "deck", name: "Deck", type: "tool" },
//   source: { kind: "database", name: "Cards", path: "documents/Games/Cards" }, toolPath: "resources/html/deck-viewer/index.html" }

edit_html_tool

Edit files in an existing HTML tool (create, update, or delete files).

// Input: {
//   workspacePath: "/path/to/workspace",
//   toolName: "calculator",
//   category: "utilities",  // optional
//   operations: [
//     { action: "update", filename: "index.html", content: "<!DOCTYPE html>..." },
//     { action: "create", filename: "utils.js", content: "// new file" },
//     { action: "delete", filename: "old-file.js" }
//   ],
//   updateMetadata: { description: "Updated calculator" }
// }
// Returns: { success: true, changes: { created: [...], updated: [...], deleted: [...] } }

add_tool_to_doc

Insert an HTML tool reference into a document.

// Input: {
//   workspacePath: "/path/to/workspace",
//   documentPath: "documents/my-doc.md",
//   toolName: "calculator",
//   displayName: "My Calculator",  // optional
//   position: "end"  // "end", "beginning", or "after:<text>"
// }
// Returns: { success: true, toolLink: "[html:My Calculator](...)" }

list_html_tools

List all HTML tools in a workspace.

// Input: { workspacePath: "/path/to/workspace", category: "utilities" }
// Returns: Array of HTML tools with metadata and markdown links

get_html_tool

Get a specific HTML tool's details and files.

// Input: { workspacePath: "/path/to/workspace", toolName: "calculator", category: "utilities" }
// Returns: Tool info with all file contents, entry point, and markdown link

read_html_file

Read the content of a specific file inside an HTML tool.

// Input: { workspacePath: "/path/to/workspace", filePath: "resources/html/calculator/index.html" }
// Returns: { filePath: "...", content: "..." }

write_html_file

Write or create a file inside an HTML tool folder. tool.meta.json, tool.settings.json (the tool's hillnote.settings state) and tool_registry.json are managed files β€” this tool, replace_in_html_file and edit_html_tool refuse them, under any spelling the filesystem treats as the same file (case, ΕΏ/K compatibility forms). Names that can alias another file on Windows β€” containing : or ~<digit>, or ending in . or a space β€” are refused too.

// Input: { workspacePath: "/path/to/workspace", filePath: "resources/html/calculator/style.css", content: "body { ... }" }
// Returns: { success: true, filePath: "..." }

replace_in_html_file

Find and replace text in an HTML tool file.

// Input: {
//   workspacePath: "/path/to/workspace",
//   filePath: "resources/html/calculator/index.html",
//   searchText: "<title>Old Title</title>",
//   replaceText: "<title>New Title</title>"
// }
// Returns: { success: true, filePath: "..." }

πŸ–₯️ App Interface Control (requires the running app)

These tools drive the running Hillnote app's interface through the Agent Bridge β€” a localhost, token-gated control plane the app exposes while it's open. They let an agent visibly show its work: open the document it just wrote, switch workspaces, check what the user is looking at, open code in Build mode, check the app being built, and post progress into the in-app activity feed.

Notes:

  • The Hillnote app must be running (all other tools work without it).

  • The first UI call from a new agent shows an approval dialog inside Hillnote; the decision is remembered per client (manage under Settings β†’ Connections).

  • These tools are local-only β€” they are intentionally absent from the cloud MCP server.

get_app_state

Read what the app is currently showing: the open workspace, the open document (including isDirty β€” if true, the user has unsaved edits; don't rewrite that file with content tools until they save), and any QuickView document.

// Input: {}
// Returns: { success: true, appState: { workspace, document: { path, isDirty }, quickViewDocumentPath, windowVisible, ... } }

open_document

Open an existing document in the app so the user can see it. target: "quickview" opens a read-only side panel instead of replacing the user's main editor. Pass heading, text or anchorId to also scroll to that spot and highlight it, as scroll_to does (main editor only).

// Input: { workspace: "workspace-name", document: "Meeting Notes", target: "main" | "quickview", focusWindow: true }
// Returns: { success: true, opened: { workspace, documentPath, target } }
// or:    { workspace: "workspace-name", document: "Meeting Notes", heading: "Action items" }
// Returns: { success: true, found: 1, highlighted: true }

open_workspace

Switch the app to a workspace (shows its landing page).

// Input: { workspace: "workspace-name", focusWindow: true }
// Returns: { success: true, opened: { workspace } }

scroll_to

Scroll a document to a heading or exact text so the user can see it (opens the document first if needed). The target gets a pulsing highlight that stays until the user clicks anywhere in the editor. Fails with a clear error if not found.

// Input: { workspace: "workspace-name", document: "Meeting Notes", heading: "Action items" }
// or:    { workspace: "workspace-name", document: "Meeting Notes", text: "budget approval", highlight: false }
// Returns: { success: true, found: 1, highlighted: true }

highlight_text

Flash pulsing highlights on text ("look at this part") β€” purely visual, nothing is written to the document. Scrolls the first match into view; all: true highlights every occurrence (up to 20). Cleared when the user clicks.

// Input: { workspace: "workspace-name", document: "Meeting Notes", text: "TODO", all: true }
// Returns: { success: true, found: 4, highlighted: true }

show_slide

Jump a .slides.md deck to a specific slide (1-based), switching it into presentation view first if needed.

// Input: { workspace: "workspace-name", document: "Q3 Review.slides.md", slideNumber: 3 }
// Returns: { success: true, slide: 3, totalSlides: 8 }

open_database

Open a database (kanban/table/calendar board) in the app β€” databases are folders, so open_document doesn't apply to them. Optionally switch the view and/or flash a row (pulsing highlight until the user clicks). add_rows and update_rows also trigger the app's follow mode, which opens the database and flashes the added/renamed row automatically.

// Input: { workspace: "workspace-name", database: "tasks", view: "kanban", highlightRow: "Ship v2" }
// Returns: { success: true, database: "tasks", opened: true, view: { id, name, type }, highlightedRow: { id, title }, rowFlashed: true }

// More options:
// filters: apply ad-hoc filters on top of the view (visible in the filter bar so the user can clear them)
//   { workspace, database: "tasks", filters: [{ column: "Status", operator: "equals", value: "Open" }] }
// scrollToColumn (kanban): scroll a column into view by its header value
//   { workspace, database: "tasks", view: "kanban", scrollToColumn: "In Progress" }
// calendarMode / calendarDate (calendar): switch month/week/day and navigate to a date
//   { workspace, database: "events", view: "calendar", calendarMode: "week", calendarDate: "2026-07-15" }

Live updates: when an agent changes rows with add_rows/update_rows while the database is open, the board reindexes in place β€” on kanban, a card whose status changed visibly slides from one column to the next.

open_sheet

Open a sheet (CSV-backed dataset) in the app β€” sheets are folders, so open_document doesn't apply to them. Same controls as open_database: optionally switch the view, apply filters, drive the calendar, and/or flash a row (by its stable row id from read_sheet, or a partial title). add_sheet_rows and update_sheet_rows also trigger the app's follow mode, which opens the sheet and flashes the added/updated row automatically.

// Input: { workspace: "workspace-name", sheet: "expenses", view: "table", highlightRow: "r_1f2e3d…" }
// Returns: { success: true, sheet: "expenses", opened: true, view: { id, name, type }, highlightedRow: { id, title }, rowFlashed: true }

// More options (same shapes as open_database):
//   { workspace, sheet: "expenses", filters: [{ column: "Category", operator: "equals", value: "Travel" }] }
//   { workspace, sheet: "events", view: "calendar", calendarMode: "week", calendarDate: "2026-07-15" }

Live updates: sheet row writes broadcast into any open view of that sheet β€” the grid refreshes in place within a second.

open_library

Open a library in the app: its landing page (volumes, outlines, search), or one section when section is given. Libraries are folders, so open_document doesn't apply to them. Takes the same library/volume/section references as the library tools. Use it after search_library or get_library_section to show the passage you cited.

// Input: { workspace: "workspace-name", library: "Handbook", section: "s-4f2a9c" }
// Returns: { success: true, library: { id, title, path }, section: { id, title, file }, ... }

open_view

Show Chat, Terminal, Files or the Browser filling the app's main area instead of its side panel; view: "workspace" goes back. It switches to a tab that already shows that view, or opens a new tab, so the user's document stays open. In Files, path shows one file.

// Input: { view: "files", path: "resources/report.pdf" }
// or:    { view: "terminal" }

notepad

The workspace's Notepad: a scratchpad in the side panel for anything throwaway ("jot this down", a list for now, a number to hold on to). What should last belongs in a document. Actions: read, append (the normal way to write), replace and clear. The Notepad also holds the user's own notes, so replace and clear are for when the user asked or the text is the agent's own; they run in the open panel, so the user can undo them. About 30 KB per call at most.

// Input: { action: "append", text: "- call the printer back" }
// or:    { action: "read" }

build_mode

Drive Build mode, the app's coding side. Actions: enter, exit, open_project, open_file (a project file in the code editor, optionally at a line) and send_to_terminal. send_to_terminal only types: an instruction at the project's coding agent, or a shell command with to: "shell". Nothing is sent or run until the user presses Enter.

// Input: { action: "open_file", project: "website", file: "src/App.jsx", line: 42 }
// or:    { action: "send_to_terminal", text: "Add a dark mode toggle to the header" }

check_preview

Check a page of the app being built in a Builds project, the way a visitor sees it. Hillnote loads it in a hidden window with no cookies or storage, then reports console errors and warnings, uncaught exceptions and failed requests, with a screenshot returned as an image. Only this computer's own servers (localhost). Without url it checks the app Hillnote is running for the open project, and a path such as /settings is a page of that app.

// Input: { url: "/settings", click: "button[type=submit]", width: 390 }
// Returns: { success: true, ...the report } plus the screenshot as an image

post_activity

Post a short status line to the in-app agent activity feed so the user can follow along.

// Input: { message: "Drafting section 2…", workspace: "workspace-name", document: "Meeting Notes" }
// Returns: { success: true, posted: true }

Workspace Structure

Hillnote workspaces are typically stored in your Documents folder or custom locations:

~/Documents/YourWorkspace/
β”œβ”€β”€ readme.md                 # Workspace overview
β”œβ”€β”€ documents-registry.json   # Document metadata
β”œβ”€β”€ ai_prompt_overrides.json # AI prompt recipes/overrides
β”œβ”€β”€ documents/               # Markdown documents and databases
β”‚   β”œβ”€β”€ document-1.md
β”‚   β”œβ”€β”€ folder/
β”‚   β”‚   └── document-2.md
β”‚   └── Project Tasks/       # Database (e.g., task board)
β”‚       β”œβ”€β”€ database.json    # Database configuration (columns, views)
β”‚       β”œβ”€β”€ implement-feature-x.md  # Row (task) with frontmatter
β”‚       └── fix-bug-y.md    # Row (task) with frontmatter
└── resources/               # Assets and tools
    β”œβ”€β”€ images/             # Image attachments
    └── html/               # HTML tools
        └── tool-name/
            β”œβ”€β”€ index.html
            └── assets/

Document Format

Documents use Markdown with YAML frontmatter:

---
title: Document Title
tags: [tag1, tag2]
emoji: πŸ“„
description: Brief description
created: 2024-01-01T00:00:00Z
modified: 2024-01-02T00:00:00Z
---

# Document Title

Your content here...

Development

Project Structure

mcp-server/
β”œβ”€β”€ index.js                 # Main server entry point
β”œβ”€β”€ config.json             # Server configuration
β”œβ”€β”€ package.json            # Dependencies
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ tools/
β”‚   β”‚   β”œβ”€β”€ index.js       # Tool aggregator
β”‚   β”‚   β”œβ”€β”€ workspace.js   # Workspace tools
β”‚   β”‚   β”œβ”€β”€ document.js    # Document tools
β”‚   β”‚   β”œβ”€β”€ content.js     # Content manipulation
β”‚   β”‚   β”œβ”€β”€ search.js      # Search tools
β”‚   β”‚   β”œβ”€β”€ recipe.js      # Recipe management
β”‚   β”‚   β”œβ”€β”€ html-tool.js   # HTML tool management
β”‚   β”‚   β”œβ”€β”€ database.js    # Database, row, column, and view management
β”‚   β”‚   β”œβ”€β”€ sheet.js       # Sheets (CSV-backed datasets)
β”‚   β”‚   β”œβ”€β”€ slides.js      # Slide presentation guides (story + visual)
β”‚   β”‚   └── moodboard.js   # Moodboards (.moodboard.md) β€” read/add/update/remove/clear + guide
β”‚   └── utils/
β”‚       β”œβ”€β”€ helpers.js     # Utility functions
β”‚       β”œβ”€β”€ sheetSchema.mjs # Sheet CSV format helpers (port of the app's sheetSchema)
β”‚       └── moodboardParser.mjs # Moodboard schema, parser and serializer (copy of the app's)
└── README.md

Adding New Tools

  1. Create a new tool file in src/tools/

  2. Export tool definitions and handlers

  3. Import in src/tools/index.js

  4. Tools are automatically available to MCP clients

Running in Development

# Enable watch mode
npm run dev

# Run the server
npm start

Error Handling

All tools use structured error responses:

  • InvalidParams: Missing or invalid parameters

  • InternalError: Server-side errors

  • MethodNotFound: Unknown tool name

Security

  • File operations are sandboxed to workspace directories

  • No network requests are made, with one exception: the App Interface Control tools talk to the running Hillnote app on 127.0.0.1 only, authenticated by a per-launch token the app writes to its own config directory, and gated by per-client user consent

  • Path traversal protection included

  • Input validation on all operations

License

MIT - See LICENSE file

Support


Built with ❀️ by Rajath Bail

Available Tools

84 tools
add_columnB

Add a new column to a database. Optionally set a default value for existing rows.

Inputs: column (required), workspace (required), databasePath (required), defaultValue.

add_documentA

Create a new document in a workspace, optionally in a specific folder. NOTE: Do NOT use this for tasks in tasklists - use add_task instead. FOR SLIDES: IMPORTANT - Before creating a slide presentation, you MUST first call get_slides_story_guide. The title MUST end with ".slides.md" (e.g., "My Presentation.slides.md"). FOR MOODBOARDS: Before creating a moodboard, call get_moodboard_guide. The title MUST end with ".moodboard.md" (e.g., "Brand Inspiration.moodboard.md"). Do NOT provide content for moodboard files β€” the system writes the empty board; add items with add_moodboard_items.

Inputs: title (required), workspace (required), tags, emoji, +4 more.

add_html_toolA

Create a new HTML tool in the workspace resources/html directory. Call get_html_tool_guide first. A design-system baseline (tokens, dark mode, form/button styles) is auto-injected into HTML files at save β€” do not include CSS resets or base styles. Persist records in a Sheet: declare it in sheets (created in documents/Tools, or connect an existing sheet by name) and use await hillnote.sheet('Name') -> rows()/add()/update()/remove()/onChange(). Existing databases go in databases -> await hillnote.database('Name'). Mark the main source primary: true and read it with await hillnote.data() (add_tool_view then shows the tool as a Custom view tab of a database/sheet, where data() is that view's rows). Small state goes in hillnote.settings.get/set. Never use localStorage/sessionStorage/IndexedDB/cookies β€” they don't persist in the tool sandbox. The result includes a validation summary (if validation.issues is empty, do not read files back) and each sheet's column ids β€” key rows by column id.

Inputs: files (required), toolName (required), workspacePath (required), glyph, +4 more.

add_moodboard_itemsA

Add items (and optional connectors between them) to a moodboard file. Writes directly to the .moodboard.md file on disk; the app re-parses open boards automatically. Item types: image, doc, video, text, link, swatch, frame, shape, sticky. Coordinates are world pixels, origin top-left, +x right / +y down β€” start near (0,0), lay items out in 320px columns with 40px gutters, max 4 items per row, use frames as section backgrounds. Omit w/h to get the type default; omit h on text and sticky notes to fit the box to its text. For diagrams use draw_on_moodboard instead, which needs no coordinates. Image src MUST be "resources/images//" or an https:// URL β€” never base64, data: or absolute paths (such items are dropped). Connectors may reference items added in this same call with "#" (0-based index into items) or by a name you put in the item's "ref" field. Pass only connectors to join items already on the board. Results include issues: anything that overlaps, is cut off or is hidden behind a box. Items are appended (frames go to the back layer); the file is never rebuilt β€” use clear_moodboard to start over. Call get_moodboard_guide first.

Inputs: workspace (required), moodboardPath (required), items, connectors, +1 more.

add_rowsA

Add one or more rows to a database. Each row is a markdown file with YAML frontmatter properties, keyed by column ID (not column name) β€” unknown keys and invalid select/status option values are rejected before anything is written. For status/select columns, use the option name as the value (e.g., "To Do", "In Progress", "Done", "Archived"). For recurring columns, set value as an object with frequency (daily/weekly/monthly/yearly), resetStatus, and nextReset (YYYY-MM-DD) fields. Optional recurring fields: interval (repeat every N units, e.g. 2 = every 2 weeks), byDays (array of day indices 0=Sun..6=Sat, daily only), and for patterns like "first Monday": monthlyMode "nthWeekday" with nthWeek (1-4, or -1 for last) and nthWeekday (0-6).

Inputs: rows (required), workspace (required), databasePath (required).

add_sheet_rowsA

Append rows to a sheet. Each row is an object keyed by column id (from read_sheet/list_sheets). Row ids are generated automatically. If the sheet is open in Hillnote the new rows appear within a couple of seconds. Row values: number β†’ a number, checkbox β†’ true/false, date β†’ "YYYY-MM-DD", datetime β†’ ISO 8601, multiselect β†’ an array of strings, select/status β†’ one option (values not yet in the options are added automatically, with a colour).

Inputs: rows (required), sheetPath (required), workspace (required).

add_tool_to_docC

Insert an HTML tool reference into a document

Inputs: toolName (required), documentPath (required), workspacePath (required), category, +2 more.

add_tool_viewA

Show an HTML tool as a Custom view tab of a database or sheet: the tool renders that data's live rows (await hillnote.data() -> rows() follows the view's filters/search/sort; add/update/remove write back). Use after building a tool for a specific database/sheet (a card layout, an HTML chart…). Pass exactly one of database or sheet. Appends { type: "tool", toolPath } to its views and makes it the open view; the user approves the tool's access to the data once, in the app.

Inputs: workspacePath (required), sheet, category, database, +3 more.

attach_tool_databaseA

Connect an EXISTING database (a folder of row documents with database.json) to an EXISTING HTML tool so it can read/write rows with await hillnote.database(name) -> rows()/add()/update()/remove()/onChange(). The user approves access once, in the app. Row ids are the row documents' filenames; setting title renames the row. Updates the tool's tool.meta.json (every other field kept; an entry with the same name is replaced). Returns the database path and its column ids.

Inputs: database (required), workspacePath (required), category, toolName, +1 more.

attach_tool_sheetA

Connect a Sheet to an EXISTING HTML tool so it can persist records with await hillnote.sheet(name) β€” e.g. when moving a tool off localStorage, which does not persist in the tool sandbox. With sheet.columns, creates a new sheet at documents/Tools/ owned by the tool; with only sheet.name, connects an existing sheet found by its name or folder name (the user approves access once, in the app). Updates the tool's tool.meta.json (every other field kept; an entry with the same name is replaced). Additive β€” never deletes sheets or rows. Returns the sheet path and its column ids β€” key rows by column id. For a new tool, pass sheets to add_html_tool instead.

Inputs: sheet (required), workspacePath (required), category, toolName, +1 more.

build_modeA

Drive Build mode in the running Hillnote app β€” its coding side, with the workspace's coding projects and a code editor. Actions: enter (switch to Build mode; with project, open that project in the code editor), exit (back to the documents side), open_project, open_file (a file of a project in the code editor, optionally at a line β€” use it to show the user code you wrote or are talking about), send_to_terminal (type an instruction at the project's coding agent, or a shell command at a prompt in the project folder). send_to_terminal only TYPES: nothing is sent or run until the user presses Enter (with no agent open, the app's "Ask agent" dialog opens holding the request). Views open in the tab already showing them, otherwise in a new tab. Desktop app only; requires it to be running.

Inputs: action (required), to, file, line, +5 more.

cancel_scheduled_moveA

Cancel a pending scheduled move (ids come from get_board_automation).

Inputs: id (required), workspace (required).

check_previewA

Check a page of the app you are building (a Hillnote Builds project) the way the user would see it: Hillnote loads it in a hidden browser window and reports console errors and warnings, uncaught exceptions and failed requests, with a screenshot (returned as an image, and saved as a PNG). Use it after a change to see whether the page works. Pages of this computer's own servers only (localhost). Without url: the app Hillnote is running for the open project; a path such as "/settings" is a page of that app. Each check starts like a new visitor (no cookies or storage). Requires the Hillnote app to be running.

Inputs: url, click, width.

clear_moodboardA

Remove every item, connector and pen stroke from a moodboard file, keeping its background/texture settings. Only for "start over" β€” prefer remove_moodboard_items for targeted edits. Permanently erases the board contents: on a non-empty board you must pass confirm: true.

Inputs: workspace (required), moodboardPath (required), confirm.

configure_board_automationA

Configure a Kanban board's automation. Per status (an option of the board's status column): agent β€” an agent CLI the app starts on a card that lands there (in the project folder, with the task as its prompt), or null to remove; autoMove β€” move every card that lands there on to another status after N minutes (0 = as soon as it lands), or null to remove. Also board defaults for delegated agents and this machine's projectFolder. Only the keys you pass change. Agents only start for moves Hillnote makes (a drag in the app, or a scheduled move) β€” editing a status with update_rows / update_sheet_rows starts nothing; use schedule_card_move.

Inputs: workspace (required), defaults, statuses, sheetPath, +2 more.

create_databaseB

Create a new database in a workspace. A database is a folder containing markdown files (rows) with a database.json configuration file. Databases can be used as task boards by adding a "status" column type with options like "To Do", "In Progress", "Done", "Archived" and setting up a kanban view grouped by status. Status options support "done" (strikethrough) and "archive" (dimmed) states. Add a "recurring" column for auto-resetting tasks on daily/weekly/monthly/yearly schedules.

Inputs: name (required), workspace (required), views, columns, +2 more.

create_playbookA

Save a repeatable approach as a playbook, so the next question of the same kind gets answered the same way. Use when the user asks to save an approach, or accepts an offer to save one: typically after they state a standing preference ("always quote the statute", "from now on…") or correct an approach in a way that generalises beyond one answer. Not for a one-off lookup, or when an existing playbook nearly covers the case: list_playbooks shows those and update_playbook changes one. Keep when narrow and concrete: a vague trigger makes every later question match it. Put the exact sources in references as doc: links, ideally the citations just used.

Inputs: when (required), title (required), library (required), workspace (required), +3 more.

create_recipeC

Create a new AI prompt recipe

Inputs: recipe (required), workspacePath (required).

create_sheetA

Create a new sheet (CSV-backed dataset). Provide columns β€” the FIRST column is always the title column; others take a type: text, number, checkbox, date, datetime, email, url, select, multiselect, status, location, image. Optionally seed initial rows (keyed by column id or name). Fails if the folder already exists. For datasets where each row needs its own notes/page, create a database instead. Row values: number β†’ a number, checkbox β†’ true/false, date β†’ "YYYY-MM-DD", datetime β†’ ISO 8601, multiselect β†’ an array of strings, select/status β†’ one option (values not yet in the options are added automatically, with a colour).

Inputs: name (required), columns (required), workspace (required), rows, +1 more.

create_viewB

Create a saved view with filters, sorts, and display options. Use type "kanban" with groupBy set to a status/select column ID to create a board view.

Inputs: view (required), workspace (required), databasePath (required).

delete_columnA

Remove a column from a database. The column data will be permanently removed from all rows β€” blocked unless confirm is true.

Inputs: columnId (required), workspace (required), databasePath (required), confirm.

delete_contentC

Delete content between positions (requires content verification for safety)

Inputs: endPos (required), startPos (required), workspace (required), documentId (required), +1 more.

delete_databaseA

Delete a database and all its rows. Blocked unless confirm is true (the error reports how many rows would be lost). Recoverable: the folder is moved to the workspace trash and the result reports trashPath (.hillnote/trash//…, kept 30 days) β€” restore_from_trash puts it back.

Inputs: workspace (required), databasePath (required), confirm.

delete_documentA

Delete a document. IMPORTANT: You must provide the full document path from the registry (e.g., "documents/my-document.md" or "documents/folder/my-document.md"). Recoverable: the file is moved to the workspace trash and the result reports trashPath (.hillnote/trash//…, kept 30 days) β€” restore_from_trash puts it back. NOTE: Do NOT use this for tasks in tasklists - use delete_task instead.

Inputs: workspace (required), documentId (required).

delete_rowsA

Delete rows by ID (file path) or matching criteria. Failsafe: a "where" that matches several rows is blocked unless allowMultiple is true β€” prefer ids for single-row deletes. Recoverable: deleted row files are moved to the workspace trash (.hillnote/trash//…, kept 30 days) and each deleted row reports its trashPath β€” restore_from_trash puts a row back.

Inputs: workspace (required), databasePath (required), ids, where, +1 more.

delete_sheet_rowsA

Permanently delete sheet rows by id. Requires confirm: true β€” deletion cannot be undone (though the app keeps conflict backups of externally-changed CSVs).

Inputs: ids (required), confirm (required), sheetPath (required), workspace (required).

draw_on_moodboardA

Draw a diagram on a moodboard in one call: flowcharts, pipelines, architecture maps, org charts, mind maps or card grids. Give nodes and edges; Hillnote does the layout, sizes each box to its text and routes the arrows, so you never compute coordinates. Prefer this over add_moodboard_items for anything with connections or more than a few items. Edges alone are enough: edges [["Browser","API"],["API","Database","reads"]] creates all three nodes. Returns refs (your node ids β†’ item ids, for later edits), bounds, warnings and issues. Empty issues means nothing overlaps, is cut off or is hidden behind a box. New drawings go to the right of existing content unless "at" is given. Pass "name" to redraw the same diagram in place later: its items keep their ids, but any positions changed by hand are reset.

Inputs: workspace (required), moodboardPath (required), at, name, +6 more.

edit_html_toolB

Edit files in an existing HTML tool (create/update/delete files, change the description or entry point). tool.meta.json and tool.settings.json are managed and cannot be edited here. To give an existing tool a Sheet for its records, use attach_tool_sheet.

Inputs: toolName (required), operations (required), workspacePath (required), category, +1 more.

get_app_stateA

Get what the running Hillnote app is currently showing: the open workspace, the open document (with isDirty β€” true means the user has unsaved edits in that document. Editing it is still safe β€” Hillnote merges external edits into the open editor and edits to different parts combine silently β€” but use targeted insert_content/replace_content on the lines you mean to change, never a whole-document rewrite, and avoid the paragraph the user is typing in), and any QuickView panel document. Requires the Hillnote app to be running; the first UI call asks the user for approval inside the app.

Inputs: no named parameters.

get_board_automationA

Show what a Kanban board (database or sheet) does automatically: per status, the agent CLI it starts and the auto-move it schedules; the defaults for delegated agents; this machine's project folder (where agents run); and pending scheduled moves. Omit databasePath/sheetPath to list every scheduled move in the workspace.

Inputs: workspace (required), sheetPath, databasePath.

get_html_toolA

Get details and files of a specific HTML tool. Pass listOnly=true to get file names and sizes without content β€” do this first for large tools, then read individual files with read_html_file.

Inputs: toolName (required), workspacePath (required), category, listOnly.

get_html_tool_guideA

IMPORTANT: Call this tool FIRST whenever building or substantially editing an HTML tool. Returns the authoring guide: the injected design system (tokens and classes you must use instead of writing base CSS), component recipes, data persistence (Sheets via hillnote.sheet, small state via hillnote.settings), the single-file rule, and the token-efficient edit workflow.

Inputs: no named parameters.

get_library_mapA

A compact map of what a library or volume actually contains: every section with its page range and AI summary, capped to fit in a prompt. search_library ranks passages that look like a query; only the map shows the whole shape. Use it for questions about a library: to pick what to read, to answer structural questions ("how does this build up to X", "where should I start"), and to check whether the library covers a topic at all, which a search that found nothing cannot show. Works on cloud libraries connected to the workspace too: pass the library's id, title or path as library β€” they are read-only and answered from Hillnote Cloud.

Inputs: workspace (required), depth, volume, library, +1 more.

get_library_outlineA

Get a library's structure. Without volume: the library plus every volume with its top-level chapters (one-call orientation). With volume: the paginated outline tree of that volume β€” section ids, titles, levels, page ranges, word counts. Works on cloud libraries connected to the workspace too: pass the library's id, title or path as library β€” they are read-only and answered from Hillnote Cloud.

Inputs: library (required), workspace (required), depth, limit, +4 more.

get_library_sectionA

Read one library section: its body (paged with offset/maxChars), page breaks, neighbours/children/figures on request, and a citation to paste (citation.markdown). Section ids are unique per workspace, so library/volume are only needed to narrow a title lookup. Works on cloud libraries connected to the workspace too: pass the library's id, title or path as library β€” they are read-only and answered from Hillnote Cloud.

Inputs: section (required), workspace (required), offset, volume, +4 more.

get_moodboard_guideA

Get the guide for moodboards (.moodboard.md) in Hillnote: free-form boards of images, document cards, videos, text notes, sticky notes, link cards, colour swatches, frames and shapes, joined by arrows. Call this before add_moodboard_items, because it explains item types, coordinates and default sizes. draw_on_moodboard does not need it.

Inputs: no named parameters.

get_recipeC

Get a specific recipe by ID

Inputs: recipeId (required), workspacePath (required).

get_recipe_documentsC

Get the content of documents referenced by a recipe

Inputs: recipeId (required), workspacePath (required), includeOptional.

get_slides_story_guideA

IMPORTANT: Call this tool FIRST whenever the user asks to create a presentation, make slides, or create a slideshow. Returns the story-writing guide with 8 proven storytelling techniques (Hero's Journey, Sparklines, In Medias Res, etc.) to structure a compelling narrative. Do NOT use any visual layout markers (~split, ~inline, ~bg-, etc.) during this phase. Focus purely on the story. IMPORTANT: When creating slides with add_document, the title MUST end with ".slides.md".

Inputs: no named parameters.

get_slides_visual_guideA

Call this AFTER the story has been written and the .slides.md file has been created. Requires the documentPath of the existing .slides.md file. Returns the visual design guide with layout markers, images, charts, mermaid diagrams, and real examples. Edit the file in batches of 3-5 slides adding visual elements throughout.

Inputs: documentPath (required).

highlight_textA

Flash a pulsing highlight on text in a document in the running Hillnote app, to point the user at something ("look at this part"). Opens the document and scrolls the first match into view; highlights stay until the user clicks anywhere in the editor. Purely visual β€” nothing is written to the document. Use exact text from the document; matching is case-insensitive.

Inputs: text (required), document (required), workspace (required), all.

insert_contentC

Insert content at a specific position with validation and preview

Inputs: text (required), position (required), workspace (required), documentId (required), +1 more.

list_databasesA

List all databases in a workspace with their metadata and row counts.

Inputs: workspace (required).

list_html_toolsB

List all HTML tools available in the workspace

Inputs: workspacePath (required), category.

list_librariesA

List the libraries (collections of long documents β€” books, manuals, standards, reports β€” split into searchable, citeable sections) in a workspace, with their volumes and counts. Use it for questions about a book or long document; get_library_outline, search_library and get_library_section then read it a section at a time, where read_document would load the whole book. Includes cloud libraries connected to this workspace (rows with a remote block): read-only, hosted on Hillnote Cloud, queried exactly like the others.

Inputs: workspace (required), limit, query, offset.

list_playbooksA

List the saved playbooks in a workspace. A playbook is the user's own written answer to "when someone asks this kind of question, read these exact sources and answer this way". Each entry gives its title and a one-line "when to use". Use when a question sounds routine or repeated, to check whether the user has saved an approach for it. Cheap: titles and triggers only, no bodies. Works on cloud libraries connected to the workspace too: pass the library's id, title or path as library β€” they are read-only and answered from Hillnote Cloud.

Inputs: workspace (required), limit, library.

list_recipesC

List all AI prompt recipes in a workspace

Inputs: workspacePath (required).

list_sheetsA

List all sheets in a workspace. A sheet is a CSV-backed dataset (folder with sheet.json + data.csv) β€” unlike a database, rows are pure data with no per-row documents. Returns each sheet's name, path, columns and row count.

Inputs: workspace (required).

list_trashA

List what delete_document, delete_rows and delete_database have moved to the workspace trash, newest first. Each item reports the path it was deleted from β€” pass that to restore_from_trash. Items are kept 30 days. Sheet rows and moodboard items are not recoverable and never appear here.

Inputs: workspace (required).

list_viewsB

List all saved views for a database.

Inputs: workspace (required), databasePath (required).

list_workspacesB

List all available workspaces

Inputs: no named parameters.

notepadA

The Notepad in the running Hillnote app: one scratchpad per workspace, in the side panel, for anything transient. When the user asks for something throwaway β€” a quick draft, a list for now, a number or snippet to hold on to, "jot this down", "just put it somewhere" β€” write it here instead of creating a document. What should last belongs in a document. Actions: read; append (add markdown at the end, leaving everything already there alone: the normal way to write); replace (swap the whole page) and clear. The page also holds the user's own notes, so use replace or clear only when the user asked for that or the text is yours; they run in the open panel so the user can undo them. By default a write opens the panel, unless Chat or the terminal is showing there. Desktop app must be running.

Inputs: action (required), show, text, workspace, +1 more.

open_databaseA

Open a database (kanban/table/calendar board) in the running Hillnote app so the user can see it. Optionally switch views, apply filters, scroll a kanban column into view, set the calendar to month/week/day or a date, and/or flash a row to point the user at it (pulsing highlight until they click). Databases are folders, not documents β€” use this instead of open_document for them. Use after add_rows/update_rows to show the user what you built.

Inputs: database (required), workspace (required), view, filters, +5 more.

open_documentA

Open an existing document in the running Hillnote app so the user can see it. To take the user to one part of it ("show me the Risks section", "where does it say…"), pass heading (or text / anchorId): the document opens, scrolls there and the spot is highlighted β€” never say you cannot show a section. Accepts the same document identifiers as read_document (id, title, fileName, or registry path). Does NOT create documents β€” call add_document first, then open it. If you plan to modify the currently open document, re-read it right before each edit (other agents or the user may be editing it too) and make targeted edits rather than rewriting the whole document.

Inputs: document (required), workspace (required), text, target, +3 more.

open_libraryA

Open a library (πŸ“š folder of sectioned volumes) in the running Hillnote app so the user can see it: its landing page (volumes, outlines, search, Import/Reindex/Share), or one section document when section is given. Libraries are folders, not documents β€” use this instead of open_document for them. Accepts the same library/volume/section references as the library tools (ids, paths, titles). Use after search_library/get_library_section to show the user the passage you cited.

Inputs: library (required), workspace (required), volume, section, +1 more.

open_sheetA

Open a sheet (CSV-backed dataset) in the running Hillnote app so the user can see it. Optionally switch views, apply filters, scroll a kanban column into view, set the calendar to month/week/day or a date, and/or flash a row to point the user at it (pulsing highlight until they click). Sheets are folders, not documents β€” use this instead of open_document for them. Use after add_sheet_rows/update_sheet_rows to show the user what you built.

Inputs: sheet (required), workspace (required), view, filters, +5 more.

open_viewA

Show Chat, Terminal, Files or the Browser filling the main area of the running Hillnote app (instead of its side panel), or go back to the workspace with view "workspace". If a tab already shows that view the app switches to it; otherwise the view opens in a new tab, so the user's current document stays open. Requires the Hillnote app to be running; the first UI call asks the user for approval inside the app.

Inputs: view (required), path, workspace, focusWindow.

open_workspaceA

Switch the running Hillnote app to a workspace (shows its landing page). Prefer open_document when you want a specific file on screen.

Inputs: workspace (required), focusWindow.

post_activityA

Post a short human-readable status line (e.g. "Drafting section 2…") to Hillnote's in-app agent activity feed so the user can follow your progress. Use at the start of each major step of a longer task. Optionally reference the workspace/document you are working on.

Inputs: message (required), document, workspace.

read_databaseA

Read a database with optional filtering, sorting, and searching. Returns database config (columns with types/options/colors/states) and rows. Databases with status columns can be used as task boards β€” filter by status to see tasks in specific states (normal/done/archive). Recurring columns show task reset schedules.

Inputs: workspace (required), databasePath (required), sort, limit, +3 more.

read_documentA

Read a specific document or task. Works with both regular documents and tasks from tasklists (tasks are markdown documents). Also reads library section files by path (documents///sections/.md or a doc:…#s-… citation) β€” but for library questions prefer search_library + get_library_section, and never read a whole volume. For large documents pass startLine/endLine; the response includes totalLines.

Inputs: workspace (required), documentId (required), endLine, startLine.

read_html_fileA

Read one file inside an HTML tool folder (paths under resources/html/ only). For large files, pass startLine/endLine to read a range β€” the result always includes totalLines. The injected design-system baseline appears as a one-line placeholder comment; never edit it.

Inputs: filePath (required), workspacePath (required), endLine, startLine.

read_moodboardA

Read and parse a moodboard file (.moodboard.md), returning an English summary plus every item (with its id, type, position, size and properties), every connector, and the board settings. Use this before connecting to or removing existing items. On a big board, pass ids, region or compact to read less. NEVER use read_document on moodboard files β€” it returns raw JSON.

Inputs: workspace (required), moodboardPath (required), ids, region, +1 more.

read_playbookA

Read one playbook: the user's saved approach for a kind of question, plus, by default, the full text of every source it pins, so the exact sections it names need no separate search. search_library covers anything the pinned sources do not. A pinned source that cannot be found is reported as missing in the result. Works on cloud libraries connected to the workspace too: pass the library's id, title or path as library β€” they are read-only and answered from Hillnote Cloud.

Inputs: playbook (required), workspace (required), library, resolve, +1 more.

read_registryA

Get complete workspace overview: list all documents with titles, descriptions, folder structure, emojis, modification dates, and document relationships. Essential for understanding workspace organization, finding documents by description, navigating folder hierarchy, and discovering document connections. Returns metadata for all documents and folders without reading actual content.

Inputs: workspace (required).

read_sheetA

Read a sheet with optional filtering, sorting and searching. Returns the sheet config (columns with types) and a page of rows, each with a stable "id". Sheets can be LARGE (tens of thousands of rows) β€” always filter/search and paginate rather than reading everything.

Inputs: sheetPath (required), workspace (required), sort, limit, +3 more.

remove_moodboard_itemsA

Remove items or connectors from a moodboard file by id. Connectors attached to a removed item are removed too. Get ids from read_moodboard or from a previous add_moodboard_items result. To change an item's position, size or content use update_moodboard_items instead of remove + add. Writes directly to the .moodboard.md file on disk.

Inputs: workspace (required), moodboardPath (required), ids, connectorIds, +1 more.

rename_documentA

Rename a document. NOTE: Do NOT use this for tasks in tasklists - use rename_task instead.

Inputs: newTitle (required), workspace (required), documentId (required).

render_moodboardA

See a moodboard as a picture. Returns a PNG of the board, or part of it, painted the way Export as Image paints it, plus the same issues a write reports. Use it after drawing to check the result. A large board is scaled down to about 1.6 megapixels, so pass ids or region to look closer. Needs the Hillnote app running. If it is not, the result has rendered: false, a reason and the issues, and the app is never launched.

Inputs: workspace (required), moodboardPath (required), ids, region.

replace_contentC

Replace text in document

Inputs: workspace (required), documentId (required), searchText (required), replaceText (required), +1 more.

replace_in_html_fileA

Find and replace exact text in an HTML tool file (paths under resources/html/ only). Errors if searchText is missing or ambiguous (multiple matches) β€” expand searchText, or pass replaceAll/occurrenceIndex. The result includes a validation summary.

Inputs: filePath (required), searchText (required), replaceText (required), workspacePath (required), +2 more.

restore_from_trashA

Put a deleted document, database row or database back where it was, together with its registry entry (emoji, pin, position, links). Never overwrites: if something now exists at the original path the restore is refused and nothing moves. When the same path was deleted more than once, the most recent delete is restored.

Inputs: path (required), workspace (required).

schedule_card_moveA

Schedule a Kanban card to move to a status at a time ("now" by default). Hillnote makes the move itself, so the status's agent and auto-move run β€” this is how to hand a card to an agent, or to move it on when you finish your own task. One schedule per card (a new one replaces the old). Example: create a task with add_rows, then schedule_card_move { row: "", to: "In progress", at: "2026-10-23 09:00" }.

Inputs: to (required), row (required), workspace (required), at, +3 more.

scroll_toA

Take the user to a part of a document: scroll it in the running Hillnote app to a heading or text so they can see it β€” opens the document in the main editor first if needed. Use this whenever they ask to see, find or go to a section ("show me the Risks section", "where does it say…"), rather than only quoting it. By default the target gets a pulsing highlight that stays until the user clicks anywhere in the editor. Matching is case-insensitive; use exact text from the document (read_document first if unsure). Fails with a clear error if the heading/text is not found.

Inputs: document (required), workspace (required), text, heading, +2 more.

search_documentsB

Search for documents by query. Searches in filenames, titles, headings, tags, and content with smart ranking

Inputs: query (required), fuzzy, threshold, workspace.

search_libraryA

Search library sections (and figures) by keyword β€” or semantically when the library has embeddings. Returns ranked hits with snippets, section ids and ready-to-paste citations. Scope with library and/or volume; then call get_library_section with a hit's section.id for the full text. Works on cloud libraries connected to the workspace too: pass the library's id, title or path as library β€” they are read-only and answered from Hillnote Cloud.

Inputs: query (required), workspace (required), mode, kinds, +5 more.

show_slideA

Jump a slides document (.slides.md) in the running Hillnote app to a specific slide so the user sees it β€” opens the deck in presentation view first if needed. Use get_slides tools or read_document to know the slide order. Returns the slide shown and the total count.

Inputs: document (required), workspace (required), slideNumber (required).

update_columnA

Update column properties (name, type, options). If changing column ID, all rows will be updated.

Inputs: updates (required), columnId (required), workspace (required), databasePath (required).

update_moodboard_itemsA

Patch existing moodboard items in place by id β€” move, resize, recaption, retitle, retint, relock or change any field an add_moodboard_items item accepts. Connectors stay attached (their endpoints follow the item). Get ids from read_moodboard or a previous add_moodboard_items result. Each update is merged over the current item and re-validated: only the fields you pass change; pass null for an optional field (caption, title, label, color, tint, radius, previewHeight) to remove it; an update that would leave the item invalid (a non-portable image src, a non-http link url, a bad swatch hex…) is skipped with a reason and the item is left unchanged. Items with locked: true are skipped unless the update itself sets locked: false. The type of an item cannot be changed β€” remove it and add a new one instead. Pass connectors to change arrows: re-point an end, relabel or restyle. Writes directly to the .moodboard.md file on disk; max 500 updates per call.

Inputs: workspace (required), moodboardPath (required), updates, connectors, +1 more.

update_playbookA

Change fields of an existing playbook. Prefer this over create_playbook whenever one already nearly covers the case β€” two overlapping playbooks are worse than one good one. Use it to pin a source that turned out to matter, to fold in a correction the user just made, or to sharpen a when line that was matching too broadly. Only the fields you pass are touched, so hand edits the user made in the editor survive. references and tools REPLACE the existing list, so send the full list you want.

Inputs: playbook (required), workspace (required), when, title, +4 more.

update_recipeC

Update an existing AI prompt recipe

Inputs: updates (required), recipeId (required), workspacePath (required).

update_rowsA

Update rows by ID (file path) or matching criteria. Can update frontmatter properties and content. Failsafes: update keys must be column IDs (not names) and select/status values must be valid options; a "where" that matches several rows is blocked unless allowMultiple is true β€” prefer ids for single-row changes (a status "where" can move multiple kanban cards at once); title renames must target exactly one row.

Inputs: updates (required), workspace (required), databasePath (required), ids, +2 more.

update_sheet_rowsA

Update cells on existing sheet rows. Target rows by id (options.ids, from read_sheet) or by equality match (options.where). updates is an object of { columnId: newValue } applied to every matched row. Row values: number β†’ a number, checkbox β†’ true/false, date β†’ "YYYY-MM-DD", datetime β†’ ISO 8601, multiselect β†’ an array of strings, select/status β†’ one option (values not yet in the options are added automatically, with a colour).

Inputs: options (required), updates (required), sheetPath (required), workspace (required).

write_html_fileA

Create or overwrite one file inside an HTML tool folder (paths under resources/html/ only; tool.meta.json, tool.settings.json and tool_registry.json are managed and refused). HTML files get the design-system baseline auto-injected β€” never write base CSS yourself. The result includes a validation summary; if validation.issues is empty, do not read the file back. Use replace_in_html_file for targeted edits.

Inputs: content (required), filePath (required), workspacePath (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 84 tools

    Disambiguation3/5

    The server spans many clear resource domains, but several UI-navigation tools overlap heavily: open_document with a heading, scroll_to, and highlight_text all open/scroll/highlight, and library map/outline plus document-vs-sheet-vs-database retrieval require close reading. Descriptions help, but with 84 tools misselection remains plausible.

    Naming Consistency4/5

    Most names follow a predictable snake_case verb_noun pattern such as create_database, add_sheet_rows, and open_library, with some deviations like notepad, build_mode, scroll_to, and mixed get/read/list retrieval verbs. The convention is mostly consistent and readable.

    Tool Count1/5

    84 tools is far beyond a practical agent-facing scope; even accounting for Hillnote's broad document/database/sheet/library/moodboard feature surface, the set is extremely heavy and imposes high selection cost. This is an extreme count mismatch.

    Completeness2/5

    Core workflows exist across documents, databases, sheets, moodboards, and libraries, but descriptions reference add_task, rename_task, and delete_task while those tools are absent, creating dead ends. Several resources also lack lifecycle operations, including sheet deletion/column updates, HTML tool deletion, recipe/playbook deletion, and database view update/delete.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to interact with Obsidian vaults for creating, reading, searching, and managing notes, daily notes, TODOs, session reports, and backlinks through both stdio and HTTP/SSE transports.
      10
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables reading, writing, searching, and surgical editing of Obsidian vault notes, tags, and frontmatter, plus workspace control, vault structure management, and native Excalidraw automation.
      Apache 2.0
    • F
      license
      Not graded
      quality
      A
      maintenance
      Gives AI agents access to a persistent document workspace so they can search, read, and update knowledge through 22 focused tools, 2 prompts, and 3 resources, with batch actions and direct workspace-item inspection. Runs either as a hosted Streamable HTTP endpoint with OAuth or API keys, or as a self-hosted stdio bridge pointed at your own instance.
      -
    • A
      license
      A
      quality
      C
      maintenance
      Connects AI assistants to local workspaces for searching and reading notes, documents, objectives, and media assets, even offline. When the workspace app is open, it enables secure real-time creation and editing of notes, documents, objectives, and canvas highlighting.
      21
      13 npm
      MIT