The MCP server automatically bootstraps Spec Kit prompts on first use.
On startup, the server searches for .kiro/prompts/ directory:
- Starts from current working directory
- Walks up the directory tree (up to 5 levels)
- If found with
speckit.*.mdfiles, uses them
If prompts don't exist, the server bootstraps them:
If SPECKIT_SOURCE environment variable is set:
export SPECKIT_SOURCE=/path/to/spec-kitThe server copies prompts from $SPECKIT_SOURCE/templates/commands/*.md
Downloads prompts from:
https://raw.githubusercontent.com/github/spec-kit/main/templates/commands/
Downloads these files:
- constitution.md
- specify.md
- clarify.md
- plan.md
- tasks.md
- implement.md
- analyze.md
- checklist.md
Prompts are saved to .kiro/prompts/ as:
speckit.constitution.mdspeckit.specify.md- etc.
All prompts are exposed through the MCP protocol for use by Kiro CLI or other clients.
{
"mcpServers": {
"speckit": {
"command": "mcp-speckit-kiro",
"env": {
"SPECKIT_SOURCE": "/Users/you/projects/spec-kit"
}
}
}
}{
"mcpServers": {
"speckit": {
"command": "mcp-speckit-kiro"
}
}
}You can also manually bootstrap prompts:
# From GitHub
cd your-project
mcp-speckit-kiro # Will auto-bootstrap on first prompt list
# From local source
export SPECKIT_SOURCE=/path/to/spec-kit
cd your-project
mcp-speckit-kiroTo get the latest prompts:
- Delete
.kiro/prompts/directory - Restart the MCP server
- Prompts will be re-downloaded
Or manually update:
rm -rf .kiro/prompts
# Next MCP invocation will re-bootstrap