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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sanmu2018/zentao-mcp

v0.5.18

Published

ZenTao CLI for products + bugs

Downloads

592

Readme

zentao-mcp

ZenTao CLI for products + bugs.

Installation

Global install (recommended):

pnpm i -g @sanmu2018/zentao-mcp

If you don't have pnpm:

npm i -g pnpm
pnpm i -g @sanmu2018/zentao-mcp

Or use without installing:

npx -y @sanmu2018/zentao-mcp --help

This installs the zentao command (and keeps zentao-mcp as a compatibility alias).

Configuration

Required Parameters

You can configure the CLI using CLI arguments or environment variables:

CLI arguments:

  • --zentao-url (e.g. https://zentao.example.com/zentao)
  • --zentao-account
  • --zentao-password

Environment variables:

  • ZENTAO_URL
  • ZENTAO_ACCOUNT
  • ZENTAO_PASSWORD

Tip: ZENTAO_URL should include the ZenTao base path (often /zentao).

Example:

  • https://zentao.example.com/zentao (common)

If you see 404 Not Found when logging in, your base path is likely missing /zentao.

Commands

Most commands support --json for raw output.

Products

List all products:

zentao products list

Executions (Sprints)

List executions:

zentao executions list [--project <id>] [--status all|undone|done|closed]

Stories

List stories for an execution:

zentao stories list --execution <id>

Tasks

List tasks for an execution:

zentao tasks list --execution <id>

Create a task:

zentao tasks create --execution <id> --name "Task name" [--assignedTo account] [--estimate 2] [--desc "Details"] [--estStarted YYYY-MM-DD] [--deadline YYYY-MM-DD]

Update a task:

zentao tasks update --id <id> [--name "New task name"] [--assignedTo account] [--status doing] [--estimate 3] [--left 1] [--deadline YYYY-MM-DD]

Get task details:

zentao tasks get --id <id>

List my tasks:

zentao tasks mine [--status <status>] [--account <account>] [--include-details]

Manage tasks:

# Start a task
zentao tasks start --id <id> [--consumed <hours>] [--left <hours>] [--comment <text>]

# Finish a task
zentao tasks finish --id <id> [--currentConsumed <hours>] [--comment <text>]

Bugs

List bugs for a product:

zentao bugs list --product <id>

Get bug details:

zentao bug get --id <id>

List my bugs:

# Basic summary
zentao bugs mine

# Detailed list with status filtering
zentao bugs mine --status active --include-details

Supported flags for bugs mine:

  • --scope: assigned, opened, resolved, all
  • --status: active, resolved, closed, all
  • --include-details: Show full bug list table

System & Auth

Check current user:

zentao whoami

Self-test connection:

zentao self-test

Login

Save credentials locally (stored as plaintext TOML under your user config directory):

zentao login --zentao-url=https://zentao.example.com/zentao --zentao-account=leo --zentao-password=***

Config file:

  • ~/.config/zentao/config.toml (or $XDG_CONFIG_HOME/zentao/config.toml)

Then commands can omit auth flags:

zentao whoami
zentao products list

Troubleshooting login:

  • If Token response parse failed: <html>...404 Not Found..., try:
    • https://your-host/zentao instead of https://your-host/

Release (maintainers)

GitHub Actions (recommended)

This repo supports npm Trusted Publisher (OIDC) via GitHub Actions.

  1. Create a tag matching package.json version:
git tag v0.5.1
git push origin v0.5.1
  1. The workflow .github/workflows/publish-npm.yml will run tests and publish to npm.

In npm Trusted Publisher settings, set the workflow filename to publish-npm.yml.

Local release (fallback)

Requires git, npm, and gh.

zentao release patch --dry-run

If you are using GitHub Actions publishing, prefer tagging + pushing, or run local release with:

zentao release patch --skip-publish

Local Development

pnpm install
pnpm test

Security

Do not commit credentials. Prefer environment variables in local runs.

Skill

For OpenClaw (AgentSkills-compatible), see skills/zentao/SKILL.md.