# Hexacore Agent

> Hexacore Agent is an open-source MCP server for developer tools. Makes coding agents prove work with your own tests, checkpoints and learned lessons. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI
- **Website:** https://rbaezc.github.io/hexacore_agent/
- **Repository:** https://github.com/rbaezc/hexacore_agent
- **MCP Registry name:** io.github.rbaezc/hexacore-agent
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

Features are scaffolded as vertical slices that follow your project's layout, for 11 stacks, with a dryRun preview before any file is written. A checkpoint is taken before every write, and check_architecture fails if a slice imports from an outer layer.

Quality runs use your stack's own test runner. Each red-to-green fix becomes a lesson that earns credit only when the actual fix matches it, and lessons are kept in a library at ~/.hexacore. Tools include resume_session, execute_scaffolding, run_quality_assurance, record_lesson and record_decision.

It needs Node 20 or newer and reads the workspace from the client's MCP roots.

## Features

- **Vertical slices:** One folder per feature.
- **Checkpoints:** Saved before every write.
- **Real test runs:** Uses your own runner.
- **Lessons:** Learned from fixes.
- **Architecture check:** Fails on outer-layer imports.

## Good for

- Scaffold a feature with a dry run
- Recover after a bad edit
- Run tests inside an agent loop
- Resume where you left off

## Install

### Claude Code (Terminal)

```sh
claude mcp add hexacore-agent -- npx -y hexacore-agent
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "hexacore-agent": {
      "command": "npx",
      "args": [
        "-y",
        "hexacore-agent"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "hexacore-agent": {
      "command": "npx",
      "args": [
        "-y",
        "hexacore-agent"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "hexacore-agent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hexacore-agent"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "hexacore-agent": {
      "command": "npx",
      "args": [
        "-y",
        "hexacore-agent"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "hexacore-agent": {
      "command": "npx",
      "args": [
        "-y",
        "hexacore-agent"
      ]
    }
  }
}
```

## Tools

- `resume_session`: Resumes a session.
- `execute_scaffolding`: Scaffolds a feature.
- `run_quality_assurance`: Runs the stack's tests.
- `check_architecture`: Audits architecture.
- `record_lesson`: Records a lesson.
- `record_decision`: Records a decision.
- `design_feature`: Plans a feature.
- `define_contract`: Defines a contract.
- `orchestrate_task`: Orchestrates a task.
- `remember_preference`: Stores a preference.
- `forget_preference`: Removes a preference.
- `record_handoff`: Records a handoff.

## FAQ

### How many stacks?

11.

### What does it need?

Node 20 or newer.

### Where are lessons stored?

~/.hexacore.

### Which clients?

Claude Code, Cursor, VS Code, Claude Desktop.

### Is Hexacore Agent free?

Yes. Hexacore Agent is open source, so you can use and self-host it for free.

### How do I add Hexacore Agent to Claude Code?

Run this command in your terminal: claude mcp add hexacore-agent -- npx -y hexacore-agent

### What are the best alternatives to Hexacore Agent?

The closest alternatives to Hexacore Agent are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/hexacore-agent
