specpack

Audit and write CLAUDE.md / AGENTS.md / Cursor rules; generate full build specs for new projects.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
71%
命名质量
96%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~826token 数(工具定义)
~779 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.65%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "specpack": {
      "command": "npx",
      "args": [
        "specpack"
      ]
    }
  }
}

可运行的软件包

npmspecpack0.1.0stdio

远程端点

https://prompt-generator-website.com/mcpstreamable-http

它能做什么

工具清单

工具(5)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢list_project_types

The project types the spec generator knows (saas, ecommerce, business, marketplace, blog, webapp, landing), with what each covers.

输入模式

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢get_questionnaire(type)

The questions for one project type: universal questions first, then type-specific ones. Each has an id, a type (text, textarea, select, radio, multiselect, boolean, number), options where relevant, and sometimes a condition (ask it only when another answer matches). Answer from what you know of the project, then pass the answers to generate_spec. Only project_name and project_description are required; skipped questions fall back to defaults.

输入模式

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "saas",
        "ecommerce",
        "business",
        "marketplace",
        "blog",
        "webapp",
        "landing"
      ],
      "description": "Project type id"
    }
  },
  "required": [
    "type"
  ],
  "additionalProperties": false
}
🟡generate_spec(type, answers, files)

Turns questionnaire answers into a complete build specification (stack, database schema, auth flows, pages, design system, SEO, security, legal, deployment, file structure) and the matching agent files. Deterministic: the same answers always give the same bytes. Values: select/radio = one option value, multiselect = array of option values, boolean = true/false, number = number. Returns the requested files; by default AGENTS.md (full spec + working agreement) and CLAUDE.md (imports AGENTS.md) — write them at the repository root. Uses one spec from the quota (2 free without an API key).

输入模式

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "saas",
        "ecommerce",
        "business",
        "marketplace",
        "blog",
        "webapp",
        "landing"
      ]
    },
    "answers": {
      "type": "object",
      "description": "Question id => value, as described by get_questionnaire",
      "additionalProperties": true
    },
    "files": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "spec.md",
          "AGENTS.md",
          "CLAUDE.md",
          ".cursor/rules/project.mdc",
          ".cursorrules",
          ".windsurfrules",
          ".github/copilot-instructions.md",
          "README.md"
        ]
      },
      "description": "Files to return. Default: [\"AGENTS.md\", \"CLAUDE.md\"]"
    }
  },
  "required": [
    "type",
    "answers"
  ],
  "additionalProperties": false
}
🟢draft_answers(description, type)

Asks the server's AI (Claude) to fill the whole questionnaire from a plain-language project description; returns the project type, the answers and the assumptions it made. Takes 10-40 s and consumes one AI draft (3 free without an API key). Prefer answering get_questionnaire yourself when you already know the project; use this when you only have a one-line idea. Review the assumptions with the user before calling generate_spec.

输入模式

{
  "type": "object",
  "properties": {
    "description": {
      "type": "string",
      "description": "What the project is, for whom, and what it must do (10-4000 characters)"
    },
    "type": {
      "type": "string",
      "enum": [
        "saas",
        "ecommerce",
        "business",
        "marketplace",
        "blog",
        "webapp",
        "landing"
      ],
      "description": "Optional: force the project type"
    }
  },
  "required": [
    "description"
  ],
  "additionalProperties": false
}
🟢get_usage

Current plan and quota usage (specs and AI drafts) for the API key, or for this address when no key is set.

输入模式

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

社区

评价此服务器

证据

最近观测

已验证未记录版本5 个工具
已验证未记录版本5 个工具