openspec-mcp
v0.2.0MCP 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
| Parameter | Type | Description |
|---|---|---|
working_dir | string | Working directory path (optional, defaults to current directory) |
create_proposal
Create a new change proposal with the specified ID and description
| Parameter | Type | Description |
|---|---|---|
change_id * | string | Change ID in kebab-case (e.g., 'add-two-factor-auth') |
description * | string | Description of the change |
capabilities | array | List 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
| Parameter | Type | Description |
|---|---|---|
change_id * | string | Change ID to show |
list_specs
List all specification documents with requirement counts
read_spec
Read a specification document by its ID (capability name)
| Parameter | Type | Description |
|---|---|---|
spec_id * | string | Spec ID (capability name) |
read_tasks
Read tasks for a specific change with completion status
| Parameter | Type | Description |
|---|---|---|
change_id * | string | Change ID |
update_task_status
Update the completion status of a task in a change
| Parameter | Type | Description |
|---|---|---|
change_id * | string | Change ID |
completed * | boolean | Whether the task is completed |
task_id * | string | Task ID (number) |
validate_change
Validate a change and its documents for format compliance
| Parameter | Type | Description |
|---|---|---|
change_id * | string | Change ID to validate |
strict | boolean | Use 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
| Parameter | Type | Description |
|---|---|---|
change_id * | string | Change ID to archive |
skip_specs | boolean | Skip spec delta merging (for tooling/doc-only changes, default: false) |
skip_validation | boolean | Skip validation before archiving (not recommended, default: false) |
validate_spec
Validate a standalone specification document for format compliance
| Parameter | Type | Description |
|---|---|---|
spec_id * | string | Spec ID (capability name) to validate |
strict | boolean | Use strict validation mode (default: true) |