Supports deployment of the MCP server interface to Netlify for web-based access and management
MCP Instruct - Personal Knowledge Base with AI Agent Personas
A sophisticated MCP (Model Context Protocol) server that provides persistent personal and organizational knowledge across AI agents. This server acts as a memory layer that any LLM can connect to, instantly giving them context about who you are, what you do, and your preferences.
🌟 Features
- Persistent Knowledge Storage: Information persists across sessions and can be shared between different AI agents
- Structured Data Categories:
- Personal Information (name, location, languages, etc.)
- Professional Background (job, skills, experience)
- Preferences (communication style, technical level)
- Project Context (current projects, technologies, goals)
- Custom Knowledge (any category you want)
- JSON-Based Forms: Quick and structured data collection
- Semantic Search: Find information using natural language queries
- History Tracking: Keep track of all changes to your knowledge base
- Export/Import: Backup and share your knowledge base
📦 Installation
- Clone or download this repository
- Install dependencies:
- Build the TypeScript code:
🚀 Usage
Adding to Claude Desktop
Add this to your Claude Desktop configuration file (%APPDATA%\Claude\claude_desktop_config.json
on Windows):
Adding to Other AI Agents
For other AI agents that support MCP, add similar configuration pointing to the built server file.
🛠️ Available Tools
Setup & Onboarding
kb_initialize
: Check knowledge base status and initializekb_onboard
: Start interactive onboarding with questionskb_quick_setup
: Quick setup using predefined forms (identity, technical, organization)kb_list_forms
: List all available forms and their structures
Information Management
kb_update_personal
: Update personal informationkb_update_professional
: Update professional informationkb_update_preferences
: Update communication preferenceskb_update_projects
: Update project contextkb_add_custom
: Add custom knowledge to any categorykb_remove_custom
: Remove custom knowledge
Retrieval Commands
kb_get_all
: Get complete knowledge base (formats: full, summary, categories)kb_get_personal
: Get personal informationkb_get_professional
: Get professional informationkb_get_preferences
: Get preferenceskb_get_projects
: Get project contextkb_get_custom
: Get custom knowledge by categorykb_search
: Search using natural languagekb_get_context
: Get AI-ready formatted context string
Management
kb_get_history
: View recent changeskb_export
: Export knowledge base as JSONkb_import
: Import knowledge base from JSON
💡 Example Usage
First Time Setup
- Initialize the knowledge base:
- Start onboarding:
- Or use quick setup:
Updating Information
Adding Custom Knowledge
Retrieving Information
📁 Data Storage
Your knowledge base is stored in:
- Windows:
C:\Users\[username]\.mcp-personal-kb\default.json
- Mac/Linux:
~/.mcp-personal-kb/default.json
🔒 Privacy
- All data is stored locally on your machine
- No data is sent to external servers
- You have full control over your information
- Can export/import for backup or sharing
🤝 How It Works
When an AI agent connects to this MCP server, it can:
- Check if you have an existing profile
- Ask questions to build your knowledge base (if new)
- Retrieve your information to provide personalized responses
- Update information as you work together
- Search for specific information when needed
The knowledge persists between sessions, so you don't have to re-introduce yourself every time you start a new conversation.
📊 Knowledge Structure
🎯 Use Cases
- Personal Assistant: Give any AI agent instant context about you
- Team Knowledge: Share organizational knowledge across team AI tools
- Project Context: Maintain project-specific information
- Learning Profile: Store your learning preferences and progress
- Tool Preferences: Remember your favorite tools and workflows
📝 License
MIT
👤 Author
Hubert - IT Professional with 15+ years of experience
Built with ❤️ to give AI agents long-term memory about you!
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
Provides persistent personal and organizational knowledge storage that any LLM can connect to for instant context about who you are, what you do, and your preferences. Enables AI agents to maintain long-term memory across sessions through structured data categories, semantic search, and export/import capabilities.