Skip to Content
Menu

AI Chatbot with MCP Tools

by
Odoo

103.89

v 18.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 774
Technical Name ai_chat
LicenseLGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 774
Technical Name ai_chat
LicenseLGPL-3

AI AI Chatbot with MCP Tools

MCP Tool Configuration and Advanced Prompts

This module integrates an intelligent chatbot into Odoo, allowing users to interact with language models such as OpenAI (GPT), Gemini (Google) and Claude (Anthropic), with extended support for custom tools based on the Model Context Protocol (MCP). Additionally, the chatbot maintains per-user conversation memory and responds in each user's predefined language.
Extra: It also supports processing attachments in PDF, CSV, XLSX, JSON and TXT formats.

AI Chat Integration Screenshot
MCP

MCP Integration

Run external tools and extend chatbot capabilities in real time using the Model Context Protocol.

Files

File Processing

Supports attachments in PDF, CSV, XLSX, JSON, and TXT. Analyze and answer about documents directly in chat.

Security

Security and Control

Access restricted by groups, permission configuration, and usage control to protect your information.

AI

Multi-Model AI Support

Compatible with OpenAI (GPT), Gemini (Google), Claude (Anthropic), and easy integration of new models or providers.

Memory

Memory and Multilanguage

Remembers each user's context and responds in their preferred language for a personalized experience.

Mobile Friendly

Friendly UI & Responsive Design

Enjoy an intuitive and modern interface, fully responsive and optimized for mobile devices.

Prerequisites Prerequisites

  • Node.js installed in the environment
  • Install the following external libraries:
    • mcp-use==1.3.7
    • fastembed==0.7.1
    • langchain_google_genai==2.1.8
    • langchain_anthropic==0.3.16
    • langchain_openai==0.3.28

Installation Installation

Run:

pip install mcp-use==1.3.7 fastembed==0.7.1 langchain_google_genai==2.1.8 langchain_anthropic==0.3.16 langchain_openai==0.3.28

Also make sure node is available to run MCP clients. See Node Download

Configuration Configuration

  • In Settings > Users, enable the AI Chat group to allow access.
  • Group members will see the AI CHAT button at the top-right of the main view.
  • Administrators will be able to configure:
    • The language model to use (OpenAI, Gemini or Claude)
    • The provider API key
    • Prompt templates and instructions
    • Available tools via MCP
Chat Security in Odoo Chat Settings in Odoo

Using the Chatbot Using the Chatbot

Once enabled, users with access will see the AI CHAT button at the top. Clicking it opens a conversational interface with the preconfigured settings.

Enable the Streaming option for a better real-time response experience.

Chatbot Interface in Odoo Chatbot Interface in Odoo

MCP Tool Support MCP Tool Support

This integration uses the Model Context Protocol (MCP) to run external tools. This extends the chatbot’s capabilities with real-time data and actions.

Useful references:

  • Official MCP Website
  • MCP Server Directory
  • MCP Servers GitHub
MCP Integration Example

Additional Notes Additional Notes

This module is designed to be easily extensible. You can add new tools, AI models, or prompt templates and dynamic configuration.
Note: Tested only with mcp-use version 1.3.7.

To get better results modify the prompt using ##Rules o extra ##Context

**Important: When using task that required tools no-streaming mode get better result. Use streaming for regular tasks

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.