ArchMemory MCP
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., "@ArchMemory MCPShow me the project's architecture and rules."
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.
ArchMemory MCP
Give AI coding agents a memory of your architecture.
Open source MCP server built with Laravel that gives AI coding agents (Cursor, Claude Code, etc.) structured access to your project's architecture, rules, modules, and technical decisions.
Features (MVP)
5 MCP Tools — project context, rules, modules, ADRs, change validation
Artisan CLI — init, analyze, update
.archmemory/storage — Markdown + JSON, Git-versionableRules Engine — validates code changes against architecture rules
DDD Architecture — Memory, Mcp, Rules, Analysis domains
Related MCP server: codeweave-mcp
Quick Start
composer install
cp .env.example .env
php artisan key:generate
# Initialize architecture memory (if not already present)
php artisan archmemory:init
# Analyze project and update architecture.md
php artisan archmemory:analyzeCursor Integration
Add to .cursor/mcp.json (included in this repo):
{
"mcpServers": {
"archmemory": {
"command": "php",
"args": ["artisan", "mcp:start", "archmemory"],
"cwd": "${workspaceFolder}",
"env": {
"ARCHMEMORY_PATH": "${workspaceFolder}/.archmemory"
}
}
}
}Then restart Cursor. The agent can call:
Tool | Description |
| Project stack, architecture, rules summary |
| Full rules from |
| Module details and dependencies |
| ADR decision records |
| Check code against architecture rules |
Artisan Commands
php artisan archmemory:init # Create .archmemory/ structure
php artisan archmemory:analyze # Generate architecture.md from project
php artisan archmemory:update # Refresh context after changes
php artisan mcp:start archmemory # Start MCP stdio serverProject Structure
app/Domains/
├── Memory/ # Read/write .archmemory files
├── Mcp/ # MCP server + tools
├── Rules/ # Rules engine
└── Analysis/ # Project analyzer
.archmemory/ # Architecture memory (committed to Git)
docs/ # Design documentsDocumentation
PROJECT_CONTEXT.md — Full project specification
architecture-design.md — System architecture
mcp-tools-design.md — MCP tool specs
Testing
php artisan test # 32 tests
vendor/bin/pint --test # Code style check
vendor/bin/pint # Auto-fix styleCI runs on push via GitHub Actions (.github/workflows/tests.yml).
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/IWill29/archmemory'
If you have feedback or need assistance with the MCP directory API, please join our Discord server