AgentO MCP Server - Hard enforcement for code quality and memory management in Claude Code
npm install @ilam/agento-mcpMCP server for the AgentO Claude Code plugin. This package is automatically registered when you install the AgentO plugin — no manual configuration needed. See the GitHub repository for full documentation and installation instructions.
For most users: Install the AgentO plugin — this MCP server is included automatically.
Manual setup: Add to your project's .mcp.json:
``json`
{
"mcpServers": {
"agento": {
"command": "npx",
"args": ["-y", "@ilam/agento-mcp"]
}
}
}
Then run /agento:init in Claude Code.
AgentO MCP provides tools that enforce code quality on every file operation:
| Tool | Purpose |
|------|---------|
| agento_write | Write files with rule enforcement (line limits, duplicates) |agento_read
| | Read files with auto-indexing |agento_bash
| | Execute commands safely |agento_search
| | Smart codebase search with memory integration |agento_rules
| | Manage project rules |agento_functions
| | Query function index |agento_index
| | Index the codebase |agento_loop
| | Run fix iterations |agento_test
| | Run tests with retry |agento_config
| | Configuration |
- 500-line file limit - Blocks writes that exceed limit
- Duplicate detection - Warns on similar functions
- User rules - Add custom rules via agento_rules
- Auto-indexing - Function index updated automatically
- Test runner - Auto-detects Playwright, Jest, pytest, PHPUnit
- Fix loops - Iterate until tests pass
Creates .agenticMemory/ in your project:
- FUNCTIONS.md - Function signaturesRULES.md
- - Project rulesARCHITECTURE.md
- - Project structureDISCOVERY.md
- - Explored areasATTEMPTS.md
- - Failed actionsconfig.json` - Settings
-
- AgentO Plugin
- Documentation
MIT