Skip to main content

Odoo MCP Server

A Model Context Protocol (MCP) server that provides LLMs with read-only access to Odoo databases. This server exposes Odoo models and records through the MCP protocol, allowing AI assistants to query and analyze your Odoo data.

Features

  • Read-only access to Odoo databases via OdooRPC
  • Model discovery - List all available Odoo models
  • Field introspection - Get detailed field information for any model
  • Flexible querying - Search records with Odoo's domain syntax
  • Record reading - Fetch specific records by ID
  • Count operations - Get record counts without fetching data
  • Environment-based configuration - Secure credential management
  • MCP compliance - Works with any MCP-compatible client

Installation

Install directly with uvx (recommended):

Odoo MCP Server

A Model Context Protocol (MCP) server that provides LLMs with read-only access to Odoo databases. This server exposes Odoo models and records through the MCP protocol, allowing AI assistants to query and analyze your Odoo data.

Features

  • Read-only access to Odoo databases via OdooRPC
  • Model discovery – list all available Odoo models
  • Field introspection – get detailed field information for any model
  • Flexible querying – search records with Odoo's domain syntax
  • Record reading – fetch specific records by ID
  • Count operations – get record counts without fetching data
  • Environment-based configuration – secure credential management
  • MCP compliance – works with any MCP-compatible client

Installation

Install directly with uvx (recommended):

uvx odoorpc-mcp

VS Code MCP setup

Create a .vscode/mcp.json in your workspace with:

{
	"servers": {
		"odoo": {
			"type": "stdio",
			"command": "uvx",
			"args": [
				"odoorpc-mcp"
			],
			"env": {
				"ODOO_URL": "${input:odoo_url}",
				"ODOO_DB": "${input:odoo_db}",
				"ODOO_USERNAME": "${input:odoo_username}",
				"ODOO_PASSWORD": "${input:odoo_password}"
			}
		}
	},
	"inputs": [
		{
			"id": "odoo_url",
			"type": "promptString",
			"description": "Odoo Server URL (e.g., https://your-odoo.com)"
		},
		{
			"id": "odoo_db",
			"type": "promptString",
			"description": "Odoo Database Name"
		},
		{
			"id": "odoo_username",
			"type": "promptString",
			"description": "Odoo Username"
		},
		{
			"id": "odoo_password",
			"type": "promptString",
			"description": "Odoo Password",
			"password": true
		}
	]
}

Alternatively, put credentials in a .env file in your workspace:

ODOO_URL=https://your-odoo-instance.com
ODOO_DB=your_database
ODOO_USERNAME=your_username
ODOO_PASSWORD=your_password

Usage

  • Show config example:
odoorpc-mcp --config-example
  • Print version:
odoorpc-mcp --version
  • Start the MCP server (requires environment variables):
odoorpc-mcp

Development

Build locally:

uv build

Run from source:

PYTHONPATH=src python3 -m odoo_mcp.cli --config-example

License

MIT

Metadata

Release files for odoorpc-mcp 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odoorpc-mcp 0.1.2
File Size Uploaded Provenance
odoorpc_mcp-0.1.2.tar.gz 11.3 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for odoorpc-mcp 0.1.2
File Interpreter ABI Platform
odoorpc_mcp-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.9 kB

Release files / odoorpc_mcp-0.1.2.tar.gz

Download URL odoorpc_mcp-0.1.2.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
271a45824239850bd9f8fb0c726b811915cc0b0f83a50c12ef0a88a0c8aa69e6
BLAKE2b-256 checksum
How to use checksums
27e3181a062f9f47829474c2ea450da57e1d4406c59e0d7bed19d1518c37f5ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2025.

Transparency log

Release files / odoorpc_mcp-0.1.2-py3-none-any.whl

Download URL odoorpc_mcp-0.1.2-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be26e603eea2ebc7d20156ea1ee36a756b48c18f492672dbf4fe3c81e078643c
BLAKE2b-256 checksum
How to use checksums
cf2e5dd0d7872f3ab86dfa3960d92ae84618b5128d4121e02dab0bd77dae527d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2025.

Transparency log

Security for odoorpc-mcp 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for odoorpc_mcp-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page