Skip to main content
Glama

Archived: There's been many significant improvements to agentic frameworks since I first made this server, many of it's features are implemented natively in most agents today

Axom MCP Server

Axom is a Model Context Protocol (MCP) server that provides persistent memory, tool abstraction, and chain-of-thought for AI agents.

Core Features

  • Persistent Memory: Store and retrieve context across sessions using the Axom (SQLite) database.

  • Tool Abstraction: Unified interface for memory, execution, analysis, discovery, and transformation.

  • Chain Reactions: Execute tool sequences where outputs feed into the next step.

  • AI-Powered Classification: Automatically categorizes memories by type and importance.


Related MCP server: SQLite MCP Server

Quick Start

Axom runs as stdio MCP - your IDE spawns it automatically. No manual server startup needed.

Prerequisites

  • Python 3.11+

  • SQLite (included with Python)

  • Git

Installation

Linux / macOS / WSL / Windows

Requires (Git) Bash, PowerShell, or a make provider.

git clone https://github.com/PugzUI/axom-mcp.git
cd axom-mcp
make install

What make install does:

  1. Installs Python dependencies.

  2. Installs Axom in editable mode (pip install -e .).

  3. Creates .env from .env.example.

  4. Configures all detected agents (Cursor, Trae, etc.).

  5. Installs Axom rules and skills for each agent.

Make Command Menu - Overview

make help              # Project command menu
make install-help      # Install options (e.g. DRY_RUN, etc.)
make clean-help        # Cleanup options (incl. CLEAN_ALL=1 for full reset)
make agents-help       # Agent commands
make db-help           # Database commands
make test-help         # Test commands

Ruff Dev Tool Commands

make lint-help         # Lint commands (ruff dev tool)
make format-help       # Format commands (ruff dev tool)

Client Configuration

make install automatically configures MCP for detected agents. The installer uses the best available command:

  1. **axom-mcp** (if in PATH)

  2. **axom** (if in PATH)

  3. **python -m axom_mcp.server** (fallback)

See docs/agents/INDEX.md for detailed agent configuration.

For Cursor, ~/.cursor/mcp.json should contain:

{
  "mcpServers": {
    "axom": {
      "command": "axom-mcp"
    }
  }
}

For Codex, ~/.codex/config.toml should contain:

[mcp_servers.axom]
command = "axom-mcp"

Tools

Axom provides five core MCP tools:

  • **axom_mcp_memory**: Store and retrieve persistent context.

  • **axom_mcp_exec**: File operations and shell commands with pre-meditated chaining.

  • **axom_mcp_analyze**: Code analysis and debugging.

  • **axom_mcp_discover**: Map environment and capabilities.

  • **axom_mcp_transform**: Convert data between formats.


Documentation

Available Tools

5 tools
axom_mcp_analyzeA
Read-onlyIdempotent

Analyze code and data with configurable depth and scope.

Analysis Types:

  • debug: Troubleshoot issues, investigate errors, diagnose problems

  • review: Code review, quality assessment, best practices

  • audit: Security audit, compliance check, vulnerability scan

  • refactor: Refactoring suggestions, code improvement recommendations

  • test: Test coverage analysis, test generation suggestions

Focus Areas:

  • security: Security vulnerabilities, injection risks, auth issues

  • performance: Performance bottlenecks, optimization opportunities

  • architecture: Architectural patterns, design issues

  • maintainability: Code smell, complexity, documentation

Depth Levels:

  • minimal: Quick scan, critical issues only

  • low: Basic analysis, obvious issues

  • medium: Standard analysis (default)

  • high: Deep analysis, all issues

  • max: Exhaustive analysis, edge cases

Chain Support: Use chain parameter to automatically act on analysis results.

Inputs: type (required), target (required), focus, depth, +2 more.

axom_mcp_discoverA
Read-onlyIdempotent

Discover available resources, structures, and capabilities.

Discovery Domains:

  • files: List and search files in allowed directories

  • tools: List available MCP tools and their capabilities

  • memory: Explore memory structure and statistics

  • capabilities: Check server capabilities and configuration

  • all: Comprehensive discovery across all domains

Filter Options:

  • pattern: Glob pattern for file filtering (e.g., *.py)

  • type: File type filter (file, directory, all)

  • memory_type: Filter memories by type

  • importance: Filter memories by importance

