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

@galaxycore/pms-mcp

v0.2.21

Published

MCP Server for Project Management System (PMS)

Readme

@galaxycore/pms-mcp

项目管理系统 (PMS) 的 MCP 服务,为 AI Agent 提供任务、缺陷、用户、项目、文件、评论等管理能力。

使用方式

在 Cursor 中使用

.cursor/mcp.json 中添加:

{
  "mcpServers": {
    "pms": {
      "command": "npx",
      "args": ["-y", "@galaxycore/pms-mcp@latest"],
      "env": {
        "PMS_API_BASE_URL": "https://pms.example.com",
        "PMS_API_TOKEN": "your-token"
      }
    }
  }
}

在 Claude Desktop 中使用

claude_desktop_config.json 中添加:

{
  "mcpServers": {
    "pms": {
      "command": "npx",
      "args": ["-y", "@galaxycore/pms-mcp@latest"],
      "env": {
        "PMS_API_BASE_URL": "https://pms.example.com",
        "PMS_API_TOKEN": "your-token"
      }
    }
  }
}

环境变量说明

| 变量 | 必填 | 说明 | |------|------|------| | PMS_API_BASE_URL | 是 | PMS API 基础地址 | | PMS_API_TOKEN | 是 | API Token,请求头携带 Authorization: Token <value> | | PMS_API_TIMEOUT | 否 | 请求超时毫秒数(默认 30000) |

功能概览

| 领域 | 工具 | 数量 | |------|------|------| | 任务 | list_tasks get_task create_task update_task delete_task list_personal_tasks list_team_tasks list_project_tasks get_task_activities quick_complete_task bulk_update_tasks list_task_types add_task_attachment | 13 | | 缺陷 | list_issues get_issue create_issue update_issue delete_issue import_issues | 6 | | 用户 | get_current_user list_users get_user get_user_profile list_simple_users list_team_members list_my_teams list_assignees | 8 | | 项目 | list_projects get_project create_project update_project delete_project get_project_members get_project_milestones get_project_tasks list_project_templates | 9 | | 文件 | list_files get_file upload_file upload_local_file list_documents get_document download_file | 7 | | 评论 | list_comments create_comment update_comment delete_comment pin_comment | 5 |

总计 48 个 MCP 工具

发布

# 构建
npm run build

# 发布到 npm
npm publish --access public

# 或发布到 Gitea npm registry
npm publish --registry https://gitea.wochacha.cn/api/packages/galaxycore/npm/

本地开发

npm install
cp .env.example .env   # 编辑填入实际配置
npm run dev             # stdio 模式
npm run dev:http        # HTTP 模式

项目结构

src/
├── index.ts          # stdio 入口(npx 默认使用)
├── http.ts           # Streamable HTTP 入口
├── server.ts         # McpServer 创建 + 工具注册
├── config.ts         # 环境变量配置
├── client/
│   ├── index.ts      # PMS API HTTP 客户端
│   └── types.ts      # API 类型定义
├── tools/
│   ├── index.ts      # 工具注册入口
│   ├── tasks.ts      # 任务管理 (13 tools)
│   ├── issues.ts     # 缺陷管理 (6 tools)
│   ├── users.ts      # 用户查询 (8 tools)
│   ├── projects.ts   # 项目管理 (9 tools)
│   ├── files.ts      # 文件上传/下载 (7 tools)
│   └── comments.ts   # 评论管理 (5 tools)
└── utils/
    ├── errors.ts     # 错误处理
    └── response.ts   # 响应构造

技术栈

  • Runtime: Node.js 20+
  • Language: TypeScript
  • MCP SDK: @modelcontextprotocol/sdk v1.27.1
  • Validation: Zod v4
  • Build: tsup (ESM, single-file bundle)
  • PMS Backend: Django REST Framework