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.
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
Setting Up MCP
Prerequisites
Before using MCP, make sure you have:
- The latest version of Kiro installed
- Any specific prerequisites for the MCP servers you want to use (listed in each server's documentation)
Managing MCP Servers
Enabling MCP Support
After creating your configuration file:
- Open Settings with
Cmd + ,
(Mac) orCtrl + ,
(Windows/Linux) - Search for "MCP"
- Enable the MCP support setting
- Restart Kiro to apply changes
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:
- Select the Kiro icon in the activity bar
- Navigate to the MCP servers tab
- Click any tool name to insert a placeholder prompt in the chat
Troubleshooting
If you encounter issues with MCP servers:
Checking MCP Logs
- Open the Kiro panel
- Select the Output tab
- Choose "Kiro - MCP Logs" from the dropdown
Common Issues and Solutions
Issue | Solution |
---|---|
Connection failures | Verify prerequisites are installed correctly |
Permission errors | Check that tokens and API keys are valid |
Tool not responding | Review MCP logs for specific error messages |
Configuration not loading | Validate JSON syntax and restart Kiro |
Additional Resources
Next Steps
Now that you have created a hook file, you can further learn about hooks here:
- Configuring MCPs - Learn about configuring Model Context Protocol (MCP) servers
- MCP Server management - Learn how to use common MCP servers with examples
- Using MCP Tools - Learn how to effectively use MCP tools with Kiro
- Best Practices - Best practices for effective MCP usage
Model Context Protocol (MCP)