How to add an MCP server to Kiro CLI
Kiro CLI reads its MCP servers from ~/.kiro/settings/mcp.json (user) or .kiro/settings/mcp.json (workspace) and connects to them over stdio (a local process) and Streamable HTTP.
119,274 of the 123,032 servers we can write a config for work in it.
A local server
A local server runs on your machine, started by Kiro CLI from its package. It needs Node.js installed first. For example, Azure MCP Server goes in ~/.kiro/settings/mcp.json (user) or .kiro/settings/mcp.json (workspace):
{
"mcpServers": {
"azure": {
"command": "npx",
"args": ["-y", "@azure/[email protected]", "server", "start"]
}
}
} A remote server
A remote server runs on its publisher's machines, and Kiro CLI connects to its address. Nothing needs installing. For example, Context7 goes in ~/.kiro/settings/mcp.json (user) or .kiro/settings/mcp.json (workspace):
{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp"
}
}
} Which servers work in Kiro CLI
Kiro CLI can send a key in a header, so the 3,251 servers that need one work in it.
| Runs | Servers | In Kiro CLI? |
|---|---|---|
| Local (stdio) | 85,194 | Works |
| Remote, Streamable HTTP | 30,876 | Works |
| Remote, Streamable HTTP, key in a header | 3,204 | Works |
| Remote, HTTP+SSE | 3,711 | No |
| Remote, HTTP+SSE, key in a header | 47 | No |
If the server does not show up
- A remote server that does not connect
- The environment variables servers ask for
- Kiro CLI's own MCP documentation
Matches the official docs The configs follow Kiro CLI's MCP docs, read on 2026-11-01.