atlas-mcp-server
ATLAS MCP Server
ATLAS (Adaptive Task & Logic Automation System) is a high-performance Model Context Protocol server designed for LLMs to manage complex task hierarchies. Built with TypeScript and featuring ACID-compliant storage, efficient task tracking, and intelligent template management, ATLAS provides LLM Agents task management through a clean, flexible tool interface.
Table of Contents
- Overview
- Features
- Installation
- Configuration
- Templates
- Task Structure
- Tools
- Resources
- Best Practices
- Contributing
- License
Overview
ATLAS implements the Model Context Protocol (MCP), enabling standardized communication between LLMs and external systems through:
- Clients: Claude Desktop, IDEs, and other MCP-compatible clients
- Servers: Tools and resources for task management and automation
- LLM Agents: AI models that leverage the server's task management capabilities
Key capabilities:
- Hierarchical Task Organization: Intuitive path-based structure with automatic relationship management
- Task State Management: Status monitoring and progress tracking
- Smart Templates: Pre-built and customizable templates for common workflows
- Enterprise Features: ACID compliance, connection pooling, automatic maintenance
- Performance Focus: Optimized caching, batch operations, and health monitoring
Architecture & Components
Core system architecture:
Core Components:
- Storage Layer: ACID-compliant SQLite with WAL and connection pooling
- Task Layer: Validation, relationships, and dependency management
- Event System: Health monitoring and circuit breakers
- Template Engine: Inheritance and variable interpolation
Features
Task Management
- Hierarchical Organization: Path-based structure with automatic parent path determination
- Rich Metadata: Flexible schema for requirements, progress, and documentation
- Status Tracking: State machine with strict transition rules and dependency validation
- Smart Templates: Pre-built patterns with variable interpolation
- Contextual Notes: Automatic tool-specific guidance and best practices
- Cascade Operations: Flexible deletion strategies for hierarchical task management
Performance & Reliability
- Enterprise Storage: SQLite with WAL and ACID compliance
- Automated Backups: Configurable backup schedules with compression
- Optimized Operations: Batch processing and automatic maintenance
- Health Monitoring: System metrics and automatic recovery
- Resource Management: Memory monitoring and connection pooling
Validation & Safety
- Path Validation:
- Automatic parent path determination
- Format verification and sanitization
- Depth and length constraints
- Character set restrictions
- Dependency Management:
- Strict transition validation
- Automatic dependency blocking
- Cycle detection
- Parent-child integrity
- Schema Enforcement:
- Type validation with Zod
- Size constraints
- Required field checks
- Custom validation rules
- Status Rules:
- State machine transitions
- Dependency-aware updates
- Automatic status propagation
- Blocking state management
Task Tracking
- Status Monitoring: Efficient task state tracking
- Progress Metrics: Completion rates and status distribution
- Dependency Tracking: Relationship and blocking status monitoring
- Performance Insights: Resource tracking and bottleneck detection
Database Backups
- Automated Scheduling: Configurable backup intervals with retention policies
- Compression Support: Efficient storage with optional compression
- Point-in-Time Recovery: Maintain multiple backup points for recovery
- Backup Validation: Automatic integrity checks of backup files
- Flexible Storage: Configurable backup location and naming conventions
- Secure Operations: Atomic backup operations with WAL mode support
- Monitoring: Backup status tracking and error reporting
Installation
(Recommended) You can install ATLAS MCP Server directly using npm:
(Manual) Or install from source:
- Clone the repository:
- Install dependencies:
- Build the project:
Build System
ATLAS uses a robust build system with several key components:
- Build Scripts: Located in
scripts/
directory:build-utils.js
: Core utilities for build operationsplatform-utils.js
: Platform-specific utilities for build scriptspostinstall.js
: Post-installation setupprestart.js
: Pre-start validationset-build-permissions.js
: Build file permission management
- Platform Utilities:
- Build-time: Simplified version in
scripts/platform-utils.js
- Runtime: Full TypeScript implementation in
src/utils/platform-utils.ts
- Build-time: Simplified version in
- NPM Scripts:Copynpm run build # TypeScript compilation + permission setup npm run clean # Remove build artifacts npm run dev # Development mode with watch npm run tree # Generate directory structure
The build system ensures proper setup across different platforms (Windows, macOS, Linux) while maintaining security through appropriate file permissions and validation.
Configuration
MCP Client Settings
Add to your MCP client settings:
Notes System
ATLAS provides contextual guidance through an intelligent notes system that automatically attaches relevant documentation to tool responses. Features include tool-specific guidance, markdown formatting support, pre-configured notes for common operations, and dynamic configuration updates through config/notes.json
.
Templates
ATLAS provides an intelligent template system that streamlines task creation and management:
Core Features
- Smart Variables: Type-safe interpolation with validation
- Inheritance: Template composition with metadata transformation
- Dynamic Generation: Conditional tasks and automated dependencies
- Validation: Custom rules and relationship verification
- Programmatic Creation: Create and validate templates via agent_builder tool with:
- Template ID validation
- Schema enforcement
- Dependency cycle detection
- Path uniqueness checks
- Rich error reporting
Built-in Templates
ATLAS includes two types of specialized templates:
- Software Engineering Team Templates:
- Team Coordination: Project setup, roles, and communication channels
- Product Design: User research, requirements, and design systems
- System Architecture: Technical design and system planning
- Security Engineering: Security architecture and compliance
- DevOps: Infrastructure automation and CI/CD
- Technical Leadership: Development standards and quality assurance
- Project Setup Templates:
- Web Project: Modern web development setup with configurable features:
- TypeScript support
- Testing infrastructure
- CI/CD workflows
- CSS framework selection
- Web Project: Modern web development setup with configurable features:
Example team template usage:
Example web project template usage:
See templates/README.md for the complete template catalog.
Task Structure
Tasks are organized using a hierarchical path-based format with automatic parent path determination:
See templates/README.md for the complete template catalog.
Task Structure
Tasks are organized using a hierarchical path-based format with automatic parent path determination:
Features:
- Automatic parent path determination
- Path-based hierarchy (max depth: 10)
- Rich metadata and documentation
- Strict status transitions
- Dependency validation
- Progress tracking
Tools
ATLAS provides a comprehensive set of tools for task management:
Task Operations
Template Creation
The agent_builder tool enables programmatic creation and validation of task templates with comprehensive validation:
Features:
- Template ID validation
- Schema validation
- Dependency validation with cycle detection
- Task path uniqueness validation
- Rich error and warning reporting
Maintenance Tools
Resources
ATLAS exposes system resources through standard MCP endpoints:
Task Overview (tasklist://current)
Templates (templates://current)
Best Practices
Task Organization
- Use descriptive paths:
project/component/feature
- Limit hierarchy depth (max 10 levels)
- Group related tasks under milestones
- Maintain clear dependencies
- Document changes in metadata
Performance Optimization
- Use bulk operations for batch updates
- Enable WAL mode for concurrent access
- Configure appropriate cache sizes
- Schedule regular maintenance
- Monitor system health metrics
Error Prevention
- Validate inputs before operations
- Use atomic transactions for consistency
- Implement retry logic with backoff
- Monitor error patterns
- Maintain audit trails
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
For bugs and feature requests, please create an issue.
License
Apache License 2.0
<div align="center"> Built with the Model Context Protocol </div>
ATLAS (Adaptive Task & Logic Automation System) is a Model Context Protocol server that provides hierarchical task management capabilities to Large Language Models. This tool provides LLMs with the structure and context needed to manage complex tasks and dependencies.