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

devspec-mcp

v1.1.8

Published

MCP server for DevSpec spec-driven development with natural language interface

Readme

DevSpec MCP Server

DevSpec的MCP (Model Context Protocol) 服务器,为AI助手提供完整的DevSpec功能访问。

功能特性

  • 🔧 完整的DevSpec支持: 支持所有主要DevSpec CLI命令
  • 🚀 自动安装: 首次运行时自动安装DevSpec CLI组件
  • 📦 即插即用: 支持npx直接运行,无需复杂配置
  • 🎯 智能工具选择: 通过详细的工具描述,AI助手能够自动选择合适的工具

安装

方式1: 直接使用npx (推荐)

npx devspec-mcp

方式2: 全局安装

npm install -g devspec-mcp

方式3: 项目内安装

npm install devspec-mcp

使用方法

配置MCP客户端

在你的MCP客户端配置中添加:

{
  "mcpServers": {
    "devspec": {
      "command": "npx",
      "args": ["devspec-mcp"]
    }
  }
}

工具使用场景

项目初始化

当用户提到"初始化"、"开始项目"、"新建DevSpec项目"时,AI会使用 openspec_init 工具。

创建变更提案

当用户需要"创建新功能"、"添加变更提案"、"实现功能需求"时,AI会使用 openspec_create_change 工具。

查看项目信息

当用户需要"查看所有变更"、"列出规格"、"显示项目状态"时,AI会使用 openspec_list 工具。

显示详细信息

当用户需要"查看变更详情"、"显示规格内容"时,AI会使用 openspec_show 工具。

验证项目

当用户需要"检查项目"、"验证变更"、"确保格式正确"时,AI会使用 openspec_validate 工具。

完成变更

当用户提到"完成变更"、"部署功能"、"归档提案"时,AI会使用 openspec_archive 工具。

工具列表

核心工具

  1. openspec_init - 初始化DevSpec项目
  2. openspec_list - 列出变更或规格
  3. openspec_show - 显示详细信息
  4. openspec_validate - 验证变更或规格
  5. openspec_create_change - 创建变更提案
  6. openspec_archive - 归档已完成变更

故障排除

常见问题

  1. DevSpec CLI未安装

    • 服务器会在首次运行时自动安装
    • 也可以手动安装:npm install -g devspec
  2. 权限问题

    • 确保有全局安装包的权限
    • 或使用 sudo npm install -g devspec
  3. 自然语言无法识别

    • 尝试使用更明确的描述
    • 或使用具体的工具命令

贡献

欢迎提交Issue和Pull Request!

许可证

MIT License

相关链接