Skip to content
VS Code

odoo assistant for VS Code

io.github.singleflo/odoo-assistant

Odoo virtual employee via MCP: query, create, modify records, workflows, PDFs, and activities.

client:VS Code transport:stdio runtime:pypi

Install odoo assistant in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "odoo-base-url",
      "description": "ODOO_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "odoo-db",
      "description": "ODOO_DB",
      "password": true
    },
    {
      "type": "promptString",
      "id": "odoo-user",
      "description": "ODOO_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "odoo-api-key",
      "description": "ODOO_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "odoo-mcp-allow",
      "description": "ODOO_MCP_ALLOW",
      "password": true
    },
    {
      "type": "promptString",
      "id": "odoo-mcp-deny",
      "description": "ODOO_MCP_DENY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "odoo-mcp-allow-unlink",
      "description": "ODOO_MCP_ALLOW_UNLINK",
      "password": true
    }
  ],
  "servers": {
    "odoo-assistant": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "odoo-assistant"
      ],
      "env": {
        "ODOO_BASE_URL": "${input:odoo-base-url}",
        "ODOO_DB": "${input:odoo-db}",
        "ODOO_USER": "${input:odoo-user}",
        "ODOO_API_KEY": "${input:odoo-api-key}",
        "ODOO_MCP_ALLOW": "${input:odoo-mcp-allow}",
        "ODOO_MCP_DENY": "${input:odoo-mcp-deny}",
        "ODOO_MCP_ALLOW_UNLINK": "${input:odoo-mcp-allow-unlink}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

odoo assistant in other clients