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

superplanners-mcp

v0.5.0

Published

智能任务分解与管理系统 - MCP Server

Readme

SuperPlanners MCP Server

SuperPlanners 的 MCP (Model Context Protocol) 服务器实现。

开发指南

项目结构

mcp-server/
├── src/
│   ├── index.ts              # 入口文件
│   ├── server.ts             # MCP Tool 处理器
│   ├── types.ts              # TypeScript 类型定义
│   ├── file-manager.ts       # 文件读写
│   ├── renderer.ts           # Markdown 渲染
│   └── task-engine/          # 核心业务逻辑
│       ├── parser.ts         # YAML 解析
│       ├── status-reducer.ts # 状态变更
│       ├── dependency-resolver.ts  # 依赖解析
│       ├── progress-calculator.ts  # 进度计算
│       └── next-task-selector.ts   # 任务推荐
├── package.json
├── tsconfig.json
└── vitest.config.ts

开发命令

# 安装依赖
npm install

# 开发模式(监听变更)
npm run dev

# 构建
npm run build

# 运行测试
npm test

# 运行测试(带覆盖率)
npm test -- --coverage

# 类型检查
npm run typecheck

# 代码格式化
npm run lint

MCP Tools 说明

superplanners_plan

创建新的任务计划。

输入:

{
  requirement: string;      // 需求描述
  project_name?: string;    // 项目名称(可选)
}

输出:

{
  success: boolean;
  project_id: string;
  summary: TaskSummary;
  files: string[];
  next_task: Task | null;
}

superplanners_status

查询项目或任务状态。

输入:

{
  project_id?: string;      // 项目 ID(可选,不填返回全局视图)
}

输出:

{
  success: boolean;
  projects?: ProjectSummary[];  // 全局视图
  project_id?: string;          // 项目视图
  progress?: Progress;
  summary?: TaskSummary;
  tasks?: Task[];
  next_task?: Task | null;
}

superplanners_update

更新任务状态。

输入:

{
  project_id: string;
  task_id: string;
  status: TaskStatus;
  notes?: string;
}

输出:

{
  success: boolean;
  updated: boolean;
  summary: TaskSummary;
  progress: Progress;
  next_task: Task | null;
}

superplanners_reset

归档、列出或恢复项目。

输入:

{
  action: 'cleanup' | 'list' | 'restore';
  project_id?: string;    // cleanup 时必填
  archive_id?: string;    // restore 时必填
}

添加新功能

  1. types.ts 中定义类型
  2. 在对应模块中实现逻辑
  3. 编写测试
  4. server.ts 中注册 Tool(如需要)

调试

使用 MCP Inspector:

npx @modelcontextprotocol/inspector node dist/index.js

发布

npm run build
npm publish