Skip to main content

User-equivalent Odoo access for AI agents via MCP

Project description

OdooSurface MCP

PyPI version Python Odoo License: MIT Downloads

User-equivalent Odoo access for AI agents — what the authenticated user can do in their browser, nothing more.

Prerequisites

A running Odoo instance (16.0+, CE or EE) and an MCP-compatible client (e.g. VS Code, Claude Desktop, Claude Code).

Install uv

uv is the Python runner used to launch the server — no manual Python or pip setup needed.

macOS

brew install uv

Then make uvx visible to MCP clients (non-login shells):

sudo ln -s $(which uvx) /usr/local/bin/uvx

Windows

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Linux

curl -LsSf https://astral.sh/uv/install.sh | sh

Then make uvx visible to MCP clients (non-login shells):

sudo ln -s $(which uvx) /usr/local/bin/uvx

Important: After installing uv, fully close and reopen your AI client (VS Code, Claude Code, Claude Desktop, etc.) so it picks up the new uvx command.

Configure your MCP client

Add this to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "odoo-surface": {
      "command": "uvx",
      "args": ["suco-odoo-surface-mcp@latest"],
      "env": {
        "ODOO_URL": "http://localhost:8069",
        "ODOO_DB": "your_database",
        "ODOO_USER": "admin",
        "ODOO_PASSWORD": "admin"
      }
    }
  }
}

Restart your MCP client after saving. uvx downloads and runs the package automatically — no further install steps.

Debug mode

Registers additional tools: ping, echo, inspect_view, inspect_action, inspect_fields, query_db, dump_cache, clear_cache, restart_mcp.

"args": ["suco-odoo-surface-mcp@latest", "--debug"]

Tools

Layer Tools
Discovery get_models, get_model_actions
Planning get_available_actions
Supporting list_records, get_record, search_records, get_fields, get_defaults, get_filters, list_snippets, get_snippet
Intent create, update, execute_action, archive, post_message, schedule_activity

Architecture

See SURFACE.md for the design contract, layer rationale, and planning loop.

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

suco_odoo_surface_mcp-0.1.2.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

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

suco_odoo_surface_mcp-0.1.2-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file suco_odoo_surface_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: suco_odoo_surface_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for suco_odoo_surface_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 776423dacfb406660b305a0d74152fb7111566f7847138424ba0cdd520b75821
MD5 f3de027ef789fa2c1720a5deca7816be
BLAKE2b-256 78df243a0412e1e9cfce9cd5864127ca278bb550f4ad6c8fc973495d8d8efb7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for suco_odoo_surface_mcp-0.1.2.tar.gz:

Publisher: publish.yml on solutionsunity/odoo-surface-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file suco_odoo_surface_mcp-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for suco_odoo_surface_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7e6ce8a2b9175566192612ace206842eea6131058d965495014fbb58e3e4e894
MD5 d2d8b05245174b5283ea8b4250a143ea
BLAKE2b-256 02fc3f557823327f15bda1961840af7eaf8c0384499165c2521720546e083712

See more details on using hashes here.

Provenance

The following attestation bundles were made for suco_odoo_surface_mcp-0.1.2-py3-none-any.whl:

Publisher: publish.yml on solutionsunity/odoo-surface-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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