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 個工具