Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Odoo 18 Cli Toolkit

FreeNot checked

Command-line toolkit for Odoo 18 Community Edition - Database management, module operations, and AI-powered PostgreSQL queries

GitHubEmbed

About

Command-line toolkit for Odoo 18 Community Edition - Database management, module operations, and AI-powered PostgreSQL queries

README

A comprehensive command-line toolkit for managing Odoo 18 Community Edition. Combines click-odoo ecosystem with PostgreSQL MCP server for seamless database operations and business logic automation.

Features

Database Management — Backup, restore, copy, and initialize Odoo databases directly from terminal without web interface.

Module Operations — Update, install, and manage Odoo modules programmatically with automatic transaction handling.

Custom Scripting — Execute Python scripts with full Odoo environment access, automatic DB connection, and transaction management.

AI-Powered Queries — PostgreSQL MCP server enables natural language database operations through AI assistants.

Components

Component Purpose
click-odoo Core library for running Python scripts with Odoo environment
click-odoo-contrib Pre-built CLI tools for database and module management
postgres-mcp MCP server for AI-powered PostgreSQL operations

Quick Start

Prerequisites

  • Python 3.10+
  • PostgreSQL 14+
  • Odoo 18 Community Edition
  • uv (Python package manager)

Installation

# Clone repository
git clone https://github.com/nghidanh2005/odoo-18-cli-toolkit.git
cd odoo-18-cli-toolkit

# Create virtual environment
uv venv
.venv\Scripts\activate  # Windows
source .venv/bin/activate  # Linux/Mac

# Install dependencies
uv pip install click-odoo click-odoo-contrib

Usage Examples

# Update all modules
click-odoo-update -d your_database --all

# Backup database
click-odoo-backupdb -d your_database backup.zip

# Copy database for testing
click-odoo-copydb -d source_db -n test_db

# Run custom script
click-odoo -d your_database your_script.py

MCP Server Configuration

Add to your MCP config for AI-powered database access:

{
  "postgres": {
    "command": "uv",
    "args": [
      "run",
      "--directory",
      "/path/to/postgres-mcp",
      "postgres-mcp",
      "postgresql://user:pass@localhost:5432/your_database"
    ]
  }
}

Documentation

License

This project integrates open-source tools under their respective licenses:

  • click-odoo: LGPL-3.0
  • click-odoo-contrib: LGPL-3.0
  • postgres-mcp: Apache-2.0

Contributing

Issues and pull requests welcome. See individual component repositories for contribution guidelines.

from github.com/ihatesea69/odoo-18-cli-toolkit

Installing Odoo 18 Cli Toolkit

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/ihatesea69/odoo-18-cli-toolkit

FAQ

Is Odoo 18 Cli Toolkit MCP free?

Yes, Odoo 18 Cli Toolkit MCP is free — one-click install via Unyly at no cost.

Does Odoo 18 Cli Toolkit need an API key?

No, Odoo 18 Cli Toolkit runs without API keys or environment variables.

Is Odoo 18 Cli Toolkit hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Odoo 18 Cli Toolkit in Claude Desktop, Claude Code or Cursor?

Open Odoo 18 Cli Toolkit on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Odoo 18 Cli Toolkit with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All data MCPs