Skip to main content
Glama

Odoo MCP Server Advanced

by AlanOgic
.env.example1.84 kB
# Odoo MCP Server Configuration # # The server searches for .env files in this order: # 1. $ODOO_CONFIG_DIR/.env (if ODOO_CONFIG_DIR is set) - CUSTOM LOCATION # 2. .env (current directory) # 3. ~/.config/odoo/.env (user config directory) - RECOMMENDED for uvx # 4. ~/.env (user home directory) # # For local installation: Copy this file to .env in the project directory # For uvx (no installation): Copy to ~/.config/odoo/.env # For custom location: Set ODOO_CONFIG_DIR environment variable # # Copy and configure: # cp .env.example .env # Or for uvx: # mkdir -p ~/.config/odoo && cp .env.example ~/.config/odoo/.env # Or for custom directory: # export ODOO_CONFIG_DIR=~/mcp-odoo-env # mkdir -p $ODOO_CONFIG_DIR && cp .env.example $ODOO_CONFIG_DIR/.env # Optional: Custom configuration directory # Set this to use a custom location for .env files (overrides all other paths) # ODOO_CONFIG_DIR=~/mcp-odoo-env # ODOO_CONFIG_DIR=/etc/odoo-mcp ODOO_URL=https://your-odoo-instance.odoo.com ODOO_DB=your-database-name ODOO_USERNAME=your-username@example.com ODOO_PASSWORD=your-api-key-or-password ODOO_TIMEOUT=30 ODOO_VERIFY_SSL=true # ODOO_API_VERSION=json-rpc (default) or json-2 (from odoo 19) # ODOO_API_KEY: API key for JSON-2 (replaces ODOO_PASSWORD) # MCP Server Transport Configuration # These settings apply when running SSE or HTTP transports # Network binding # MCP_HOST=0.0.0.0 # Host to bind to (default: 0.0.0.0 for all interfaces) # SSE Transport (Server-Sent Events) # python run_server_sse.py # MCP_PORT=8009 # Port for SSE server (default: 8009) # MCP_SSE_PATH=/sse # SSE endpoint path (default: /sse) # HTTP Transport (Streamable HTTP) # python run_server_http.py # MCP_PORT=8008 # Port for HTTP server (default: 8008) # MCP_HTTP_PATH=/mcp # HTTP endpoint path (default: /mcp)

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/AlanOgic/mcp-odoo-adv'

If you have feedback or need assistance with the MCP directory API, please join our Discord server