Click 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., "@AGI-MCPUse the ATLAS process to break down the task of building a secure login system."
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.
AGI-MCP: Advanced General Intelligence Model Context Protocol Server
A comprehensive Model Context Protocol (MCP) server implementing AGI-like capabilities through the GOTCHA Framework, ATLAS Process, Thinking Mechanism, Hook System, and Subagent Architecture with integrated database memory for persistent state management.
π Features
π― GOTCHA Framework (6-Layer Architecture)
A sophisticated cognitive architecture for agentic systems:
Goals (G) - Define and manage objectives with priorities
Observations (O) - Perceive and record environmental state
Thoughts (T) - Reason and plan based on observations
Commands (C) - Select and execute actions systematically
Hypotheses (H) - Form and validate predictions
Assessments (A) - Evaluate performance and capture learnings
πΊοΈ ATLAS Process (5-Step Methodology)
Structured task execution methodology:
Analyze (A) - Understand task context and complexity
Task Breakdown (T) - Decompose into manageable subtasks
Learn (L) - Gather necessary knowledge and resources
Act (A) - Execute planned actions systematically
Synthesize (S) - Integrate results and extract insights
π§ Thinking Mechanism
Intelligent reasoning and filtering layer:
Prompt Evaluation - Assesses relevance and safety of user inputs
Tool Use Validation - Evaluates appropriateness of tool execution
Completion Assessment - Determines when work is truly complete
Purpose-Based Filtering - Aligns all actions with agent purpose
π Hook System
Claude Code-style lifecycle hooks for customization:
11 Hook Events - SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, Stop, SubagentStart/Stop, and more
Command & Prompt Hooks - Both shell command and LLM-based evaluation
Decision Control - Allow, deny, or modify operations dynamically
Context Injection - Add information at key lifecycle points
π€ Subagent System
Specialized AI assistants for focused tasks:
4 Built-in Subagents - Explore, General-Purpose, Task-Executor, Code-Reviewer
Custom Subagents - Create project or user-level specialists
Isolated Contexts - Each subagent has its own memory and permissions
Tool Restrictions - Fine-grained control over subagent capabilities
Resumable Sessions - Continue previous subagent work
πΎ Database Integration
Persistent memory as source of truth:
SQLite Database - All operations persisted
Session Tracking - Complete history and analytics
ATLAS History - Full execution traces
Query Optimization - Indexed for performance
ποΈ Memory Infrastructure
Automatic initialization and management:
Auto-Detection - Checks for existing infrastructure
Directory Creation -
memory/logsanddatastructuresSchema Initialization - Database setup on first run
Logging System - Comprehensive session logs
π¦ Installation
Standard Installation
Docker Installation
Publishing to Docker Hub
π Quick Start
As MCP Server (Native)
Add to your MCP client configuration (e.g., Claude Desktop, Cline):
As MCP Server (Docker)
Using Docker for isolated deployment:
Or using locally built image:
Direct Execution
First Session
On first run, AGI-MCP automatically:
Creates
memory/MEMORY.mddocumentationSets up
memory/logs/directoryCreates
data/directoryInitializes SQLite database
Loads all subagents
Configures hook system
π οΈ Available Tools
GOTCHA Framework (7 tools)
set_goal- Define system objectivesobserve- Record environmental observationsthink- Capture reasoning processesexecute_command- Execute and log commandsform_hypothesis- Create predictionsassess_performance- Evaluate and learnprocess_goal_with_gotcha- Full cycle processing
ATLAS Process (2 tools)
execute_atlas_task- Run complete 5-step processget_atlas_history- View task execution history
Memory Management (3 tools)
get_active_goals- List active objectivesget_memory- Query memory by layerget_session_summary- Session overview
Subagent Management (3 tools)
execute_subagent- Delegate to specialistresume_subagent- Continue previous worklist_subagents- View available subagents
π Documentation
Core Documentation
README.md - This file, project overview
CONTRIBUTING.md - Contribution guidelines
CODE_OF_CONDUCT.md - Community standards
SECURITY.md - Security policy and reporting
CHANGELOG.md - Version history
LICENSE - MIT License
Technical Documentation (docs/)
docs/ARCHITECTURE.md - System architecture and design
docs/ADVANCED.md - Thinking Mechanism, Hooks, and Subagents
docs/USAGE.md - Comprehensive usage guide with examples
docs/SKILLS.md - Skill system and orchestration
docs/QUICKREF.md - Quick reference for developers
docs/AGENTS.md - Subagent documentation
docs/GETTING_STARTED.md - Quickstart guide
docs/DEPLOYMENT.md - Deployment guide
docs/API.md - Complete API documentation
docs/MEMORY_SYSTEM.md - Memory architecture
docs/PROJECT_SUMMARY.md - Project statistics
ποΈ Architecture
π‘ Examples
Execute ATLAS Task
Use Subagent
Configure Hook
π§ͺ Testing
π€ Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Security
See SECURITY.md for security policies and reporting vulnerabilities.
π Changelog
See CHANGELOG.md for version history and changes.
π Acknowledgments
Model Context Protocol by Anthropic
Inspired by AGI principles and cognitive architectures
Built with TypeScript and SQLite
π§ Support
Create an Issue
Read the Documentation
Check Discussions
AGI-MCP - Building towards Artificial General Intelligence through Model Context Protocol