SpecPrism — AI Product & QA Co-Architect
Stateless Socratic spec triage, EARS acceptance criteria, and REQ-to-TC test traceability.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"specprism": {
"command": "npx",
"args": [
"specprism"
]
}
}
}Paquetes ejecutables
1.6.1stdioPuntos de conexión remotos
https://spec-prism.app/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (7)
⚪specprism_triage_idea(ideaPrompt, draftTriage, requestState, answers)
Run Stage 1 Socratic Scope & Boundary Triage before writing code. Round 1 takes ideaPrompt and returns 3-4 paired PM/Engineer Decision Cards plus an HMAC-signed requestState handle; Round 2 takes ideaPrompt, draftTriage, requestState, and answers to lock canonical ASM-* scope assumptions.
Esquema de entrada
{
"type": "object",
"properties": {
"ideaPrompt": {
"type": "string",
"description": "1-3 sentence feature or product idea (minimum 5 characters)."
},
"draftTriage": {
"type": "object",
"description": "Draft SocraticTriage object returned in MRTR Round 1; pass back in Round 2 to lock answers."
},
"requestState": {
"type": "object",
"description": "HMAC-SHA256 signed stateless MRTR state handle returned in Round 1."
},
"answers": {
"type": "array",
"description": "Selected option IDs or custom user overrides for each Socratic question in Round 2.",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"questionId": {
"type": "string",
"description": "Question identifier (e.g. Q-1)."
},
"selectedOptionId": {
"type": "string",
"description": "Chosen option identifier (e.g. Q1-A)."
},
"customUserOverride": {
"type": "string",
"description": "Optional free-text override when none of the preset options fit."
}
},
"required": [
"questionId"
]
}
}
},
"required": [
"ideaPrompt"
],
"additionalProperties": false
}🟢specprism_verify_traceability(spec, projectId)
Audit a SpecPrism spec.json document (or synced cloud projectId) read-only for vertical story touchpoints (entrySurface, domainLogic, persistenceOrExternal), canonical EARS SHALL clauses, and zero-orphan REQ-to-TC test coverage. Returns a deterministic pass/fail report with actionable violation messages.
Esquema de entrada
{
"type": "object",
"properties": {
"spec": {
"type": "object",
"description": "Full SpecIterationDocument JSON object to audit locally."
},
"projectId": {
"type": "string",
"description": "Optional synced cloud project UUID when loading the specification from SpecPrism."
}
},
"additionalProperties": false
}🟢specprism_compute_delta(baseSpec, targetSpec, changePrompt)
Compute deterministic Stage 5 ADDED, MODIFIED, and REMOVED requirement deltas (DLT-*) between baseSpec and targetSpec, classifying every TC-* test case as regression_shield, requires_update, new_test_required, or obsolete. Read-only and side-effect free.
Esquema de entrada
{
"type": "object",
"properties": {
"baseSpec": {
"type": "object",
"description": "Baseline SpecIterationDocument JSON (e.g. v1)."
},
"targetSpec": {
"type": "object",
"description": "Updated SpecIterationDocument JSON (e.g. v2)."
},
"changePrompt": {
"type": "string",
"description": "Optional human summary of why the specification evolved."
}
},
"required": [
"baseSpec",
"targetSpec"
],
"additionalProperties": false
}🟢specprism_compile_dialect(spec, projectId, dialectId)
Compile a verified SpecIterationDocument read-only into an implementation handoff prompt tuned for one of the 9 frontier LLM dialects (anthropic-claude, openai-gpt-reasoning, google-gemini, deepseek-reasoning, qwen-coder, xai-grok, mistral-codestral, meta-llama, local-ollama-default).
Esquema de entrada
{
"type": "object",
"properties": {
"spec": {
"type": "object",
"description": "Verified SpecIterationDocument JSON to compile."
},
"projectId": {
"type": "string",
"description": "Optional synced cloud project UUID if spec is omitted."
},
"dialectId": {
"type": "string",
"description": "Target dialect profile ID (defaults to spec.targetDialectId or anthropic-claude)."
}
},
"additionalProperties": false
}🟢specprism_export_issues(spec, projectId)
Convert Vertical User Stories (US-*) from a SpecIterationDocument read-only into Linear/GitHub Issues Markdown tickets and a POSIX-escaped gh issue create shell script preserving REQ-* EARS clauses and TC-* test targets.
Esquema de entrada
{
"type": "object",
"properties": {
"spec": {
"type": "object",
"description": "SpecIterationDocument JSON containing US-*, REQ-*, and TC-* items."
},
"projectId": {
"type": "string",
"description": "Optional synced cloud project UUID if spec is omitted."
}
},
"additionalProperties": false
}🟡specprism_ingest_uat(spec, projectId, report, dialectId)
Ingest a post-code Vitest JSON, Playwright JSON, JUnit XML string, or native test report against a SpecIterationDocument (or cloud projectId). Computes Release Readiness %, Category Breakdown (Happy Path vs Negative Edge Cases vs Guardrails), a dialect-tuned Engineer Repair Prompt, and failing Bug Tickets, optionally persisting the run when projectId is authenticated.
Esquema de entrada
{
"type": "object",
"properties": {
"spec": {
"type": "object",
"description": "SpecIterationDocument JSON defining REQ-* and TC-* mappings."
},
"projectId": {
"type": "string",
"description": "Optional cloud project UUID to load the spec from and persist the UAT run onto."
},
"report": {
"description": "Vitest JSON object, Playwright JSON object, JUnit XML string, or native { results: [...] } payload."
},
"dialectId": {
"type": "string",
"description": "Optional target LLM dialect ID for formatting the Engineer Repair Prompt."
}
},
"required": [
"report"
],
"additionalProperties": false
}⚪specprism_push_surface(projectId, surface)
Normalize and optionally attach a local .specprism/surface.json brownfield repository scan (detected frameworks, ORMs, testRunners, samplePaths) onto a cloud projectId so Stages 1-4 ground malicious-compliance checks and TC-* file paths in the real codebase without requiring GitHub repo OAuth.
Esquema de entrada
{
"type": "object",
"properties": {
"projectId": {
"type": "string",
"description": "Optional cloud project UUID to persist the normalized repoSurface onto."
},
"surface": {
"type": "object",
"description": "JSON object produced by scan-repo.mjs (.specprism/surface.json) with frameworks, orms, testRunners, codeFileCount, and samplePaths."
}
},
"required": [
"surface"
],
"additionalProperties": false
}Comunidad
Evidencia