Documentation

Model Context Protocol (MCP)

Model Context Protocol (MCP) extends Kiro's capabilities by connecting to specialized servers that provide additional tools and context. This guide helps you set up, configure, and use MCP servers with Kiro.

Copied!What is MCP?

MCP is a protocol that allows Kiro to communicate with external servers to access specialized tools and information. For example, the AWS Documentation MCP server provides tools to search, read, and get recommendations from AWS documentation directly within Kiro.

With MCP, you can:

  • Access specialized knowledge bases and documentation
  • Integrate with external services and APIs
  • Extend Kiro's capabilities with domain-specific tools
  • Create custom tools for your specific workflows

Copied!Setting Up MCP

Copied!Prerequisites

Before using MCP, make sure you have:

  1. The latest version of Kiro installed
  2. Any specific prerequisites for the MCP servers you want to use (listed in each server's documentation)

Copied!Managing MCP Servers

Copied!Enabling MCP Support

After creating your configuration file:

  1. Open Settings with Cmd + , (Mac) or Ctrl + , (Windows/Linux)
  2. Search for "MCP"
  3. Enable the MCP support setting
  4. Restart Kiro to apply changes

Copied!Using the MCP Servers Tab

The Kiro panel includes an MCP servers tab that shows:

  • All configured MCP servers
  • Connection status indicators
  • Quick access to server tools

To use this feature:

  1. Select the Kiro icon in the activity bar
  2. Navigate to the MCP servers tab
  3. Click any tool name to insert a placeholder prompt in the chat

Copied!Troubleshooting

If you encounter issues with MCP servers:

Copied!Checking MCP Logs

  1. Open the Kiro panel
  2. Select the Output tab
  3. Choose "Kiro - MCP Logs" from the dropdown

Copied!Common Issues and Solutions

IssueSolution
Connection failuresVerify prerequisites are installed correctly
Permission errorsCheck that tokens and API keys are valid
Tool not respondingReview MCP logs for specific error messages
Configuration not loadingValidate JSON syntax and restart Kiro

Copied!Additional Resources

Copied!Next Steps

Now that you have created a hook file, you can further learn about hooks here:

Page updated: July 14, 2025