# learnpress/4.4.1/config/settings/mcp.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.4.1. 34 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.4.1/code/config/settings/mcp.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.1/raw/config/settings/mcp.php
- Modified: 2026-06-26T11:19:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.4.1/code/config/settings/mcp.php#L10-L20`.

```php
<?php
/**
 * Setting tab MCP.
 */

return apply_filters(
	'learn_press_mcp_settings',
	array(
		array(
			'type'  => 'title',
			'title' => esc_html__( 'MCP Integration', 'learnpress' ),
			'id'    => 'lp_metabox_mcp_general',
		),
		array(
			'title'   => esc_html__( 'Enable MCP Integration', 'learnpress' ),
			'id'      => 'enable_mcp_integration',
			'default' => 'no',
			'type'    => 'checkbox',
			'desc'    => sprintf(
				/* translators: %s: MCP documentation URL. */
				__(
					'Enable Model Context Protocol integration for AI-powered LMS operations. Review all AI actions before executing. <a href="%s" target="_blank" rel="noopener noreferrer">Learn more</a>.',
					'learnpress'
				),
				esc_url( 'https://learnpresslms.com/docs/learnpress-developer-documentation/model-context-protocol-mcp-integration/' )
			),
		),
		array(
			'type' => 'sectionend',
			'id'   => 'lp_metabox_mcp_general',
		),
	)
);

```
