mcp

Research-backed linting + generation for agent context files (CLAUDE.md, AGENTS.md, Cursor rules).

我该使用它吗

质量与安全性

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

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

上下文开销

~590token 数(工具定义)
~1.5 KB典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.46%)

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

安装

一键安装

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

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.promptarch.ai/mcp"
    }
  }
}

远程端点

https://mcp.promptarch.ai/mcpstreamable-http

它能做什么

工具清单

工具(3)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢promptarch_lint_artifact(content, format, filename)

Lint an AI agent context file (CLAUDE.md, AGENTS.md, Cursor rules, Copilot instructions, memory files) with PromptArch's deterministic linter: ~30 research-backed rule families covering current-model anti-patterns (tool-forcing, reasoning-echo, sycophancy triggers, contradictions), per-tool size budgets, secrets/dangerous commands, and hidden-Unicode injection ("Rules File Backdoor"). Returns grade, 0-100 score, and line-anchored findings. Free: no account or credits needed.

输入模式

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "The full file content to lint."
    },
    "format": {
      "description": "Override format auto-detection.",
      "type": "string",
      "enum": [
        "claude_md",
        "agents_md",
        "cursor_mdc",
        "copilot_instructions",
        "memory_file"
      ]
    },
    "filename": {
      "description": "Filename hint for format detection (e.g. CLAUDE.md).",
      "type": "string"
    }
  },
  "required": [
    "content"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢promptarch_list_artifact_types

List the artifact types promptarch_generate_artifact can produce from a project description.

输入模式

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪promptarch_generate_artifact(artifact, project_name, project_description, tech_stack, repo_structure, ...)

Generate an AI agent context artifact (e.g. context_pack, claude_md) from a project description. Requires a PromptArch API key configured as an Authorization: Bearer pk_... header on this MCP server. Consumes credits.

输入模式

{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "string",
      "enum": [
        "context_pack",
        "claude_md",
        "agents_md",
        "cursor_rule"
      ],
      "description": "Artifact id. See promptarch_list_artifact_types. Other Studio artifact types need artifact-specific inputs this tool does not accept."
    },
    "project_name": {
      "type": "string",
      "maxLength": 1900
    },
    "project_description": {
      "type": "string",
      "maxLength": 1900
    },
    "tech_stack": {
      "type": "string",
      "maxLength": 1900
    },
    "repo_structure": {
      "description": "Directory tree or structure summary. Max 1900 chars: summarize a large repo rather than pasting a full tree.",
      "type": "string",
      "maxLength": 1900
    },
    "commands": {
      "type": "string",
      "maxLength": 1900
    },
    "coding_conventions": {
      "description": "Conventions, invariants, house rules. Max 1900 chars.",
      "type": "string",
      "maxLength": 1900
    },
    "target_model": {
      "description": "Target model family (default Claude).",
      "type": "string",
      "maxLength": 100
    }
  },
  "required": [
    "artifact",
    "project_name",
    "project_description"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社区

评价此服务器

证据

最近观测

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