🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@kireo/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kireo/mcp-server

Long-term memory for Claude Code, Cursor, Cline & any MCP client — shared, searchable, with a web dashboard. Free beta.

latest
Source
npmnpm
Version
0.2.2
Version published
Weekly downloads
56
16.67%
Maintainers
1
Weekly downloads
 
Created
Source

@kireo/mcp-server

Long-term memory for any MCP-compatible AI tool (Claude Code, Cursor, Windsurf, Cline, Zed, Continue …).

npm version

Quickstart

  • Get an API key at https://app.kireo.app/app/api-keys (ki_sk_…).
  • Add this MCP server to your host. Claude Code — run:
claude mcp add kireo --scope user --env KIREO_API_KEY=ki_sk_xxx -- npx -y --package=@kireo/mcp-server kireo-mcp

Two details in that line are load-bearing, both verified against claude 2.1.220 and npm 11 on 2026-08-03:

  • --package=@kireo/mcp-server kireo-mcp, not @kireo/mcp-server. This package ships two binaries (kireo, kireo-mcp), neither named after the package, so npx -y @kireo/mcp-server cannot pick one and fails with could not determine executable to run.
  • --package=, not the short -p. A bare -p after -- gets swallowed by the claude mcp add option parser, which then rejects its own flag: claude mcp add kireo --env … -- npx -y -p @kireo/mcp-server kireo-mcp errors with unknown option '--env'. The long form parses cleanly.

Drop --scope user if you only want it in the current project. Alternatively, check a project-scoped .mcp.json into your repo root with the same shape (inside JSON args the short -p is fine — it goes straight to npx and never reaches the claude parser):

// .mcp.json (project root)
{
  "mcpServers": {
    "kireo": {
      "command": "npx",
      "args": ["-y", "--package=@kireo/mcp-server", "kireo-mcp"],
      "env": { "KIREO_API_KEY": "ki_sk_xxx" }
    }
  }
}
  • Restart the host. You now have 8 tools available to the AI:
ToolPurpose
memory_savePersist a long-term memory
memory_searchHybrid semantic + keyword search
memory_recallReplay recent/important memories
memory_getFetch by id
memory_updatePatch fields
memory_deleteSoft/hard delete
memory_list_namespacesEnumerate namespaces
memory_healthProbe service

Configuration

Sources are merged in order: CLI args > env > ~/.kireo/config.json.

ENV / CLIDefaultDescription
KIREO_API_KEY / --api-keyrequiredBearer token (ki_sk_…).
KIREO_API_URL / --api-urlhttps://api.kireo.appOverride for self-host.
KIREO_REQUEST_TIMEOUT_MS / --timeout60000Per-request timeout in ms, max 300000 (env alias: KIREO_TIMEOUT_MS).
KIREO_RETRY_MAX_ATTEMPTS35xx/429 retries (alias: KIREO_RETRY_MAX).
KIREO_RETRY_BASE_MS200Exponential backoff base.
KIREO_TELEMETRY1Set to 0 to disable device-id header.
KIREO_LOG_LEVELinfodebug / info / warn / error / silent.
KIREO_PROXY_URLnoneHTTP(S) proxy.
KIREO_ACCEPT_LANGUAGEenLocale for error hints.

Logs land in ~/.kireo/logs/ on all platforms (macOS, Linux, Windows).

Indexing local code

Index a repository's symbols (functions / classes / methods) into a code-<repo> namespace so the AI can recall them via memory_search:

export KIREO_API_KEY=ki_sk_xxx
npx -y -p @kireo/mcp-server kireo index ./ --repo my-app

Indexing is incremental — only changed files are re-sent on subsequent runs.

FlagDefaultDescription
--repo <name>directory basenameRepo name → code-<name> namespace.
--batch-size <n>100Symbols per upload batch (1..100). Lower it if a batch times out.
--timeout <ms>60000Per-request timeout (max 300000).
--api-key / --api-url / --namespace / --log-level / --no-telemetrySame as the config table above; CLI flags override env.

Run kireo --help for the full usage text. --help and --version never touch the network or the filesystem and don't require an API key. If a batch upload times out, re-running the same command is safe: the server dedupes identical symbols, so retries won't create duplicates.

Host setup

Privacy

Set KIREO_TELEMETRY=0 to drop the X-Device-Id header. We never read your code; only the explicit content you pass to memory_save reaches the API.

Troubleshooting

  • AUTH_INVALID_KEY → rotate your key at https://app.kireo.app/app/api-keys.
  • QUOTA_EXCEEDED → upgrade or wait for next billing cycle.
  • Tools missing in your host → run npx @modelcontextprotocol/inspector node $(npm root -g)/@kireo/mcp-server/bin/kireo-mcp.cjs to verify locally.

License

MIT

Keywords

mcp

FAQs

Package last updated on 04 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts