Axom MCP Server
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., "@Axom MCP Serversearch 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.
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Analysis type | |
| target | Yes | File path or code to analyze | |
| focus | No | Focus area (e.g., security, performance) | |
| depth | No | Analysis depth level | |
| output_format | No | Output format preference | |
| chain | No | Chain operations based on results |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations indicate read-only, non-destructive, and idempotent behavior, which the description does not contradict. The description adds valuable context beyond annotations by detailing analysis types, focus areas, depth levels, and chain support, providing insight into how the tool behaves and what users can expect from its output. It doesn't mention rate limits or specific auth needs, but with annotations covering safety, this is sufficient for a high score.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and appropriately sized, using bullet points and clear headings to organize information efficiently. Every sentence and section earns its place by adding specific value, such as defining analysis types and depth levels, without unnecessary repetition or fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity with multiple parameters and no output schema, the description does a good job of explaining what the tool does and how to configure it. It covers analysis types, focus areas, depth levels, and chain support, which helps users understand the tool's capabilities. However, without an output schema, it could benefit from more details on return values or result formats, slightly limiting completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds some semantic context by explaining the meaning of analysis types, focus areas, and depth levels, which complements the schema's enum descriptions. However, it doesn't provide additional syntax or format details beyond what the schema offers, resulting in a baseline score of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose as 'Analyze code and data with configurable depth and scope,' which is a specific verb+resource combination. It distinguishes itself from sibling tools like 'discover,' 'exec,' 'memory,' and 'transform' by focusing exclusively on analysis rather than discovery, execution, memory operations, or transformations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for usage through detailed breakdowns of analysis types, focus areas, and depth levels, helping users understand when to apply different configurations. However, it lacks explicit guidance on when to use this tool versus its siblings, such as distinguishing analysis from transformation or execution tasks, which prevents a perfect score.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Discovery domain | |
| filter | No | Filter criteria | |
| limit | No | Maximum results | |
| recursive | No | Recursive discovery | |
| chain | No | Chain operations based on discovery |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=false. The description adds valuable behavioral context beyond annotations: it explains what 'chain parameter' does ('act on discovered resources'), describes filtering capabilities (glob patterns, type filters), and mentions 'comprehensive discovery' for the 'all' domain. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections (Discovery Domains, Filter Options, Chain Support) and uses bullet points for readability. It's appropriately sized for a multi-domain discovery tool, though the 'Filter Options' section lists options not directly mapped to schema parameters (e.g., 'importance' isn't a schema parameter), creating minor redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (5 parameters, multiple domains) and rich annotations (4 hints), the description provides good contextual completeness. It explains domains, filtering, and chaining behavior. The main gap is lack of output schema, so return values aren't described, but the discovery focus makes this less critical than for mutation tools.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all 5 parameters. The description adds some semantic context: it explains what 'domain' values mean (files=list/search, tools=list MCP tools, etc.), mentions filter options (pattern, type, memory_type, importance), and clarifies 'chain' purpose. However, it doesn't provide significant additional parameter details beyond what the schema offers.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Discover available resources, structures, and capabilities' with specific domains enumerated (files, tools, memory, capabilities, all). It distinguishes from siblings like 'analyze', 'exec', 'memory', and 'transform' by focusing on discovery rather than analysis, execution, or transformation operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for when to use this tool by listing discovery domains and filter options. It doesn't explicitly state when NOT to use it or name specific alternatives among siblings, but the domain-based structure implies usage scenarios (e.g., use for 'files' discovery vs. 'memory' operations with axom_mcp_memory).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Operation type | |
| target | Yes | File path or command | |
| data | No | Data to write (for write operation) | |
| chain | No | Chain of subsequent operations |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds significant behavioral context beyond annotations. Annotations indicate destructiveHint=true and readOnlyHint=false, but the description elaborates with security details (allowed directories, input size limits), chain-reaction functionality with variable substitution, and specific conditions for write/shell operations. This provides valuable operational context that annotations alone don't cover.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections (Operations, Chain Reactions, Example, Security) and front-loads the core purpose. Most sentences add value, though the example could be slightly more concise. Overall, it efficiently communicates complex functionality without unnecessary verbosity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no output schema and complex functionality (multiple operations, chaining, security constraints), the description provides substantial context. It covers operation types, chaining mechanics, security restrictions, and usage conditions. The main gap is lack of information about return values or error handling, but given the annotations and detailed operational guidance, it's reasonably complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema description coverage, the baseline is 3. The description adds some value by explaining the 'chain' parameter's purpose and providing an example, and it clarifies that 'target' serves as either a file path or command depending on operation. However, it doesn't significantly enhance understanding of parameters beyond what the schema already documents.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs and resources: 'Execute file operations and shell commands with chain-reaction support.' It explicitly lists the three operation types (read, write, shell) and distinguishes this tool from its siblings by emphasizing its execution capabilities, unlike analyze, discover, memory, or transform tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for when to use this tool: for file operations and shell commands with chain support. It mentions that write and shell operations are disabled when AXOM_READ_ONLY=true, offering some exclusion guidance. However, it doesn't explicitly compare to sibling tools or provide detailed alternatives for specific scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Memory operation to perform | |
| name | No | Memory identifier (required for read/write/delete) | |
| content | No | Memory content (required for write) | |
| memory_type | No | Type of memory storage | |
| importance | No | Importance level | |
| tags | No | Tags for categorization | |
| query | No | Search query (required for search) | |
| limit | No | Maximum results to return | |
| expires_in_days | No | Override default expiration in days (default per type: short_term=30d, long_term=365d, reflex=90d, dreams=180d) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds valuable behavioral context beyond what annotations provide. While annotations indicate destructiveHint=true (for delete operations), the description clarifies the full range of actions including non-destructive ones (read, list, search). It also provides memory type definitions, naming conventions, content formats, and default expiration policies - all useful behavioral information not captured in annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections (Memory Types, Naming Convention, Content Format, Actions) and front-loads the core purpose. While comprehensive, some information could be more concise - the memory type descriptions are somewhat verbose. Overall, it's efficiently organized with minimal wasted text.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a complex tool with 9 parameters, no output schema, and rich annotations, the description provides substantial context about memory types, naming conventions, content formats, and action behaviors. However, it doesn't describe return values or error conditions, which would be helpful given the absence of an output schema. The tool's complexity warrants this level of detail.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema description coverage, the input schema already documents all 9 parameters thoroughly. The description adds some semantic context about memory types and naming conventions, but doesn't provide additional parameter-specific guidance beyond what's already in the schema descriptions. This meets the baseline expectation when schema coverage is complete.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states the tool's purpose with specific verbs ('Store, retrieve, search, and manage persistent memories') and resource ('in the Axom database'). It clearly distinguishes this memory management tool from its siblings (analyze, discover, exec, transform) which appear to have different functions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context about when to use different actions (write, read, list, search, delete) and memory types, but doesn't explicitly state when NOT to use this tool versus its sibling tools. It offers good internal guidance but lacks cross-tool comparison.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Input data to transform | |
| input_format | No | Input format (auto-detected if not specified) | |
| output_format | Yes | Output format | |
| rules | No | Transformation rules | |
| template | No | Template for transformation | |
| chain | No | Chain operations after transformation |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds valuable context beyond annotations by detailing supported formats, transformation rules, template support, and chain operations. Annotations already indicate it's read-only, non-destructive, and idempotent, but the description clarifies what 'transformation' entails (e.g., field mapping, filtering, sorting) and mentions advanced features like Jinja2 templates and chaining, which enhance behavioral understanding without contradicting annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and appropriately sized, using bullet points and clear sections ('Supported Formats', 'Transformation Rules', 'Template Support', 'Chain Support') to organize information efficiently. Each sentence adds value without redundancy, making it easy to scan and understand the tool's capabilities quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (6 parameters, multiple formats and rules) and rich annotations, the description is largely complete. It covers key aspects like formats, rules, templates, and chaining. However, without an output schema, it does not describe return values or error handling, which could be helpful for a transformation tool. The annotations provide safety context, but output details are missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema description coverage, the input schema already documents all 6 parameters thoroughly. The description adds some semantic context by listing formats and rules that correspond to parameters like 'input_format', 'output_format', and 'rules', but does not provide additional syntax, examples, or details beyond what the schema specifies. This meets the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('Transform data between formats and structures') and lists the supported formats and transformation rules. It distinguishes itself from sibling tools like 'analyze', 'discover', 'exec', and 'memory' by focusing specifically on data transformation rather than analysis, discovery, execution, or memory operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage through the listing of supported formats and transformation rules, suggesting this tool should be used for data format conversion and restructuring tasks. However, it does not explicitly state when to use this tool versus alternatives like 'axom_mcp_analyze' for data analysis or provide specific exclusions or prerequisites for usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Persistent memory for AI agents. Search, store, and recall across sessions.
Shared memory for coding agents. Stop re-explaining your codebase every session.
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.16MIT
- AlicenseNot gradedqualityCmaintenanceProvides 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.321MIT
- AlicenseAqualityBmaintenanceProvides AI coding assistants with persistent memory storage using a local SQLite database. Enables tools to remember project details, notes, and relationships across sessions to maintain context and reduce repetitive explanations.174MIT
- AlicenseNot gradedqualityCmaintenanceGives 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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PugzUI/axom'
If you have feedback or need assistance with the MCP directory API, please join our Discord server