openspec-mcp

v0.2.0
openspec-mcp Checked 1 day ago Published 9 months ago

MCP server for OpenSpec - AI-native spec-driven development

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

init_openspec

Initialize OpenSpec project structure in the current directory

ParameterTypeDescription
working_dirstringWorking directory path (optional, defaults to current directory)

create_proposal

Create a new change proposal with the specified ID and description

ParameterTypeDescription
change_id *stringChange ID in kebab-case (e.g., 'add-two-factor-auth')
description *stringDescription of the change
capabilitiesarrayList of affected capabilities (optional)

list_changes

List all active changes with their task progress

show_change

Show detailed information about a specific change including proposal, tasks, and spec deltas

ParameterTypeDescription
change_id *stringChange ID to show

list_specs

List all specification documents with requirement counts

read_spec

Read a specification document by its ID (capability name)

ParameterTypeDescription
spec_id *stringSpec ID (capability name)

read_tasks

Read tasks for a specific change with completion status

ParameterTypeDescription
change_id *stringChange ID

update_task_status

Update the completion status of a task in a change

ParameterTypeDescription
change_id *stringChange ID
completed *booleanWhether the task is completed
task_id *stringTask ID (number)

validate_change

Validate a change and its documents for format compliance

ParameterTypeDescription
change_id *stringChange ID to validate
strictbooleanUse strict validation mode (default: true)

archive_change

Archive a completed change: validate, merge spec deltas into main specs, and move to archive/ with date prefix

ParameterTypeDescription
change_id *stringChange ID to archive
skip_specsbooleanSkip spec delta merging (for tooling/doc-only changes, default: false)
skip_validationbooleanSkip validation before archiving (not recommended, default: false)

validate_spec

Validate a standalone specification document for format compliance

ParameterTypeDescription
spec_id *stringSpec ID (capability name) to validate
strictbooleanUse strict validation mode (default: true)