Axom MCP Server
Click on "Deploy 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., "@Axom MCP Server search my past memories for the project's deployment steps"
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.
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 installWhat make install does:
Installs Python dependencies.
Installs Axom in editable mode (
pip install -e .).Creates
.envfrom.env.example.Configures all detected agents (Cursor, Trae, etc.).
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 commandsRuff 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:
**axom-mcp**(if in PATH)**axom**(if in PATH)**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
Architecture - System design and data flow.
Tool Reference - Detailed tool parameters.
Agent Guide - How to use Axom with AI agents.
Troubleshooting - Common issues and fixes.
Available Tools
5 toolsaxom_mcp_analyzeARead-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_discoverARead-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_execADestructive
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_memoryADestructive
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_transformARead-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
Scored across 5 tools
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.
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.
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.
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
Related MCP Connectors
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Persistent memory for AI agents: save, search and connect context across tools and sessions.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Universal persistent memory and knowledge retrieval layer for AI agents and LLMs.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI agents with persistent, searchable memory using a knowledge graph stored in SQLite. Features semantic search, temporal awareness, and workflow-aware prompts for development projects.MIT
- AlicenseNot gradedqualityDmaintenanceProvides 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.1MIT
- AlicenseNot gradedqualityDmaintenanceGives 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.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to store, search, and manage persistent memories, todos, kanban boards, reminders, and progress trackers in a local SQLite database.1Apache 2.0