Add MCP support

Created on 31 January 2025, 3 months ago

Problem/Motivation

MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.

Certain parts of the Drupal ECA AI Agent could be “refactored” so that the MCP module can expose them as Resources and Tools to the LLM that should use them.

Proposed resolution

  1. Moving services and Typed Data models from the agent-submodule to the main module, making sure that only the AI Agent plugin is exposed when enabling that submodule;
  2. Creating a new submodule ai_eca_mcp
  3. Exposing Events-, Actions- and Conditions-plugins (from Core) as Resource
  4. Exposing ECA Models (in their “teaser” View Mode) as Resource
  5. Exposing the structure of ECA Models via the Typed Data model as Resource
  6. Adding a lookup Tool for ECA Models
  7. Adding a Tool for creating ECA Models
  8. Adding a Tool for editing ECA models
Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium lammensj

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024