npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

project-manager-cli

v1.0.2

Published

MCP + WebGUI = Collaborative Agent & Human Project Management Platform. Where agents and humans manage projects—together.

Downloads

6

Readme

Project Manager - FastAPI & Next.js

A full-stack project manager application built with a FastAPI backend and a Next.js frontend.

Tech Stack

  • Backend:
    • FastAPI
    • Python 3.x
    • SQLAlchemy (ORM)
    • Pydantic (Data Validation)
    • SQLite (Default Database) / PostgreSQL (Optional)
    • Uvicorn (ASGI Server)
    • python-dotenv (Environment Variables)
  • Frontend:
    • Next.js (React Framework)
    • TypeScript
    • Tailwind CSS (Styling)
    • Zustand (State Management)
    • fetch API (for backend communication)
  • Development:
    • Node.js & npm
    • Python Virtual Environment (venv)

Project Structure

project-manager/
├── backend/
│   ├── .venv/              # Python virtual environment (created on setup)
│   ├── crud.py             # Database CRUD functions
│   ├── database.py         # Database engine, session, Base
│   ├── main.py             # FastAPI application, routes, CORS
│   ├── models.py           # SQLAlchemy ORM models (Task table)
│   ├── schemas.py          # Pydantic schemas for API data
│   ├── requirements.txt    # Python dependencies
│   └── sql_app.db          # SQLite database file (created on first run)
│   └── .env                # Optional: for PostgreSQL connection details
├── frontend/
│   ├── public/             # Static assets
│   ├── src/
│   │   ├── app/            # Next.js App Router pages (page.tsx)
│   │   ├── components/     # React components (AddTaskForm, TaskList, etc.)
│   │   ├── services/       # API communication logic (api.ts)
│   │   └── store/          # Zustand state management (taskStore.ts)
│   ├── next.config.mjs     # Next.js configuration
│   ├── package.json        # Node dependencies
│   ├── tailwind.config.ts  # Tailwind CSS configuration
│   └── tsconfig.json       # TypeScript configuration
└── README.md               # This file

Features (Overview)

  • Task Management: Create, view, update, and delete tasks.
  • Project Organization: Create, view, update, and delete projects to group tasks.
  • Agent Assignment: (If applicable and UI supports it clearly) Assign agents to tasks.
  • Scope Definition: (If applicable and UI supports it clearly) Define scopes for tasks.
  • Subtask Management: Create and manage subtasks under main tasks.
  • Filtering: Filter tasks by project, agent, or scope.

Setup and Running

Prerequisites

  • Python 3.8+
  • Node.js 18.x+ and npm

1. Backend Setup (FastAPI)

# Navigate to the backend directory
cd backend

# Create and activate a Python virtual environment
# On Windows:
python -m venv .venv
.\.venv\Scripts\activate
# On macOS/Linux:
# python3 -m venv .venv
# source .venv/bin/activate

# Install dependencies
pip install -r requirements.txt

# (Optional) Configure PostgreSQL
# 1. Create a .env file in the backend/ directory
# 2. Add your PostgreSQL connection details:
#    DATABASE_USER=your_db_user
#    DATABASE_PASSWORD=your_db_password
#    DATABASE_HOST=your_db_host (e.g., localhost)
#    DATABASE_PORT=your_db_port (e.g., 5432)
#    DATABASE_NAME=your_db_name
# 3. Uncomment the PostgreSQL section in backend/database.py
#    and comment out the SQLite section.

# Run the FastAPI development server
# It will automatically create the sql_app.db (SQLite) if it doesn't exist
uvicorn main:app --reload --host 0.0.0.0 --port 8000

The backend API will be available at http://localhost:8000. Interactive API documentation (Swagger UI) is available at http://localhost:8000/docs.

2. Frontend Setup (Next.js)

# Navigate to the frontend directory (from the project root)
cd frontend

# Install dependencies
npm install

# Run the Next.js development server
npm run dev

The frontend application will be available at http://localhost:3000.

How It Works

  1. The Next.js frontend (running on port 3000) provides the user interface.
  2. Components in src/components handle the display and user interactions.
  3. State management is handled globally using Zustand (src/store/taskStore.ts).
  4. When data is needed or actions occur (add, update, delete), components (usually via the Zustand store) call functions in the API service (src/services/api.ts).
  5. The API service uses fetch to make requests to the FastAPI backend (running on port 8000).
  6. The FastAPI backend receives requests, validates data using Pydantic schemas (schemas.py), and interacts with the database using CRUD functions (crud.py) and SQLAlchemy models (models.py).
  7. CORS middleware in FastAPI allows the frontend (on port 3000) to communicate with the backend (on port 8000).
  8. Data is stored in the SQLite database (sql_app.db) by default, or PostgreSQL if configured.

Project Manager CLI

MCP + WebGUI = Collaborative Agent & Human Project Management Platform

Where agents and humans manage projects—together.

Project Manager CLI is a next-generation platform that seamlessly combines autonomous agent orchestration (via the Model Context Protocol, MCP) with a modern web-based GUI. It empowers both human users and AI agents to collaboratively manage, automate, and execute complex projects—end-to-end.

  • MCP (Model Context Protocol): Enables robust, rule-driven agent workflows, automation, and task delegation.
  • WebGUI: Provides an intuitive, real-time interface for humans to interact, monitor, and guide projects.
  • Collaborative: Agents and humans work together, leveraging the strengths of both for maximum productivity and reliability.
  • Plug & Play: One-command setup via npx, with auto-restart, smart port selection, and built-in rules for agent behavior.

Prerequisites

  • Node.js (v14 or higher)
  • Python (v3.8 or higher)
  • npm (comes with Node.js)

Installation

You can run the MCP Task Manager directly using npx:

npx mcp-task-manager-cli start

Or install it globally:

npm install -g mcp-task-manager-cli
mcp-task-manager start

Features

  • One-command installation and startup
  • Automatic dependency installation for both backend and frontend
  • Auto-restart on failure
  • Cross-platform support (Windows, macOS, Linux)
  • Real-time logging with color-coded output
  • Automatic port management

What it Does

When you run the CLI tool, it:

  1. Checks for required dependencies (Node.js and Python)
  2. Sets up the Python virtual environment for the backend
  3. Installs all necessary backend dependencies
  4. Installs all frontend dependencies
  5. Starts both services with auto-restart capability
  6. Provides real-time logging of both services

Configuration

The services will run on the following default ports:

  • Backend: http://localhost:8000
  • Frontend: http://localhost:3000

Troubleshooting

If you encounter any issues:

  1. Make sure both Node.js and Python are installed and in your PATH
  2. Check if the ports 8000 and 3000 are available
  3. If services fail to start, check the logs for detailed error messages

License

ISC