Documentation

Your First Project

This guide walks you through Kiro's essential features by working with a real project. You'll learn how to use steering files, specs, hooks, and MCP servers to enhance your development workflow.

Copied!Prerequisites

Before starting, ensure you have:

  • Installed Kiro.
  • A project to work with (either an existing project or a new one)
  • Basic familiarity with your project's structure and technology stack

Copied!Open Your Project

  1. Launch Kiro and open your project:

    • Use File > Open Folder to select your project directory
    • Or drag and drop your project folder into Kiro
    • Or go to the command line and run kiro . from your project directory
  2. Access the Kiro Panel:

    • Click the Kiro Ghost icon in the activity bar (left sidebar)
    • This panel provides access to all of Kiro's AI-powered features
  3. Start a Chat Session:

    • The chat pane should be open by default
    • This opens Kiro's conversational interface where you can interact with the AI

Copied!Set Up Steering Files

Steering files provide context about your project, helping Kiro understand your codebase, conventions, and requirements.

To get started choose Generate Steering Docs from the Kiro pane. Kiro generates project steering documents for you stored in .kiro/steering/ that guide Kiro's behavior. They contain information about:

  • Your product and its purpose
  • Technical stack and frameworks
  • Project structure and conventions

You can also create custom steering files by clicking the + button in the steering section and add things like coding standards, and workflows, and team best practices. Learn about steering here.

Copied!Build Features with Specs

Specs transform high-level feature ideas into detailed implementation plans through three phases:

  1. Requirements - User stories with acceptance criteria in EARS notation
  2. Design - Technical architecture and implementation approach
  3. Tasks - Discrete, trackable implementation steps

Copied!Create Your First Spec

  1. Start a New Spec:

    • In your chat session, click the Spec button
    • Choose the + button in the Kiro panel's Specs section
  2. Enter a feature description:

    • Describe your feature in natural language
    • Example: "Add a user authentication system with login, logout, and password reset functionality"
  3. Follow the Guided Workflow:

    • Requirements Phase: Kiro will help structure your requirements using EARS notation
    • Design Phase: Technical architecture and component design will be documented
    • Implementation Phase: Discrete tasks will be generated for execution

Copied!Execute Spec Tasks

Once your spec is complete:

  1. Review Generated Tasks in the tasks.md file
  2. Execute Tasks by clicking on individual task items
  3. Track Progress as tasks automatically update to "In Progress" and "Done"
Loading image...
hooks

Copied!Automate Workflows with Hooks

Agent Hooks eliminate manual work by automatically executing predefined actions when:

  • Files are created, saved, or deleted
  • Manual triggers are activated
  • Specific file patterns are modified

To get started:

  1. Access Hook Creation:

    • Navigate to the Agent Hooks section in the Kiro panel
    • Click the + button to create a new hook
  2. Define Hook Behavior:

    • Describe what you want automated in natural language
    • Example: "When I save a React component file, automatically create or update its corresponding test file"
  3. Configure Hook Settings:

    • Event Type: Choose from File Created, File Saved, File Deleted, or Manual Trigger
    • File Pattern: Specify which files should trigger the hook (e.g., src/**/*.tsx)
    • Instructions: Define the specific actions to perform
Loading image...
hooks

Copied!Extend Capabilities with MCP

Model Context Protocol (MCP) allows Kiro to:

  • Access specialized knowledge bases and documentation
  • Integrate with external APIs and services
  • Use domain-specific tools and utilities
  • Connect to databases and cloud services

Copied!Set Up MCP

  1. Open the Kiro panel by clicking the Kiro Ghost icon in the activity bar. First enable MCPs, and then click the edit button (pencil icon) next to MCP in the panel

  2. By default, Kiro ships with the fetch MCP server in the JSON file. Flip it to disabled=false to connect to it.

  3. You can aslo Add any MCP Server by asking Kiro to add a new server or editing the JSON file directly:

    json
    { "mcpServers": { "web-search": { "command": "uvx", "args": ["mcp-server-brave-search"], "env": { "BRAVE_API_KEY": "your-api-key-here" }, "disabled": false, "autoApprove": ["search"] } } }

Copied!Use MCP Tools

Once configured, you can use MCP tools in several ways:

  • Direct Questions
    • Ask questions that leverage the MCP server's capabilities:
    • Example: Search for the latest React 18 best practices
  • Explicit Tool Usage
    • Reference specific MCP tools with the #MCP context provider
    • Example: #[fetch] fetch Use the web search to find examples of TypeScript generic constraints`
  • Integration with Other Features
    • Combine MCP with hooks and specs:
    • Example: Create a hook that uses the web search MCP to find relevant documentation when I create new component files

Copied!Next Steps

Now that you've experienced Kiro's core features:

Page updated: July 14, 2025