🧬 KIP (Knowledge Interaction Protocol) is an open protocol for durable AI agent memory and learning. It connects experience, evidence, knowledge, and skills in a portable, auditable cognitive state, helping agents revise beliefs and improve future decisions through feedback from real outcomes.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add kip --env KIP_BACKEND_URL='<KIP_BACKEND_URL>' --env KIP_API_KEY='<KIP_API_KEY>' -- npx -y @ldclabs/kip-mcp-server~/.codex/config.toml
[mcp_servers.kip]
command = "npx"
args = ["-y", "@ldclabs/kip-mcp-server"]
env = { KIP_BACKEND_URL = "<KIP_BACKEND_URL>", KIP_API_KEY = "<KIP_API_KEY>" }
# codex mcp add kip --env KIP_BACKEND_URL='<KIP_BACKEND_URL>' --env KIP_API_KEY='<KIP_API_KEY>' -- npx -y @ldclabs/kip-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"kip": {
"command": "npx",
"args": [
"-y",
"@ldclabs/kip-mcp-server"
],
"env": {
"KIP_BACKEND_URL": "<KIP_BACKEND_URL>",
"KIP_API_KEY": "<KIP_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"kip": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ldclabs/kip-mcp-server"
],
"env": {
"KIP_BACKEND_URL": "<KIP_BACKEND_URL>",
"KIP_API_KEY": "<KIP_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"kip": {
"command": "npx",
"args": [
"-y",
"@ldclabs/kip-mcp-server"
],
"env": {
"KIP_BACKEND_URL": "<KIP_BACKEND_URL>",
"KIP_API_KEY": "<KIP_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"kip": {
"command": "npx",
"args": [
"-y",
"@ldclabs/kip-mcp-server"
],
"env": {
"KIP_BACKEND_URL": "<KIP_BACKEND_URL>",
"KIP_API_KEY": "<KIP_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"kip": {
"command": "npx",
"args": [
"-y",
"@ldclabs/kip-mcp-server"
],
"env": {
"KIP_BACKEND_URL": "<KIP_BACKEND_URL>",
"KIP_API_KEY": "<KIP_API_KEY>"
}
}
}
}Environment variables
KIP_BACKEND_URLKIP_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.