{"id":287716,"date":"2026-03-13T10:21:18","date_gmt":"2026-03-13T10:21:18","guid":{"rendered":"https:\/\/fr.wordpress.org\/plugins\/ide-code-snippets-bridge\/"},"modified":"2026-09-28T10:24:15","modified_gmt":"2026-09-28T10:24:15","slug":"eliodata-snippet-hub","status":"publish","type":"plugin","link":"https:\/\/mfe.wordpress.org\/plugins\/eliodata-snippet-hub\/","author":18496812,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"4.2.2","stable_tag":"4.2.2","tested":"7.1.3","requires":"5.6","requires_php":"7.4","requires_plugins":null,"header_name":"Eliodata MCP Bridge","header_author":"Eliodata","header_description":"Native snippet engine and secure IDE bridge for remote snippet management from Trae AI and VS Code.","assets_banners_color":"","last_updated":"2026-09-28 10:24:15","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/eliodata.com","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/eliodata-snippet-hub\/","header_author_uri":"https:\/\/eliodata.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":605,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0.0":{"tag":"2.0.0","author":"fgelio","date":"2026-03-13 10:35:51","revision":3481884},"4.2.2":{"tag":"4.2.2","author":"fgelio","date":"2026-09-28 10:24:15","revision":3716899}},"upgrade_notice":{"4.2.2":"<p>Upgrading from 2.0: snippets targeting all content now run on init, also during REST, cron and AJAX requests. Test on a staging site first and read the FAQ. Adds MCP tools, read-only Application Passwords, syntax checks and automatic deactivation of broken snippets.<\/p>","4.2.0":"<p>Snippets targeting all content now run earlier (on init) and also during REST, cron and AJAX requests. Test on a staging site first, and see the changelog to keep the previous timing. Also adds MCP endpoints, custom MCP tools, read-only Application Passwords and automatic deactivation of broken snippets.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3481878,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3481878,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.0","4.2.2"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1214,2206,242115,23853,240398],"plugin_category":[],"plugin_contributors":[236604],"plugin_business_model":[],"class_list":["post-287716","plugin","type-plugin","status-publish","hentry","plugin_tags-code","plugin_tags-ide","plugin_tags-mcp","plugin_tags-rest-api","plugin_tags-snippets","plugin_contributors-fgelio","plugin_committers-fgelio"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/eliodata-snippet-hub\/assets\/icon-128x128.png?rev=3481878","icon_2x":"https:\/\/ps.w.org\/eliodata-snippet-hub\/assets\/icon-256x256.png?rev=3481878","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Eliodata MCP Bridge is a WordPress plugin that combines snippet management and MCP access in one place:<\/p>\n\n<ul>\n<li>Native snippet engine included in the plugin.<\/li>\n<li>Secure REST API bridge for IDE integrations and site automation.<\/li>\n<li>MCP discovery, execution, and custom tool registration endpoints.<\/li>\n<li>Dedicated WordPress admin screens for snippets and MCP.<\/li>\n<li>Per-site custom MCP tools stored directly in WordPress.<\/li>\n<li>Import\/export, activation, targeting, and bulk actions for snippets.<\/li>\n<li>Authentication via WordPress Application Passwords, with optional read-only passwords.<\/li>\n<li>PHP syntax check before saving, automatic deactivation of snippets that cause a fatal error, and a safe mode.<\/li>\n<li>Companion extension support for VS Code, Trae, and compatible IDEs.<\/li>\n<\/ul>\n\n<p>The IDE extension (Eliodata WordPress Companion, for VS Code, Trae and compatible editors) is available as a VSIX file on the GitHub releases page. The plugin also works on its own, from the WordPress admin.<\/p>\n\n<p>Project links:<\/p>\n\n<ul>\n<li>IDE extension and source code: https:\/\/github.com\/eliodata\/eliodata-snippet-hub\/releases<\/li>\n<li>GitHub repository: https:\/\/github.com\/eliodata\/eliodata-snippet-hub<\/li>\n<\/ul>\n\n<h4>English<\/h4>\n\n<p>Use Eliodata MCP Bridge to create, edit, activate, deactivate, and target snippets directly in WordPress or remotely from a companion IDE extension. The same plugin also exposes generic MCP endpoints and lets each site define its own custom tools.<\/p>\n\n<p>Main capabilities:<\/p>\n\n<ol>\n<li>Manage snippets from WordPress admin.<\/li>\n<li>Browse and test MCP tools from the WordPress admin.<\/li>\n<li>Discover and run MCP tools remotely through secure API endpoints.<\/li>\n<li>Define custom MCP tools per WordPress site.<\/li>\n<li>Assign snippets globally, by post type, or by specific content IDs.<\/li>\n<li>Import and export snippets in JSON and NDJSON.<\/li>\n<\/ol>\n\n<h4>Fran\u00e7ais<\/h4>\n\n<p>Eliodata MCP Bridge permet de cr\u00e9er, modifier, activer, d\u00e9sactiver et cibler des snippets directement dans WordPress ou \u00e0 distance depuis une extension IDE compagnon. Le m\u00eame plugin expose aussi des endpoints MCP g\u00e9n\u00e9riques et permet \u00e0 chaque site de d\u00e9finir ses propres outils custom.<\/p>\n\n<p>Fonctionnalit\u00e9s principales :<\/p>\n\n<ol>\n<li>Gestion des snippets depuis l\u2019administration WordPress.<\/li>\n<li>Parcours et test des outils MCP depuis l\u2019administration WordPress.<\/li>\n<li>D\u00e9couverte et ex\u00e9cution d\u2019outils MCP via des endpoints API s\u00e9curis\u00e9s.<\/li>\n<li>Cr\u00e9ation d\u2019outils MCP personnalis\u00e9s propres \u00e0 chaque site WordPress.<\/li>\n<li>Ciblage global, par type de contenu, ou par IDs de contenus.<\/li>\n<li>Import et export des snippets en JSON et NDJSON.<\/li>\n<\/ol>\n\n<h4>Requirements \/ Pr\u00e9requis<\/h4>\n\n<ul>\n<li>WordPress 5.6+ (Application Passwords)<\/li>\n<li>PHP 7.4+<\/li>\n<li>WordPress admin access for plugin management<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>English<\/h4>\n\n<ol>\n<li>Download the latest plugin package.<\/li>\n<li>Upload it in WordPress: <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong>.<\/li>\n<li>Activate <strong>Eliodata MCP Bridge<\/strong>.<\/li>\n<li>Generate an Application Password in <strong>Users &gt; Profile<\/strong>.<\/li>\n<li>Optionally install the IDE extension from https:\/\/github.com\/eliodata\/eliodata-snippet-hub\/releases and connect it with the site URL, your username and the application password.<\/li>\n<\/ol>\n\n<h4>Fran\u00e7ais<\/h4>\n\n<ol>\n<li>T\u00e9l\u00e9chargez la derni\u00e8re archive du plugin.<\/li>\n<li>Importez-la dans WordPress : <strong>Extensions &gt; Ajouter &gt; T\u00e9l\u00e9verser une extension<\/strong>.<\/li>\n<li>Activez <strong>Eliodata MCP Bridge<\/strong>.<\/li>\n<li>G\u00e9n\u00e9rez un mot de passe d\u2019application dans <strong>Utilisateurs &gt; Profil<\/strong>.<\/li>\n<li>Installez si besoin l\u2019extension IDE depuis https:\/\/github.com\/eliodata\/eliodata-snippet-hub\/releases et connectez-la avec l\u2019URL du site, l\u2019identifiant et le mot de passe d\u2019application.<\/li>\n<\/ol>\n\n<h4>Security \/ S\u00e9curit\u00e9<\/h4>\n\n<ul>\n<li>Safe mode: add <code>define('ELIODATA_SNIPPET_HUB_SAFE_MODE', true);<\/code> to wp-config.php to stop running all snippets.<\/li>\n<li>On multisite, only super admins can manage snippets.<\/li>\n<li>Snippets with a PHP syntax error are never activated, and a snippet that causes a fatal error is deactivated automatically.<\/li>\n<li>Read-only Application Passwords: include <code>[readonly]<\/code> in the password name to block every write request made with it.<\/li>\n<li>Uses WordPress REST API permissions.<\/li>\n<li>Supports Application Password authentication.<\/li>\n<li>Capabilities can be filtered by the site owner.<\/li>\n<li>Input is sanitized and validated server-side.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id=\"english\"><h3>English<\/h3><\/dt>\n<dd><\/dd>\n<dt id=\"do%20i%20need%20another%20snippet%20plugin%3F\"><h3>Do I need another snippet plugin?<\/h3><\/dt>\n<dd><p>No. Eliodata MCP Bridge includes its own native snippet engine.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20vs%20code%20and%20trae%3F\"><h3>Does it work with VS Code and Trae?<\/h3><\/dt>\n<dd><p>Yes. The plugin exposes generic MCP endpoints and works with compatible IDE companions such as VS Code, Trae, and similar tools.<\/p><\/dd>\n<dt id=\"can%20each%20site%20have%20its%20own%20mcp%20tools%3F\"><h3>Can each site have its own MCP tools?<\/h3><\/dt>\n<dd><p>Yes. Custom MCP tools are stored per WordPress site, so every connected site can expose its own actions and schemas.<\/p><\/dd>\n<dt id=\"is%20it%20safe%20for%20production%20sites%3F\"><h3>Is it safe for production sites?<\/h3><\/dt>\n<dd><p>Yes, when used with standard WordPress security practices and Application Passwords. Test new snippets on a staging site first.<\/p><\/dd>\n<dt id=\"a%20snippet%20broke%20my%20site.%20how%20do%20i%20recover%3F\"><h3>A snippet broke my site. How do I recover?<\/h3><\/dt>\n<dd><p>A snippet that causes a fatal error is deactivated automatically and the error is shown in the admin. If the site is still unavailable, add <code>define('ELIODATA_SNIPPET_HUB_SAFE_MODE', true);<\/code> to wp-config.php: no snippet runs, and you can fix or deactivate the snippet from the plugin screens.<\/p><\/dd>\n<dt id=\"what%20changes%20when%20upgrading%20from%202.0%3F\"><h3>What changes when upgrading from 2.0?<\/h3><\/dt>\n<dd><p>Snippets that target all content now run on <code>init<\/code>, also during REST API, cron and AJAX requests. Call conditional tags such as <code>is_page()<\/code> inside a hook, and check the <code>permission_callback<\/code> of REST routes declared in snippets. To keep the previous timing, add <code>define('ELIODATA_SNIPPET_HUB_LEGACY_TIMING', true);<\/code> to wp-config.php.<\/p><\/dd>\n<dt id=\"fran%C3%A7ais\"><h3>Fran\u00e7ais<\/h3><\/dt>\n<dd><\/dd>\n<dt id=\"faut-il%20installer%20un%20autre%20plugin%20de%20snippets%20%3F\"><h3>Faut-il installer un autre plugin de snippets ?<\/h3><\/dt>\n<dd><p>Non. Eliodata MCP Bridge int\u00e8gre son propre moteur natif.<\/p><\/dd>\n<dt id=\"est-ce%20compatible%20avec%20vs%20code%20et%20trae%20%3F\"><h3>Est-ce compatible avec VS Code et Trae ?<\/h3><\/dt>\n<dd><p>Oui. Le plugin expose des endpoints MCP g\u00e9n\u00e9riques et fonctionne avec des extensions IDE compatibles comme VS Code, Trae et outils similaires.<\/p><\/dd>\n<dt id=\"chaque%20site%20peut-il%20avoir%20ses%20propres%20outils%20mcp%20%3F\"><h3>Chaque site peut-il avoir ses propres outils MCP ?<\/h3><\/dt>\n<dd><p>Oui. Les outils MCP custom sont stock\u00e9s par site WordPress, ce qui permet \u00e0 chaque connexion IDE d\u2019exposer ses propres actions et sch\u00e9mas.<\/p><\/dd>\n<dt id=\"est-ce%20utilisable%20en%20production%20%3F\"><h3>Est-ce utilisable en production ?<\/h3><\/dt>\n<dd><p>Oui, en appliquant les bonnes pratiques WordPress et les mots de passe d\u2019application. Testez les nouveaux snippets sur un site de recette.<\/p><\/dd>\n<dt id=\"un%20snippet%20a%20cass%C3%A9%20mon%20site%2C%20que%20faire%20%3F\"><h3>Un snippet a cass\u00e9 mon site, que faire ?<\/h3><\/dt>\n<dd><p>Un snippet qui provoque une erreur fatale est d\u00e9sactiv\u00e9 automatiquement et l\u2019erreur est affich\u00e9e dans l\u2019administration. Si le site reste indisponible, ajoutez <code>define('ELIODATA_SNIPPET_HUB_SAFE_MODE', true);<\/code> dans wp-config.php : aucun snippet ne s\u2019ex\u00e9cute et vous pouvez corriger ou d\u00e9sactiver le snippet depuis les \u00e9crans du plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>4.2.2<\/h4>\n\n<ul>\n<li>New: a header with the plugin navigation (Snippets, New snippet, Assignments, Import \/ Export, MCP tools) stays at the top of every plugin screen.<\/li>\n<li>Fix: snippets written to the Code Snippets tables are now checked for PHP syntax errors before they are stored (PHP scopes only), as native snippets already were.<\/li>\n<li>Fix: the Code Snippets cache is cleared after a snippet is created, updated or deleted through the API.<\/li>\n<li>Removed the permanent information notice shown on every plugin screen; runtime notices are now in French.<\/li>\n<\/ul>\n\n<h4>4.2.1<\/h4>\n\n<ul>\n<li>MCP screen redesigned: one catalog listing every tool once, with where it is visible (read and write, or write only), its parameters and its JSON schema on demand.<\/li>\n<li>The catalog explains why a custom tool is hidden from the read profile (not declared read-only, or declared read-only but not called with GET).<\/li>\n<li>Tester: the profile follows the tool, required arguments are prefilled from the schema, the last arguments are kept after a run, a write tool asks for confirmation, and the result shows status, duration and a copy button.<\/li>\n<li>Custom tool form: folded until needed, live JSON check, method and argument mode kept consistent, and a failed save keeps what was typed.<\/li>\n<li>Admin menu and page titles are now all in French, like the rest of the screens.<\/li>\n<\/ul>\n\n<h4>4.2.0<\/h4>\n\n<ul>\n<li>Plugin renamed to \"Eliodata MCP Bridge\" (same slug, settings and snippets are preserved).<\/li>\n<li>New: MCP endpoints to discover and run tools (<code>\/mcp\/tools<\/code>, <code>\/mcp\/call<\/code>).<\/li>\n<li>New: per-site custom MCP tools, managed from the admin screen or through <code>\/mcp\/custom-tools<\/code>.<\/li>\n<li>New: \"MCP\" admin screen to browse and test tools from WordPress.<\/li>\n<li>New: built-in MCP tools for snippets (list, get, create, update, delete) with read and write profiles.<\/li>\n<li>New: read-only Application Passwords. Add <code>[readonly]<\/code> to the password name: every write request made with it is refused on the whole REST API (not only the plugin routes), and XML-RPC is blocked.<\/li>\n<li>New: PHP syntax check before a snippet is saved. The REST API rejects invalid code; the admin screen and the importer keep it but deactivated.<\/li>\n<li>New: a snippet that causes a fatal error is deactivated automatically, including errors raised later by its callbacks. The error is shown in the admin.<\/li>\n<li>New: safe mode. Add <code>define('ELIODATA_SNIPPET_HUB_SAFE_MODE', true);<\/code> to wp-config.php to stop running snippets.<\/li>\n<li>Improved: snippets never run on the plugin admin screens and on the <code>\/ide\/v1\/<\/code> routes, so a broken snippet can always be fixed.<\/li>\n<li>Changed: snippets that target all content now run on <code>init<\/code> on every request, including REST API, cron and AJAX requests. Snippets that target post types or specific posts still wait for the main query on the front end. Conditional tags such as <code>is_page()<\/code> must be called inside a hook. To keep the previous timing, add <code>define('ELIODATA_SNIPPET_HUB_LEGACY_TIMING', true);<\/code> to wp-config.php.<\/li>\n<li>Changed: snippet code is compiled once per version in a private folder of uploads (<code>eliodata-snippet-hub<\/code>), instead of a temporary file on every request.<\/li>\n<li>Changed: on multisite, managing snippets requires the <code>manage_network_options<\/code> capability (super admins). Filterable with <code>eliodata_snippet_hub_required_capability<\/code>.<\/li>\n<li>Fixed: custom MCP tools are listed in the MCP catalog (read-only GET tools for the read profile, all tools for the write profile).<\/li>\n<li>Fixed: snippet changes made through the REST API and bulk actions now clear the object cache.<\/li>\n<li>New: optional support for the Code Snippets plugin tables as a secondary snippet engine.<\/li>\n<li>New: dedicated <code>eliodata_snippet_hub_manage<\/code> capability, filterable via <code>eliodata_snippet_hub_api_capability<\/code> and <code>eliodata_snippet_hub_mcp_capability<\/code>.<\/li>\n<li>Improved: snippet code can be sent base64-encoded (<code>code_b64<\/code>) to avoid transport issues with special characters.<\/li>\n<li>Security: removed all site-specific code from the public package; only generic snippet tools and site-defined custom tools are exposed.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Native snippet engine and secure REST bridge for remote snippet management from Trae AI and VS Code.<\/li>\n<li>Admin screens for snippets, content targeting, and import\/export (JSON, NDJSON).<\/li>\n<\/ul>","raw_excerpt":"Native snippet engine + secure WordPress MCP bridge with a built-in admin UI and IDE companion support.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mfe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/287716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mfe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mfe.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mfe.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=287716"}],"author":[{"embeddable":true,"href":"https:\/\/mfe.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fgelio"}],"wp:attachment":[{"href":"https:\/\/mfe.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=287716"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mfe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=287716"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mfe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=287716"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mfe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=287716"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mfe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=287716"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mfe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=287716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}