Chain Support: Use chain parameter to act on discovered resources.

Inputs: domain (required), filter, limit, recursive, +1 more.

axom_mcp_execA
Destructive

Execute file operations and shell commands with chain-reaction support.

Operations:

  • read: Read file contents from allowed directories

  • write: Write data to files (unless AXOM_READ_ONLY=true)

  • shell: Execute shell commands (unless AXOM_READ_ONLY=true)

Chain Reactions: Chain multiple operations together using the chain parameter. Each step can reference the previous result using ${_result} variable substitution.

Example: { "operation": "read", "target": "/file.txt", "chain": [ { "tool": "axom_mcp_transform", "args": {"input": "${_result.content}", "output_format": "json"} } ] }

Security:

  • File operations restricted to allowed directories (cwd, ~/)

  • Shell/write operations enabled by default (set AXOM_READ_ONLY=true to disable)

  • Input size limits: 10MB max for files

Inputs: operation (required), target (required), data, chain.

axom_mcp_memoryA
Destructive

Store, retrieve, search, and manage persistent memories in the Axom database.

Memory Types:

  • long_term: Reusable patterns, architectural decisions, gotchas

  • short_term: Task-specific context, debug notes, current task state

  • reflex: Learned heuristics ("Always check X before Y" patterns)

  • dreams: Experimental ideas, creative explorations

Naming Convention: [type][descriptor][YYYYMMDD] Example: bugfix_auth_timeout_20260203

Content Format (recommended): TASK|APPROACH|OUTCOME|GOTCHAS|RELATED

Actions:

  • write: Store a new memory

  • read: Retrieve a specific memory by name

  • list: List memories with optional filters

  • search: Full-text search across memories

  • delete: Remove a memory by name

Inputs: action (required), name, content, memory_type, +5 more.

axom_mcp_transformA
Read-onlyIdempotent

Transform data between formats and structures.

Supported Formats:

  • json: JSON objects and arrays

  • yaml: YAML documents

  • csv: Comma-separated values

  • markdown: Markdown documents

  • code: Source code (with language detection)

Transformation Rules:

  • field_mapping: Rename or restructure fields

  • filter: Include/exclude specific fields

  • sort: Sort arrays by field

  • aggregate: Group and aggregate data

Template Support: Use Jinja2 templates for custom output formatting.

Chain Support: Use chain parameter to continue processing transformed data.

Inputs: input (required), output_format (required), input_format, rules, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool has a distinct primary purpose: analyze code/data, discover resources, execute operations, manage memories, and transform data. However, there is some potential overlap between 'axom_mcp_analyze' (which can suggest improvements) and 'axom_mcp_transform' (which can restructure data), though their core functions remain separate. The descriptions clearly differentiate the tools, making misselection unlikely.

    Naming Consistency5/5

    All tool names follow a consistent 'axom_mcp_' prefix with a descriptive verb suffix (e.g., analyze, discover, exec, memory, transform). This pattern is uniform across all five tools, making them predictable and easy to identify. There are no deviations in naming conventions, ensuring clarity and readability.

    Tool Count5/5

    With 5 tools, the server is well-scoped for its purpose of code analysis, resource management, and data transformation. Each tool serves a clear and necessary function without redundancy, covering key areas like analysis, discovery, execution, memory storage, and data formatting. This count is appropriate and avoids being too sparse or overwhelming.

    Completeness4/5

    The tool set provides comprehensive coverage for code analysis and data manipulation workflows, including analysis, discovery, execution, memory management, and transformation. A minor gap exists in the lack of a dedicated tool for direct code editing or version control integration, but agents can work around this using the execute and transform tools. Overall, the surface supports most common tasks without significant dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides comprehensive SQLite database interaction for AI agents, including data manipulation, schema inspection, and automated query logging. It features a unique context preservation pattern that uses a dedicated meta-table to help autonomous agents maintain self-documenting database architectures.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Gives AI coding agents persistent memory by storing observations, decisions, and learnings in a local SQLite database with vector search, full-text search, and a rules engine.
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to store, search, and manage persistent memories, todos, kanban boards, reminders, and progress trackers in a local SQLite database.
      1
      Apache 2.0