dolibarr 25.0.0-alpha
Module Ai

Ai module descriptor. More...

Files

file  assistant.php
 MCP Server & Assistant Configuration Page.
 
file  configure_tools.php
 Admin page to configure which MCP tools are available per context.
 
file  custom_prompt.php
 Ai other custom page.
 
file  log_viewer.php
 AI Request Log Viewer with Payload Inspection.
 
file  server_mcp.php
 MCP Server & Assistant Configuration Page.
 
file  setup.php
 Ai setup page.
 
file  list_models.php
 Return the list of model ids available from the configured AI provider.
 
file  download_pdf.php
 Script to generate and download a PDF from AI assistant data.
 
file  execute_tool.php
 API endpoint for executing tools via the MCP (Model Context Protocol)
 
file  index.php
 Main Chat Interface for MCP Server AI Assistant.
 
file  parse_intent.php
 File to handle MCP (Model Context Protocol) Intent Parsing This service receive a prompt, format and complete it with list of tools, send it to AI service and return the answer.
 
file  popover.php
 AJAX endpoint returning the AI Assistant chat HTML fragment for the topbar popover.
 
file  actions_ai.class.php
 Hooks making the AI assistant aware of the page being viewed.
 
file  ai.class.php
 Class files with common methods for Ai.
 
file  airequestlog.class.php
 Class file used for multicompany entity filtering with getEntity()
 
file  emailcleaner.class.php
 Service class to clean EmailCollector messages without business decisions.
 
file  llmadapter.class.php
 Universal adapter for multiple LLM providers.
 
file  mcp.class.php
 File of class to handle MCP (Model Context Protocol).
 
file  mcpauth.class.php
 Authentication of MCP clients on the Streamable HTTP endpoint.
 
file  mcptool.class.php
 File of class to manage MCP Tools.
 
file  privacy_guard.class.php
 Class to mask and unmask sensitive GDPR data in text.
 
file  writeconfirmation.class.php
 Confirmation gate for AI writes, on the MCP multi-round-trip pattern.
 
file  ai.lib.php
 Library files with common functions for Ai.
 
file  mcp_server.php
 File of the MCP Server service.
 
file  api_bridge.class.php
 WIP MCP tool bridge that derives AI tools from the enabled REST API classes.
 
file  categories.class.php
 MCP Server tool for Dolibarr categories.
 
file  coffeemaker.class.php
 MCP Server tool for Smart Coffee Maker integration (Easter Egg edition).
 
file  crud_objects.class.php
 MCP Server tool for CRUD operations on Dolibarr objects.
 
file  email_cleaner.class.php
 MCP tools for EmailCollector AI cleaner (technical/descriptive only).
 
file  products.class.php
 MCP Server tool for products and services.
 
file  thirdparty.class.php
 MCP Server tool for Dolibarr categories.
 

Detailed Description

Ai module descriptor.