Kahuna
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kahunalearn the docs/ folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
The Problem
Every time you start a new conversation with your AI copilot, it forgets everything.
🔄 You repeat the same context about your project, your team, your standards
🤷 The copilot makes mistakes you've already corrected in past sessions
📄 Your policies, specs, and business rules sit in files the copilot never sees
🧠 Decisions and rationale from past conversations are lost forever
Copilots are powerful — but they have amnesia.
Related MCP server: Mono Memory MCP
The Solution
Kahuna gives your copilot a persistent memory that grows smarter over time.
Without Kahuna | With Kahuna |
Copilot starts fresh every session | Copilot remembers what it learned |
You repeat context manually | Context surfaces automatically |
Knowledge lives in your head | Knowledge lives in a structured KB |
Decisions are forgotten | Decisions persist across sessions |
How it works: Kahuna runs as an MCP server alongside your copilot. You teach it your context once — policies, specs, decisions, patterns — and it proactively surfaces the right knowledge for each task.
🔒 All data stays local. Your code and context never leave your machine.
Quickstart (Claude Code)
Step 1: Add Kahuna to Claude Code
claude mcp add kahuna -s user -e ANTHROPIC_API_KEY="your-anthropic-api-key" -- npx @aurite-ai/kahunaScope options:
-s project— Config stored for current project only
-s user— Config stored globally (available across all projects)
Step 2: In any project, tell your copilot:
"Set up Kahuna"
This deploys copilot rules and runs onboarding. The copilot asks a few questions to understand your context — this only happens once.
Step 3: Start teaching it your context:
"learn ~/Downloads/api-guidelines.pdf"
"learn the docs/ folder"
Step 4: Start working — Kahuna surfaces the right context automatically.
"build a customer support agent"
Kahuna feeds your copilot your API conventions, auth patterns, and related context. No reminders needed.
npm (Global Install)
npm install -g @aurite-ai/kahunaConfigure your MCP client to use kahuna-mcp as the command.
npx (No Install)
npx @aurite-ai/kahunaDocker
docker pull kahuna/mcp
docker run -i kahuna/mcpFrom Source
git clone https://github.com/Aurite-ai/kahuna.git
cd kahuna
pnpm install
pnpm --filter @aurite-ai/kahuna build
pnpm --filter @aurite-ai/kahuna bundleWhat It Looks Like
You teach Kahuna your company's context:
"learn ~/docs/api-guidelines.pdf"
"learn the docs/ folder"
Later, you start a task:
"build a customer support agent"
Kahuna automatically surfaces the relevant context to your copilot:
✅ Your API conventions and auth patterns
✅ Customer data models and access policies
✅ Error handling and response format standards
✅ Related endpoints already in the codebase
Your copilot builds it right the first time — no reminders needed.
How It Works
┌─────────────────────────────────────────────────────────────────┐
│ YOU COPILOT KAHUNA │
│ │
│ "set up Kahuna" ─────────► deploys rules ─────► .claude/ │
│ asks questions stores │
│ context │
│ │
│ "learn these docs" ───────► kahuna_learn ─────► knowledge │
│ base │
│ │
│ "build feature X" ────────► kahuna_prepare ─────► surfaces │
│ _context relevant │
│ files │
└─────────────────────────────────────────────────────────────────┘💡 If Kahuna saves you from repeating yourself, consider giving it a ⭐. It helps others discover the project.
Contents
How It Compares
Feature | Kahuna | Copilot Memory | RAG Tools | Manual Context |
Persists across sessions | ✅ | Partial | ✅ | ❌ |
Learns from files & conversations | ✅ | ❌ | Files only | N/A |
Proactive context surfacing | ✅ | ❌ | Query-based | ❌ |
Auto-classifies knowledge | ✅ | ❌ | ❌ | Manual |
Works across projects | ✅ | ❌ | Varies | ❌ |
Zero-config for copilot | ✅ | ✅ | ❌ | ❌ |
Data stays local | ✅ | ❌ | Varies | ✅ |
Kahuna is not a replacement for built-in copilot memory — it's what copilot memory should have been.
Features
🧠 Knowledge Base — Store, categorize, and retrieve context from markdown files
🎯 Smart Context Surfacing — Automatically surface relevant knowledge for your task
🔗 Integration Management — Discover, verify, and use external service integrations
🔐 Secure Credential Vault — Store and manage secrets with multiple provider support
📊 Usage Tracking — Monitor token consumption and costs per project
🚀 Onboarding System — Guided setup for organization and project context
Available Tools
Tool | Description |
| Deploys copilot rules, runs onboarding |
| Adds files to knowledge base with classification |
| Surfaces relevant knowledge for a task |
| Quick Q&A against the knowledge base |
| Remove outdated files from the knowledge base |
| Store org or user context in the knowledge base |
| View token usage and cost summary for the project |
| List all discovered integrations and their status |
| Execute operations on discovered integrations |
| Verify integration credentials and connectivity |
| Verify MCP server connectivity |
Documentation
For Users:
MCP Server Documentation — Installation, tools, configuration
Advanced Documentation — Integrations, vault, KB structure
For Contributors:
Product Design — Core concepts, tool specifications
Contributing
We welcome contributions of all kinds!
🐛 Found a bug? Open an issue
💡 Have an idea? Open a feature request
🔧 Want to contribute code? Open a PR
Prerequisites
Node.js 18+
pnpm 9+
Quick Start
# Install dependencies
pnpm install
# Set up environment
cp apps/mcp/.env.example apps/mcp/.env
# Build workspace packages
pnpm build
# Run tests
pnpm testScripts
Command | Description |
| Build all packages (via Turborepo) |
| Run all tests across workspace |
| Lint codebase (Biome) |
| Lint and auto-fix issues |
| Format codebase (Biome) |
| Type-check all packages |
| Remove build artifacts and caches |
Testing CLI
Command | Description |
| Run testing CLI |
| Create a test project from a scenario |
| List available scenarios and test projects |
| Collect results from a test session |
Project Structure
kahuna/
├── apps/
│ └── mcp/ # MCP server (stdio) — context management tools
│ ├── src/
│ │ ├── knowledge/ # Knowledge base domain logic (agents, storage, surfacing)
│ │ ├── integrations/ # External service integration management
│ │ ├── vault/ # Secure credential management
│ │ ├── usage/ # Token usage and cost tracking
│ │ └── tools/ # MCP tool handlers
│ └── templates/ # Project initialization templates
├── packages/
│ ├── testing/ # QA testing infrastructure (scenarios + CLI)
│ └── vck-templates/ # Copilot configuration templates
└── docs/ # DocumentationLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aurite-ai/kahuna'
If you have feedback or need assistance with the MCP directory API, please join our Discord server