atlas-mcp-server

by cyanheads
Verified

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

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:

npm i atlas-mcp-server

(Manual) Or install from source:

  1. Clone the repository:
git clone https://github.com/cyanheads/atlas-mcp-server.git cd atlas-mcp-server
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

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 operations
    • platform-utils.js: Platform-specific utilities for build scripts
    • postinstall.js: Post-installation setup
    • prestart.js: Pre-start validation
    • set-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
  • NPM Scripts:
    npm 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:

{ "mcpServers": { "atlas": { "command": "node", "args": ["/path/to/atlas-mcp-server/build/index.js"], "env": { // Storage Configuration "ATLAS_STORAGE_DIR": "/path/to/storage/directory", // Optional, defaults to ~/Documents/Cline/mcp-workspace/ATLAS "ATLAS_STORAGE_NAME": "atlas-tasks", // Optional, defaults to atlas-tasks "ATLAS_WAL_MODE": "true", // Optional, enables Write-Ahead Logging, defaults to true "ATLAS_POOL_SIZE": "5", // Optional, connection pool size, defaults to CPU cores // Performance Configuration "ATLAS_MAX_MEMORY": "1024", // Optional, in MB, defaults to 25% of system memory "ATLAS_CACHE_SIZE": "256", // Optional, in MB, defaults to 25% of max memory "ATLAS_BATCH_SIZE": "1000", // Optional, max items per batch, defaults to 1000 "ATLAS_CHECKPOINT_INTERVAL": "30000", // Optional, in ms, defaults to 30000 "ATLAS_VACUUM_INTERVAL": "3600000", // Optional, in ms, defaults to 1 hour // Backup Configuration "ATLAS_BACKUP_DIR": "/path/to/backup/directory", // Optional, defaults to storage_dir/backups "ATLAS_BACKUP_INTERVAL": "86400000", // Optional, in ms, defaults to 24 hours "ATLAS_BACKUP_RETENTION": "7", // Optional, number of backups to keep, defaults to 7 "ATLAS_BACKUP_COMPRESSION": "true", // Optional, enable backup compression, defaults to true // Monitoring Configuration "ATLAS_LOG_LEVEL": "info", // Optional, defaults to debug "ATLAS_METRICS_INTERVAL": "60000", // Optional, in ms, defaults to 60000 "ATLAS_HEALTH_CHECK_INTERVAL": "30000", // Optional, in ms, defaults to 30000 // Environment Configuration "NODE_ENV": "production", // Optional, defaults to development "ATLAS_TEMPLATE_DIRS": "/path/to/templates", // Optional, additional template directories "ATLAS_MAX_PATH_DEPTH": "10" // Optional, max task path depth, defaults to 10 } } } }

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:

  1. 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
  2. Project Setup Templates:
    • Web Project: Modern web development setup with configurable features:
      • TypeScript support
      • Testing infrastructure
      • CI/CD workflows
      • CSS framework selection

Example team template usage:

{ "templateId": "software_engineer/team", "variables": { "projectName": "atlas-web", "teamScale": "growth", "developmentMethodology": "agile", "securityLevel": "standard", "complianceFrameworks": ["OWASP"], "enableMetrics": true } }

Example web project template usage:

{ "templateId": "web-project", "variables": { "projectName": "my-web-app", "useTypeScript": true, "includeTesting": true, "includeCI": true, "cssFramework": "tailwind" } }

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:

{ "path": "project/feature/task", // Parent path automatically set to "project/feature" "name": "Authentication Service", "type": "TASK", // or MILESTONE "status": "IN_PROGRESS", // Transitions validated against dependencies "dependencies": ["project/feature/design"], "metadata": { "priority": "high", "tags": ["security"], "technical": { "includeTesting": true, "includeCI": true, "cssFramework": "tailwind" } }

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:

{ "path": "project/feature/task", // Parent path automatically set to "project/feature" "name": "Authentication Service", "type": "TASK", // or MILESTONE "status": "IN_PROGRESS", // Transitions validated against dependencies "dependencies": ["project/feature/design"], "metadata": { "priority": "high", "tags": ["security"], "technical": { "language": "typescript", "performance": { "latency": "<100ms" } } }, "notes": { "planning": ["Security review"], "progress": ["JWT implemented"] } }

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

// Task Management create_task; // Create new tasks update_task; // Update existing tasks get_tasks_by_status; // Find tasks by status get_tasks_by_path; // Find tasks by path pattern get_children; // List child tasks delete_task; // Remove tasks with cascade/orphan/block strategies // Bulk Operations bulk_task_operations; // Execute multiple task operations // Template Operations list_templates; // List available templates use_template; // Instantiate a template get_template_info; // Get template details agent_builder; // Create and validate task templates programmatically

Template Creation

The agent_builder tool enables programmatic creation and validation of task templates with comprehensive validation:

{ "operation": "create", // or "validate" "template": { "id": "my-template", "name": "My Template", "description": "Template description", "version": "1.0.0", "variables": [ { "name": "projectName", "description": "Project name", "type": "string", "required": true } ], "tasks": [ { "path": "project/setup", "title": "Project Setup", "type": "MILESTONE", "dependencies": [] } ] } }

Features:

  • Template ID validation
  • Schema validation
  • Dependency validation with cycle detection
  • Task path uniqueness validation
  • Rich error and warning reporting

Maintenance Tools

// Database Maintenance vacuum_database; // Optimize storage repair_relationships; // Fix task relationships clear_all_tasks; // Reset task database

Resources

ATLAS exposes system resources through standard MCP endpoints:

Task Overview (tasklist://current)

{ "totalTasks": 42, "statusCounts": { "IN_PROGRESS": 15, "COMPLETED": 12 }, "metrics": { "completionRate": "35%", "blockageRate": "7%" } }

Templates (templates://current)

{ "totalTemplates": 7, "templates": [{ "id": "software_engineer/team", "name": "LLM Software Engineering Team", "description": "Coordinated team of LLM agents performing specialized software engineering roles", "variables": { "projectName": { "required": true }, "teamScale": { "default": "growth" }, "developmentMethodology": { "default": "agile" }, "securityLevel": { "default": "standard" } } }, { "id": "web-project", "name": "Web Project Setup", "description": "Modern web development project setup with configurable features", "variables": { "projectName": { "required": true }, "useTypeScript": { "default": true }, "includeTesting": { "default": true }, "cssFramework": { "default": "tailwind" } } }] }

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

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. 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>
A
security – no known vulnerabilities (report Issue)
A
license - permissive license
A
quality - confirmed to work

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.

  1. Table of Contents
    1. Overview
      1. Architecture & Components
      2. Features
        1. Task Management
          1. Performance & Reliability
            1. Validation & Safety
              1. Task Tracking
                1. Database Backups
                2. Installation
                  1. Build System
                  2. Configuration
                    1. MCP Client Settings
                    2. Notes System
                      1. Templates
                        1. Core Features
                          1. Built-in Templates
                          2. Task Structure
                            1. Task Structure
                              1. Tools
                                1. Task Operations
                                  1. Template Creation
                                    1. Maintenance Tools
                                    2. Resources
                                      1. Task Overview (tasklist://current)
                                        1. Templates (templates://current)
                                        2. Best Practices
                                          1. Task Organization
                                            1. Performance Optimization
                                              1. Error Prevention
                                              2. Contributing
                                                1. License