MCP Server: Easy Connect
by Sveltware Solutions https://www.linkedin.com/in/sveltware , much. GmbH https://www.linkedin.com/in/sveltwareLet Claude talk to Odoo. On your terms.
MCP Server exposes your Odoo over the Model Context Protocol so AI assistants like Claude, Cursor and VS Code can read and act on your data through natural language. A built-in Setup Assistant diagnoses every step and generates copy-ready config for each client, while a per-model permission matrix keeps the AI scoped to exactly what you allow, with an audit log for everything it touches.
# An MCP endpoint for Odoo, without the guesswork
The Model Context Protocol is how modern AI assistants talk to external tools and data. This module turns your Odoo into an MCP-reachable source, so an assistant can search records, read details and run allowed operations in plain language.
Where most setups leave you stitching together API keys, client config files and permission checks by hand, MCP Server ships a Setup Assistant: it live-tests every link in the chain, tells you exactly what is missing, generates copy-ready config for your specific client, and lets you mint a scoped API key without leaving the page.
# Key Features & Capabilities
# Talk to Odoo like this
No query builder, no domain syntax. Your team asks in plain language and the model turns it into the right Odoo call, within the models and operations you allowed.
Totals and counts run server-side as aggregations, so a report over a million rows comes back as one number, never a million records dumped into the chat.
# Built for the people who live in Odoo
Each role sees only the models you exposed to them. A support key never reaches the general ledger unless you say so.
# One connection, every MCP client
The Model Context Protocol is an open standard. You connect Odoo once, and every client that speaks it works, today and the ones that ship next month.
Switch AI providers whenever you like. The connection to Odoo stays the same, so there is no lock-in to unwind later.
Which AI clients does it work with?
Which environments can I install it on?
What can the AI actually access?
Does it modify my data or Odoo's standard views?
Do I need anything besides the addon?
# Who We Are
Sveltware Solutions is a small studio building premium extensions for the Odoo backend. We work close to the metal, its OwlJS layer, rendering pipeline, and extension points, so we can change how Odoo feels without touching what keeps it stable: we build on the framework's own hooks, never override its internals.
Not one add-on but a connected ecosystem, themes, list and kanban tools, faceted search, printing, activity, and AI, under one design language. Every module is plug-and-play: zero config, no schema changes, clean uninstall, and proven on production-scale data.
It is built to be looked at, too: Apple-grade spacing, a flat-premium finish, strict WCAG 2.2. Our standard is effectiveness first, every module earns its place by making real work faster, and so does our support, replies in minutes, not a next-day queue.
# How We Build
Six standards every Sveltware module must pass before it ships:
# The Sveltware App Suite
One family of modules, designed to work seamlessly together. Click any app to open it on the Odoo Apps store in a new tab.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 2444 |
| Technical Name |
svn_mcp_server |
| License | LGPL-3 |
| Website | https://www.linkedin.com/in/sveltware |
MCP Server: Easy Connect
v1.0.0
Overview
The MCP Server module enables AI assistants to securely access and interact with your Odoo data through the Model Context Protocol (MCP). This module provides the server-side infrastructure within Odoo, while a separate Python package handles the MCP client communication. Supports full CRUD operations - create, read, update, and delete records through natural language.
Installation
Download and install the module in your Odoo instance
Navigate to Settings > MCP Server to configure access
Install UV on your local computer (where your AI assistant runs):
macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | shWindows:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
After installation, restart your terminal.
Configure your AI assistant to connect via MCP using the companion Python package
Configuration
Model Access
- Go to Settings > MCP Server > Enabled Models
- Add models you want to expose (e.g., res.partner, product.product)
- Configure permissions for each model: - Read access - Write access - Create access - Delete access
API Key Setup
- Navigate to Settings > Users & Companies > Users
- Select the user for MCP access
- Go to API Keys tab
- Generate a new API key with appropriate scope
- Use this key in your MCP client configuration
Client Setup
Important
The MCP Server runs on your local computer (where Claude Desktop or other AI assistants are installed), not on the Odoo server. The Python package connects from your local machine to your remote Odoo instance.
After installing the module and generating an API key, you can configure your AI assistant using either transport method:
Transport Options
The MCP server supports two transport types:
- stdio transport (default): For local AI assistants like Claude Desktop, VS Code extensions
- streamable-http transport: For web-based clients or remote connections
Standard Configuration (stdio transport):
{ "mcpServers": { "odoo": { "command": "uvx", "args": ["mcp-server-odoo"], "env": { "ODOO_URL": "https://your-odoo-instance.com", "ODOO_API_KEY": "your-api-key-here" } } } }
HTTP Transport Configuration:
For web-based or remote MCP clients:
{ "mcpServers": { "odoo": { "command": "uvx", "args": ["mcp-server-odoo", "~~~~~~~~~~~~~reamable-http", "~~~~~~~~~~~~~ "env": { "ODOO_URL": "https://your-odoo-instance.com", "ODOO_API_KEY": "your-api-key-here" } } } }
Then connect your client to http://localhost:8000/mcp/
Client-Specific Examples
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json using the configuration examples above.
Cursor
Add to ~/.cursor/mcp_settings.json using the configuration examples above.
Claude Code
Run the following command to add the Odoo MCP server:
claude mcp add odoo \ -e ODOO_URL=https://your-odoo-instance.com \ -e ODOO_API_KEY=your-api-key-here \ ~~~~~~~~~~~~~-server-odoo
Environment Variables
The MCP client requires one of the following authentication methods:
API Key Authentication (Recommended):
- ODOO_URL: Your Odoo instance URL (e.g., https://mycompany.odoo.com)
- ODOO_API_KEY: The API key generated in the previous step
Username/Password Authentication:
- ODOO_URL: Your Odoo instance URL (e.g., https://mycompany.odoo.com)
- ODOO_USER: Your Odoo username
- ODOO_PASSWORD: Your Odoo password
Optional Variables:
- ODOO_DB: Database name (auto-detected if not specified)
Security Groups
The module creates two security groups:
- MCP Administrator: Can configure MCP settings and manage enabled models
- MCP User: Can access MCP-enabled models based on configured permissions
Usage Examples
Once configured, you can query and manage your Odoo data using natural language:
Data Retrieval:
- "Show me all customers from Spain"
- "Find products with stock below 10 units"
- "List today's sales orders over $1000"
- "Search for unpaid invoices from last month"
Data Management:
- "Create a new customer contact for Acme Corporation"
- "Add a new product called 'Premium Widget' with price $99.99"
- "Update the phone number for customer John Doe"
- "Change the status of order SO/2024/001 to confirmed"
- "Delete the test contact we created earlier"
API Endpoints
The module provides several REST and XML-RPC endpoints:
REST API
- /mcp/health - Health check
- /mcp/system/info - System information
- /mcp/auth/validate - API key validation
- /mcp/models - List enabled models
- /mcp/models/{model}/access - Check model permissions
XML-RPC API
- /mcp/xmlrpc/common - Authentication
- /mcp/xmlrpc/db - Database operations
- /mcp/xmlrpc/object - Model operations
Security Considerations
- Use HTTPS in production environments
- Generate unique API keys for each integration
- Configure model access carefully - only enable necessary models
- Regularly review audit logs for suspicious activity
- Keep the module updated
Troubleshooting
Common Issues
Module Not Installing - Check that all dependencies are satisfied - Ensure Odoo 18.0 is being used
API Key Not Working - Verify the key is active in user settings - Check user has appropriate MCP permissions - Ensure correct API key scope
Model Access Denied - Confirm model is in enabled models list - Check operation permissions for the model - Verify user's security group membership
"spawn uvx ENOENT" Error
This error means UV is not installed on your local computer:
Install UV using the commands in the Installation section above
Restart your terminal and Claude Desktop
On macOS, if the issue persists, launch Claude from Terminal:
open -a "Claude"Alternative: Use the full path to uvx (find it with which uvx)
Database Access Denied
If you see "Access Denied" when the MCP server tries to list databases:
- This is normal security behavior on some Odoo instances
- You must specify the ODOO_DB environment variable in your configuration
- The server will use your specified database without validation
Please log in to comment on this module