Skip to main content
Glama
README.md
# mcp-odoo-architect

MCP server (stdio) for scoping safe Odoo add-ons from Claude Desktop, Codex, OpenCode, or any MCP client. Deterministic local composer — no API keys, no network.

Separate from the [WebMCP Challenge entry](https://github.com/omersx/odoo-architect-webmcp) (browser UI + approval gate). Same engine, headless form.

## Tools

- `draft_plan` — 4-section architecture plan from a business requirement
- `generate_addon` — 11-file Odoo starter (manifest, models, views, security, tests, README)
- `validate_addon` — 7 static checks over the starter
- `save_addon` — generate + write all files to `output_dir/<module>/` on disk
- `explain_tradeoffs` — risks, rejected alternatives, why upgrade-safe
- `list_presets` — 4 demo briefs (urgency, pharmacy, POS discount, Shopify bridge)

Starters are review scaffolds, not production code: review + staging Odoo install first.

## Install

```bash
cd mcp-odoo-architect
npm install
```

Claude Desktop (`claude_desktop_config.json`), Codex (`config.toml` uses same JSON), OpenCode (`opencode.json` → `mcp`):

```json
{
  "mcpServers": {
    "odoo-architect": {
      "command": "node",
      "args": ["C:/Users/Wad Yonis/Desktop/webmcp1/mcp-odoo-architect/index.js"]
    }
  }
}
```

Use an absolute path to `index.js` on your machine. Restart the client after saving.

## Test

```bash
npm test
```

## License

MIT. See [LICENSE](LICENSE).

TDQS

A3.7/5.0

Scored across 6 tools

Disambiguation4/5

Each tool has a distinct role in the architecture workflow: planning, generating, validating, explaining, listing presets, and saving. The only minor overlap is generate_addon and save_addon, since both trigger generation, but the descriptions clearly separate in-memory output from disk persistence.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: draft_plan, generate_addon, validate_addon, explain_tradeoffs, list_presets, save_addon. This makes the tool set predictable and easy for an agent to navigate.

Tool Count5/5

With 6 tools, the server is well-scoped for an Odoo addon architecture and scaffolding workflow. Each tool earns its place and the count is neither too thin nor bloated.

Completeness5/5

The workflow is covered end-to-end: draft a plan, generate the starter addon, validate it, save it to disk, understand tradeoffs, and use presets for quick starts. There are no obvious dead ends for the stated purpose of producing a reviewable Odoo addon starter.

Maintenance

ActivityMaintained
ResponsivenessNo issues