Skip to main content

MCP server for Odoo 19.0 via the JSON-2 API

Project description

bemade-odoo-mcp

An MCP server that connects to Odoo 19.0 via the JSON-2 API (/json/2/), giving AI assistants read access to any Odoo model.

Features

  • search_records — Search any model with domain filters, field selection, and pagination
  • read_record — Read specific records by ID
  • list_models — List installed Odoo models
  • get_model_fields — Inspect a model's field schema

Requirements

  • Python 3.12+
  • An Odoo 19.0 instance with an API key

Installation

uv tool install bemade-odoo-mcp

Or from source:

git clone https://github.com/bemade/odoo-mcp.git
cd odoo-mcp
uv sync

Configuration

Set environment variables (or create a .env file):

ODOO_URL=https://your-odoo-instance.com
ODOO_API_KEY=your-api-key-here
ODOO_DB=your-database-name  # only needed for multi-database setups

To create an API key in Odoo, go to Settings > Users > [your user] > Preferences > API Keys.

Usage with Claude Code

Add to your Claude Code MCP config (.claude/settings.json):

{
  "mcpServers": {
    "odoo": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/odoo-mcp", "odoo-mcp"]
    }
  }
}

Or if installed as a tool:

{
  "mcpServers": {
    "odoo": {
      "command": "odoo-mcp"
    }
  }
}

Development

uv sync
uv run pytest

License

LGPL-3.0-only

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bemade_odoo_mcp-0.1.0a1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bemade_odoo_mcp-0.1.0a1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file bemade_odoo_mcp-0.1.0a1.tar.gz.

File metadata

  • Download URL: bemade_odoo_mcp-0.1.0a1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Pop!_OS","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bemade_odoo_mcp-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 39666687ad96fe0c6b9aa76e2b5ce9ad786cdd810ed1acd751439a7fa56d4eef
MD5 4af816cd5d3b785a23a9efcbe9b71ba0
BLAKE2b-256 aa3b75f7278653233a69c771b0503d81160a8b228ab9d89a104fd9f9dacc8ac3

See more details on using hashes here.

File details

Details for the file bemade_odoo_mcp-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: bemade_odoo_mcp-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Pop!_OS","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bemade_odoo_mcp-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6fe1b0ce03b142eb5233b99aa79cf87969bae4b6c5d090a574f34df5e8c8e4e
MD5 7f079dc8d6896c6fe730715e2e59eb64
BLAKE2b-256 7ceaf5dcbb76de30a962913b28db728ad11fbf5948b9bb01bd32105136821794

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page