Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Codex

Install the MariaDB AI Plugins into Codex from the MariaDB plugin marketplace.

Install the Plugin

Add the MariaDB marketplace and install the dev plugin with the Codex CLI:

codex plugin marketplace add mariadb/ai-plugins
codex plugin add dev@mariadb

To install a different variant, replace dev with sql or contributor. See Plugin Variants.

The /plugins command in Codex lets you browse and enable plugins interactively. Because it takes no arguments, you must add the marketplace with the CLI.

Configure the MCP Server

Codex starts the MCP server directly from the plugin's configuration, so you don't need to register it separately. Before the agent can use the server, you must configure the connections and directories it may access. See Configuring the MCP Server.

Register the MCP Server Manually

If the MCP server doesn't start, register it with the script included in the plugin:

codex/dev-plugin/scripts/setup-codex-mcp.sh

To unregister the server, add --remove:

codex/dev-plugin/scripts/setup-codex-mcp.sh --remove
codex\dev-plugin\scripts\setup-codex-mcp.cmd

To unregister the server, add --remove:

codex\dev-plugin\scripts\setup-codex-mcp.cmd --remove

Verify the Installation

To check that the plugin is enabled, run the following in Codex:

This page is licensed: GPLv2

Last updated

Was this helpful?