Developer Documentation

Build with Hilla.

CLI reference, MCP server integration, and API documentation. Everything you need to integrate Hilla into your development workflow.

Getting Started

Overview

Hilla is an all-in-one project canvas. Plan, build, track, and ship on the same surface. You can interact with Hilla through the web app, CLI, or any AI tool that supports the Model Context Protocol.

This documentation covers the developer-facing tools: the CLI for terminal workflows, the MCP server for AI-native integrations, and the REST API for programmatic access.

Getting Started

Installation

Install the Hilla CLI globally via npm. Requires Node.js 18 or later.

terminal
$ npm install -g @hilla/cli

$ hilla --version
hilla/1.0.0

Authenticate with your Hilla account to connect the CLI to your projects.

terminal
$ hilla auth login
→ Opening browser for authentication...
✓ Authenticated as you@example.com

Getting Started

Quick Start

Generate your first project board in seconds. Describe what you want to build and Hilla handles the rest — market research, architecture, sprint plans, and task breakdown.

terminal
$ hilla plan "Build a SaaS for restaurant analytics"

→ Researching market landscape...
→ Generating architecture...
→ Creating sprint plan...

✓ 3 sprints  ·  47 tasks  ·  12 dependencies

→ Board ready at hilla.ai/b/rest-analytics

Open the board URL in your browser to see the full spatial canvas, or continue working from the CLI.

CLI

Command Line Interface

The Hilla CLI lets you create and manage projects, generate plans, execute tasks, and export boards — all from your terminal. Designed for developers who prefer keyboard-driven workflows.

Every command supports --json output for scripting and automation. Use hilla help <command> for detailed usage.

CLI

Commands

Command
Description
hilla plan <prompt>
Generate a full project plan from a description
hilla board [id]
Open or list project boards
hilla tasks
List all tasks in the current project
hilla task <id>
View details for a specific task
hilla exec <id>
Execute a task with AI assistance
hilla export [format]
Export board as Markdown, JSON, or to Linear/GitHub
hilla auth login
Authenticate with your Hilla account
hilla auth logout
Sign out of the current session
hilla config
View or update CLI configuration

Chain commands with standard Unix pipes. For example, export a board and pipe it to another tool:

terminal
$ hilla export --json | jq '.tasks[] | select(.sprint == 1)'

CLI

Configuration

The CLI stores configuration in ~/.hilla/config.json. You can edit it directly or use hilla config to update values.

Key
Default
Description
defaultFormat
markdown
Export format (markdown, json)
editor
$EDITOR
Preferred editor for task editing
apiUrl
https://api.hilla.ai
API endpoint
color
true
Enable colored output

MCP Server

What is MCP?

The Model Context Protocol is an open standard that lets AI tools connect to external services. Hilla runs an MCP server so your AI coding assistant can create, read, and manage cards on your board directly — without switching context.

When you connect Hilla via MCP, your AI tool gains access to your project boards, tasks, and sprint plans. It can suggest tasks, update progress, and even execute work on your behalf.

MCP Server

Setup

Start the MCP server locally. It listens on stdio by default, which is what most AI clients expect.

terminal
$ hilla mcp start
→ MCP server running (stdio)
→ Waiting for client connection...

Add Hilla to your AI tool's MCP configuration. Here's the standard entry:

mcp-config.json
{
  "mcpServers": {
    "hilla": {
      "command": "hilla",
      "args": ["mcp", "start"],
      "env": {
        "HILLA_API_KEY": "your-api-key"
      }
    }
  }
}

MCP Server

Available Tools

The MCP server exposes these tools to connected AI clients. Each tool maps to a Hilla API operation.

Tool
Description
list_projects
List all projects in your account
get_project
Get project details and board layout
create_task
Create a new task card on the board
update_task
Update task title, description, or status
list_tasks
List tasks with optional filters (sprint, status)
get_task
Get full task details including dependencies
execute_task
Run AI-assisted task execution
generate_plan
Generate a project plan from a prompt
export_board
Export board in Markdown or JSON format

MCP Server

Supported Clients

Any AI tool that implements the Model Context Protocol can connect to Hilla. These clients have been tested and confirmed working:

C

Claude Code

Anthropic’s CLI agent. Add Hilla to your project’s MCP config.

Cu

Cursor

AI code editor. Configure in Settings → MCP Servers.

G

ChatGPT

OpenAI’s assistant. Connect via the MCP plugin system.

W

Windsurf

Codeium’s editor. Add to your MCP configuration file.

API Reference

Authentication

All API requests require a bearer token. Generate one from your account settings or via the CLI.

terminal
$ hilla auth token
→ Your API token: hilla_sk_...

# Use in requests:
$ curl -H "Authorization: Bearer hilla_sk_..." \
    https://api.hilla.ai/v1/projects

Tokens don't expire but can be revoked from your account settings at any time.

API Reference

Projects

Create and manage project boards programmatically.

Method
Endpoint
Description
GET
/v1/projects
List all projects
POST
/v1/projects
Create a new project
GET
/v1/projects/:id
Get project details
PATCH
/v1/projects/:id
Update project settings
DELETE
/v1/projects/:id
Delete a project
terminal
$ curl -X POST https://api.hilla.ai/v1/projects \
    -H "Authorization: Bearer hilla_sk_..." \
    -H "Content-Type: application/json" \
    -d '{"prompt": "Build a SaaS for restaurant analytics"}'

{
  "id": "proj_rest_analytics",
  "name": "Restaurant Analytics SaaS",
  "tasks": 47,
  "sprints": 3,
  "url": "https://hilla.ai/b/rest-analytics"
}

API Reference

Tasks

Read and manage individual task cards on a project board.

Method
Endpoint
Description
GET
/v1/projects/:id/tasks
List tasks (filterable by sprint, status)
POST
/v1/projects/:id/tasks
Create a task
GET
/v1/tasks/:id
Get task details
PATCH
/v1/tasks/:id
Update a task
POST
/v1/tasks/:id/execute
Execute a task with AI
DELETE
/v1/tasks/:id
Delete a task
terminal
$ curl https://api.hilla.ai/v1/projects/proj_rest_analytics/tasks?sprint=1 \
    -H "Authorization: Bearer hilla_sk_..."

{
  "tasks": [
    {
      "id": "task_001",
      "title": "Auth system (OAuth + magic link)",
      "sprint": 1,
      "status": "todo",
      "dependencies": []
    },
    ...
  ]
}
Get started

Ready to build?

Install the CLI and generate your first project board in under 30 seconds. No account required.

$ npm install -g @hilla/cli