Odoo MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ODOO_URL | Yes | The URL of the Odoo instance (e.g., https://your-company.odoo.com) | |
| ODOO_API_KEY | Yes | The API key generated for the Odoo user | |
| ODOO_API_MODE | No | Protocol mode: 'auto' for automatic selection, 'xmlrpc' for Odoo 16-18, 'json2' for Odoo 19 | auto |
| ODOO_DATABASE | Yes | The Odoo database name | |
| ODOO_USERNAME | Yes | The Odoo user login (email) for the dedicated bot user | |
| ODOO_JOURNAL_PATH | No | Path to the local SQLite audit journal file | ~/.local/state/odoo-mcp/journal.sqlite3 |
| ODOO_ALLOW_MUTATIONS | No | Enable mutation preview and apply tools. Set to 'true' only after read-only testing. | false |
| ODOO_MAX_READ_RECORDS | No | Maximum number of records returned by read operations (default 100) | |
| ODOO_PLAN_TTL_SECONDS | No | Time-to-live for mutation preview tokens in seconds (default 300) | |
| ODOO_MAX_MUTATION_RECORDS | No | Maximum number of records affected by a mutation (default 20) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| odoo_connection_infoA | Check Odoo version, adapter, safety mode, and rollback scope. |
| odoo_search_readB | Read bounded Odoo records without exposing credentials or sensitive fields. |
| odoo_fields_getC | Inspect safe field metadata for an Odoo model. |
| preview_odoo_mutationC | Validate a create/write and return a short-lived, single-use preview token. |
| apply_odoo_mutationC | Apply an approved preview token, snapshot state, verify, and journal the change. |
| rollback_changeC | Rollback a journaled write or create performed through this MCP. |
| odoo_change_historyC | List local mutation audit entries without returning record contents. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/techniondigitalsolutions/odoo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server