-
-
Notifications
You must be signed in to change notification settings - Fork 1
Kiro Integration
Complete guide for connecting MCP Local Memory Service to Kiro — AI-powered IDE.
- Node.js 20+ installed
- Kiro installed (download)
- Internet access for first-time setup
npm install -g @vheins/local-memory-mcpGlobal install gives faster startup and no re-download every time Kiro restarts; then configure the MCP server in Kiro (see below).
Kiro reads MCP configuration from a JSON file. There are two levels:
Create a .kiro/settings/mcp.json file in your project root:
{
"mcpServers": {
"local-memory": {
"command": "npx",
"args": ["-y", "@vheins/local-memory-mcp"],
"disabled": false
}
}
}Or if already globally installed:
{
"mcpServers": {
"local-memory": {
"command": "local-memory-mcp",
"args": [],
"disabled": false
}
}
}Create a ~/.kiro/settings/mcp.json file with the same structure.
Priority: workspace level overrides user level. If both files exist, the workspace configuration takes precedence.
- Open Kiro
- Open the command palette:
Cmd + Shift + P(Mac) /Ctrl + Shift + P(Windows/Linux) - Search for "MCP"
- Choose one of:
- Kiro: Open workspace MCP config (JSON) — for this project only
- Kiro: Open user MCP config (JSON) — for all projects
- Add the
local-memoryconfiguration as shown above - Save the file — Kiro automatically reconnects to the server
- Open Kiro Panel (sidebar)
- Click the Open MCP Config icon
- Add the
local-memoryconfiguration - Save the file
To prevent Kiro from asking for confirmation every time the agent calls a memory tool, you can auto-approve:
{
"mcpServers": {
"local-memory": {
"command": "npx",
"args": ["-y", "@vheins/local-memory-mcp"],
"autoApprove": ["memory-read", "task-read", "standard-read"]
}
}
}Read-only tools are safe to auto-approve. Write tools (memory-write, task-write, etc.) should still require confirmation. To auto-approve all tools (not recommended): "autoApprove": ["*"].
If there are tools you don't want to use:
{
"mcpServers": {
"local-memory": {
"command": "npx",
"args": ["-y", "@vheins/local-memory-mcp"],
"disabledTools": ["memory-delete", "task-delete"]
}
}
}You can add environment variables for the server:
{
"mcpServers": {
"local-memory": {
"command": "npx",
"args": ["-y", "@vheins/local-memory-mcp"],
"env": {
"PORT": "3456"
}
}
}
}Or use variable expansion from the system:
{
"mcpServers": {
"local-memory": {
"command": "npx",
"args": ["-y", "@vheins/local-memory-mcp"],
"env": {
"STORAGE_PATH": "${HOME}/my-custom-path/memory"
}
}
}
}To turn off the server without removing the configuration, set "disabled": true in the server config.
- Save the MCP configuration file
- Open Kiro Panel
- Check whether the
local-memoryserver appears with status running - Try asking the Kiro agent:
"What do you know about this project?"
If the agent responds with a list of memories or "No memories yet" (not an error), the connection is successful.
Kiro can run the memory web dashboard:
npx @vheins/local-memory-mcp dashboard
# Open http://localhost:3456Or ask the Kiro agent to run it — but the dashboard will run in a separate terminal.
-
Server not showing in the panel: validate the JSON file syntax (
cat .kiro/settings/mcp.json | python3 -m json.tool) and check PATH (which npx,which local-memory-mcpif global install). -
Server error / disconnect: try running directly to see errors:
npx -y @vheins/local-memory-mcp. - Configuration changes not taking effect: Kiro auto-reconnects when the file is saved; if not, search for "Kiro: Reload Window" in the command palette or restart Kiro.
-
Slow startup: if using
npx, every Kiro restart may re-download the package — use the global install.
MCP Local Memory Service — local-first long-term memory (SQLite + semantic search), a web dashboard, and a codebase index for AI agents. Back to Home
Provided "AS IS", without warranty of any kind.
Home
English
- Getting Started
- Tools Reference
- MCP Concepts
- Features
- Hybrid Search
- Dashboard Guide
- Troubleshooting
- Auto-Start Dashboard
- Claude Code Integration
- Codex Integration
- Kiro Integration
Bahasa Indonesia
- Memulai
- Referensi Alat
- Referensi Protokol MCP
- Fitur Inti
- Pencarian Hibrida
- Panduan Dasbor
- Pemecahan Masalah
- Auto-Start Dasbor
- Integrasi Claude Code
- Integrasi Codex
- Integrasi Kiro
Features