Astrotask – README | MCP Marketplace

✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

Astrotask

Astrotask Logo

Task manager built for humans and AI agents

Offline‑ready · MCP‑compatible · Fully‑type‑safe · Extensible

npm (scoped) License: MIT CI


Why Astrotask?

Astrotask keeps workstreams organised and agent‑ready:

  • Stay on track – persistent workspace records every decision and status change.
  • Parallel agent orchestration – multiple agents can tackle non‑blocking tasks simultaneously; the dependency graph prevents collisions.
  • Rich, evolving context – attach arbitrary metadata, comments, and notes to improve recall and quality of work.
  • Situational awareness – agents can refetch the original task prompt at any time and understand where it fits in the wider roadmap.
  • Offline‑first – capture ideas without a network and sync when back online.

Table of Contents

  • Installation
  • Quick Start
    • CLI
    • Programmatic
    • AI / MCP
  • Adding Tasks
  • Operating & Running Tasks
  • Screenshots
  • How It Works
  • Contributing
  • Roadmap
  • License

Installation

# Until v1.0 install the latest pre‑release tag
npm install -g @astrotask/cli@next      # or: pnpm / yarn

Upgrading is just as easy:

npm update -g @astrotask/cli

Prerequisites  Node 18+, SQLite 3.40+, and pnpm if you plan to work on the monorepo.

After installation you’ll have the astro command in your PATH.


Quick Start

CLI

# 1. Create a workspace
mkdir my-project && cd $_

# 2. Initialise Astrotask (creates ./data/astrotask.db and starter rules)
astro init

# 3. Add tasks and view them
❯ astro task add "Create README"
❯ astro task generate --file docs/task-generation-implementation.md
❯ astro task tree
🌳 Task Tree (All Tasks) (pending and in-progress only)
💡 Use --show-all to include completed and archived tasks
├── ⏳ Create README (AFDR) [pending]
├── ⏳ Task ID System and TaskTree Architecture (BXCQ) [pending]
│   ├── ⏳ Create task creation logic (BXCQ-RKGO) [pending]
│   ├── ⏳ Implement task tree structure (BXCQ-BTTS) [pending]
│   ├── ⏳ Implement task ID validation functions (BXCQ-PDPT) [pending]
│   ├── ⏳ Implement subtask ID generation function (BXCQ-ZGWZ) [pending]
│   ├── ⏳ Implement task ID generation function (BXCQ-QDPA) [pending]
│   └── ⏳ Design database schema for tasks (BXCQ-FUZS) [pending]

# 4. Open the live dashboard (press <c> to toggle completed tasks)
astro dashboard

Programmatic

import { createAstrotask } from "@astrotask/core";

const astrotask = await createAstrotask({
  databaseUrl: "./data/astrotask.db",
});

await astrotask.tasks.addTask({
  title: "Implement OAuth",
  description: "Add Google login",
});

AI / MCP

{
  "mcpServers": {
    "astrotask-task": {
      "command": "npx",
      "args": ["@astrotask/mcp"],
      "env": {
        "DATABASE_PATH": "/home/toda/dev/astrotask/data/astrotask.db"
      }
    }
  }
}

OR

astro init

Configure your agent (Cursor, ChatGPT plug‑in, …) with the endpoint and start calling tools such as:

$ Start working on the next task and track your progress in astrotask

{
  "name": "getNextTask",
  "arguments": { "priority": "high" }
}

Adding Tasks

Manual (CLI)

# Simple capture
astro task add "Write onboarding docs"

# Add under a parent and set priority
astro task add "Design hero section" --parent <parentId> --priority high

Generate from a PRD

Break a spec into structured work:

astro task generate --file ./specs/authentication.prd.md
# Use --dry to preview without touching your DB

Ask an Agent (MCP)

{
  "name": "addTasks",
  "arguments": {
    "tasks": [
      {
        "title": "Refactor caching layer",
        "description": "Move from LRU to ARC",
        "priority": "medium"
      }
    ]
  }
}

Operating & Running Tasks

ActionCommand
See what to do nextastro task next
Full list (pending & in‑progress)astro task list
Mark doneastro task done <id>
Update fieldsastro task update <id> --status done
Visualise treeastro task tree [--root <id>]
Validate dependenciesastro dependency validate
Interactive dashboardastro dashboard

All commands accept --help.


Screenshots

Astrotask Dashboard screenshot


How It Works

  1. @astrotask/core provides a type‑safe service layer over the local database.
  2. The CLI/TUI (astro) talks to the SDK directly.
  3. The MCP server exposes the same operations to AI tools via JSON‑RPC.
  4. SQLite WAL mode gives safe concurrent access (dashboard + agent + script).

Design principles

  • Local‑first – Data should be useful without a network.
  • Single source of truth – CLI, SDK & MCP all share the same database file.
  • Explicit context – Agents receive structured bundles, never raw SQL.
  • Type‑safe all the way – Zod runtime validation mirrors TypeScript types.

Contributing

We ♥ new contributors! See CONTRIBUTING.md and AGENTS.md for philosophy & guidelines.

  • Code must pass pnpm verify (build ➜ type-check ➜ lint ➜ test).
  • Keep rules/docs in sync with code changes.
  • Small PRs > big bang.

Roadmap

MilestoneFocus
v0.2ElectricSQL synchronization
v0.3Web dashboard

License

Astrotask is released under the MIT License.

Featured Templates

View More
Customer service
Service ERP
125 756
AI Assistants
Talk with Claude 3
156 1166
AI Assistants
Image to text with Claude 3
150 1122
Verified Icon
AI Agents
AI Chatbot Starter Kit
1308 6081 5.0

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.