Mcp Brain Manager — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mcp Brain Manager (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An intelligent context management layer for the Brain Knowledge Management System, implementing semantic routing and human-in-the-loop workflows.
The MCP Brain Manager provides:
cd mcp-brain-manager
npm install
npm run buildAdd to your MCP settings:
{
"mcpServers": {
"brain-manager": {
"command": "node",
"args": ["/path/to/mcp-brain-manager/dist/index.js"],
"description": "Intelligent Brain system management"
}
}
}#### manager_init Initialize enhanced brain session with context loading.
manager_init({ message: "Let's continue working on the API" })
// Returns: mode, confidence, last session info, current project#### propose_update Create a reviewable update proposal.
propose_update({
updateType: "progress",
updates: {
completedTasks: ["Setup auth"],
newTasks: ["Add tests"],
currentFocus: "Testing"
}
})
// Returns: proposal ID, confirmation prompt, proposed changes#### confirm_update Apply a proposed update after review.
confirm_update({
updateId: "uuid-here",
modifications: { /* optional changes */ }
})#### switch_project Switch to different project with context preservation.
switch_project({
projectName: "new-project",
createIfNotExists: true,
template: "software"
})#### return_to_previous Pop previous project from stack.
return_to_previous()#### generate_dashboard Create Obsidian-compatible project dashboard.
generate_dashboard({
projectName: "my-project",
includeAnalytics: true
})#### semantic_classify Classify user intent with reasoning.
semantic_classify({
message: "I want to analyze the performance metrics",
context: { lastProject: "api-project" }
})
// Returns: mode, confidence, reasoning#### analyze_patterns Analyze work patterns for insights.
analyze_patterns({
timeframe: "week",
focusArea: "productivity"
})// First message of the day
await manager_init({
message: "Let's continue with the chat app"
})
// Response:
{
"mode": "project_continuation",
"confidence": 0.85,
"reasoning": "Continuation signal detected with active project",
"lastSession": {
"project": "chat-app",
"lastActivity": "Implemented websocket server"
}
}// Propose an update
const proposal = await propose_update({
updateType: "progress",
updates: {
completedTasks: ["Implement websockets"],
newTasks: ["Add reconnection logic"],
currentFocus: "Connection stability"
}
})
// Review and confirm
await confirm_update({ updateId: proposal.id })await propose_update({
updateType: "decision",
updates: {
decision: "Use Socket.IO instead of raw WebSockets",
rationale: "Better browser compatibility and reconnection",
impact: "Need to refactor existing code"
}
})Available templates:
software - Software development projectsresearch - Research and investigationml - Machine learning projectswriting - Writing and documentationcustom - Blank slateNEVER store the following in the state table:
If you need to work with sensitive data:
// Future implementation
await manager_init({
message: "Start work",
encrypted: true // Triggers Monitex password prompt
})The brain-manager includes automatic validation to prevent accidental storage of sensitive data:
✅ Safe to store:
❌ Never store:
mcp-brain-manager/
├── src/
│ ├── index.ts # MCP server entry point
│ ├── brain-manager.ts # Core management logic
│ ├── semantic-router.ts # Intent classification
│ └── template-manager.ts # Project templates
├── dist/ # Compiled output
└── package.jsonThis manager coordinates with existing brain tools:
brain:brain_init for initializationbrain:state_set/getbrain:brain_remember/recallbrain:obsidian_note# Watch mode
npm run watch
# Run tests
npm test
# Build for production
npm run buildQ: Semantic classification seems wrong? A: You can provide feedback to improve:
await semantic_classify({
message: "your message",
context: { /* ... */ }
})
// If wrong, explicitly state: "switch to research mode"Q: How to see all projects? A: Use the brain tools directly:
brain:state_list({ category: "project" })Q: Update proposal expired? A: Proposals expire after 5 minutes. Create a new one.
MIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.