Odoo MCP Skeleton
Provides tools for interacting with Odoo's JSON-RPC API, enabling operations such as health checks, customer search and detail retrieval, and listing sale orders.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Odoo MCP Skeletonlist my recent sale orders"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Odoo MCP Skeleton
This is a Python skeleton for an Odoo MCP server built with fastmcp.
It includes:
FastMCPtool registrationFastAPIHTTP servicesecret-keyheader authentication for/mcpOdoo JSON-RPC client wrapper
Example read-only tools
Quick Start With uv
Install
uv.Enter the project directory.
Sync dependencies:
uv syncCopy environment variables:
copy .env.example .envFill in:
MCP_SECRET_KEYODOO_BASE_URLODOO_DBODOO_USERNAMEODOO_PASSWORD
Start the server:
uv run uvicorn odoo_mcp.main:app --host 127.0.0.1 --port 8080On Windows PowerShell, you can also use:
.\run.ps1Related MCP server: Odoo MCP Server
Authentication
Clients must send this header when connecting to the MCP endpoint:
secret-key: your-secret-valueSuggested MCP Endpoint
http://127.0.0.1:8080/mcpTroubleshooting Logs
If you see this pattern:
GET /mcp HTTP/1.1 307 Temporary Redirect
GET /mcp/ HTTP/1.1 404 Not Foundit usually means the outer FastAPI app and the inner FastMCP app both added an /mcp path. This project mounts FastMCP at /mcp and configures the inner FastMCP HTTP app with path="/", so the final endpoint stays:
http://127.0.0.1:8080/mcpIf you see requests to these paths:
/.well-known/oauth-protected-resource
/.well-known/oauth-authorization-server
/.well-known/openid-configurationthose are MCP client OAuth discovery probes. They can return 404 when you use simple secret-key header authentication instead of OAuth.
Common uv Commands
uv sync
uv run uvicorn odoo_mcp.main:app --host 127.0.0.1 --port 8080
uv run python -c "import odoo_mcp; print('ok')"Notes About fastmcp Versions
FastMCP has changed quickly across versions. This skeleton isolates the MCP-to-ASGI mounting logic in src/odoo_mcp/server.py. If your installed version exposes a different HTTP adapter, update only that file.
Example Tools
odoo_healthchecksearch_customersget_customer_detaillist_sale_orders
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/daitianjun/odoo-mcp-demo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server