
Flexa Block – Blocks, Page Builder & AI Agents (MCP)
v2.0.2FlexaTech · 2026年7月3日 上架
Lightweight, customizable blocks for building WordPress sites, plus an optional MCP module so AI agents can read your design and draft pages.
- 正在使用
- 800+
- 评分
- 暂无
- 累计下载
- 1.1 万
- 最近更新
- 2026年11月24日
贡献者
截图








Flexa Block is a growing collection of modern Gutenberg blocks designed to help you build beautiful WordPress websites faster.
Instead of installing multiple block plugins, Flexa Block focuses on providing carefully crafted, lightweight, and highly customizable blocks that integrate naturally with the WordPress Block Editor.
📌 DEMO
Features
- Lightweight and performance-focused
- Native Gutenberg experience
- Front-end inline editing — click text on the live page and edit it in place
- Optional MCP module, so an AI client you connect can read your design and draft pages
- Responsive by default
- Clean and modern design
- Highly customizable
- No unnecessary bloat
- Regular updates
Front-end inline editing
Fixing a typo no longer means opening the Block Editor. On the live page, logged-in users who can edit the post simply click the text, type, and save — the change is written straight back to the block, so your layout, styling and generated CSS stay exactly as they were. Every edit is recorded as a note on the post, and you decide from the settings page whether inline editing is on, which roles may use it, and which blocks it applies to.
AI agents (MCP)
Flexa Block can expose a few tools to an AI client over the Model Context Protocol, so an assistant you already use can look at how your site is designed and draft a page from one of your presets. It is off by default, and while it is off the plugin registers nothing and answers nothing.
Switching it on takes a confirmation, and three further toggles decide what is possible: reading (your design settings, your presets, and the block structure of a page), drafting (creating a page from a preset, and changing the fields of a draft made that way), and editing (changing the title, text, links and email addresses in blocks of a page, including one you edited yourself; off by default). Nothing is ever published by an agent and a published page is never changed directly: changes to one go onto a draft copy, and only you can apply that copy to the live page. Layout and styling are never touched, every edit is kept as a revision, and the agent acts as a WordPress user you create for it, so it can do nothing that user cannot do. Revoking that user’s application password cuts access off immediately.
This needs WordPress 7.0 or newer, which is where the Abilities API lives, and the free MCP Adapter plugin, which owns the server, the transport and the authentication. Without either, the panel says so and the switch stays unavailable. Every call is recorded on the Flexa Block AI agents screen under Recent activity: who called which tool, on which page, and how it ended. Setup instructions and the clients that have been tested are in docs/mcp-setup.md in the source repository at https://github.com/flexatech/flexa-block
Whether you’re building landing pages, business websites, blogs, or eCommerce stores, Flexa Block helps you create professional layouts with less effort.
More blocks and advanced features will be added in future releases.
Source code for compiled JavaScript and CSS
The plugin ships with minified/compiled JavaScript and CSS in build/. The human-readable source code (src/), together with the build tooling used to generate those assets, is publicly available and maintained at:
https://github.com/flexatech/flexa-block
The assets are built with npm and @wordpress/scripts (webpack). To build them yourself:
- Install dependencies:
npm install - Build production assets:
npm run build(ornpm startfor a watched dev build)
This regenerates everything in build/ from the source in src/.
External services
This plugin can connect to the third-party services listed below. Each is optional and is only contacted for the specific block that uses it; if you do not use that block, no request is made.
Facebook Graph API (Facebook Feed block)
The Facebook Feed block displays posts from a Facebook Page. When the block is present on a page (and in the editor while you configure it), the plugin sends a request from your server to the Facebook Graph API (https://graph.facebook.com/) containing the Page ID and the Page access token you enter in the plugin settings, in order to retrieve the Page’s recent posts, images and engagement counts. Responses are cached to reduce the number of requests. The access token is stored on your server and is never exposed to visitors’ browsers. This service is provided by Meta Platforms, Inc.
Terms of Service: https://developers.facebook.com/terms/
Privacy Policy: https://www.facebook.com/privacy/policy/
Instagram Graph / Basic Display API (Instagram Feed block)
The Instagram Feed block displays media from an Instagram account. When the block is present on a page (and in the editor while you configure it), the plugin sends a request from your server to the Instagram API (https://graph.instagram.com/) containing the access token you enter in the plugin settings, in order to retrieve the account’s recent media. Responses are cached to reduce the number of requests. The access token is stored on your server and is never exposed to visitors’ browsers. This service is provided by Meta Platforms, Inc.
Terms of Service: https://www.instagram.com/about/legal/terms/
Privacy Policy: https://privacycenter.instagram.com/policy/
Google Maps (Google Map block)
The Google Map block embeds an interactive map for a location you specify. When a page containing the block is viewed, the visitor’s browser loads a Google Maps embed (https://www.google.com/maps/embed/ when you supply a Google Maps Embed API key, otherwise https://maps.google.com/maps) with the location and zoom level configured on the block. This means the visitor’s browser connects to Google to display the map. This service is provided by Google LLC.
Terms of Service: https://cloud.google.com/maps-platform/terms
Privacy Policy: https://policies.google.com/privacy
YouTube (Video Popup block)
When the Video Popup block is set to a YouTube video, the visitor’s browser loads a preview thumbnail from YouTube (https://img.youtube.com/) when the page is viewed, and — after the visitor clicks play — an embedded player from YouTube (https://www.youtube.com/embed/). Only the video ID you configure on the block is sent; no personal data is transmitted by the plugin. This means the visitor’s browser connects to YouTube to display the thumbnail and player. This service is provided by Google LLC.
Terms of Service: https://www.youtube.com/t/terms
Privacy Policy: https://policies.google.com/privacy
Vimeo (Video Popup block)
When the Video Popup block is set to a Vimeo video, the visitor’s browser loads an embedded player from Vimeo (https://player.vimeo.com/) after the visitor clicks play. Only the video ID you configure on the block is sent; no personal data is transmitted by the plugin. This means the visitor’s browser connects to Vimeo to display the player. This service is provided by Vimeo, Inc.
Terms of Service: https://vimeo.com/terms
Privacy Policy: https://vimeo.com/privacy
User-supplied RSS feed (RSS Feed block)
The RSS Feed block fetches and displays entries from an RSS/Atom URL that you enter into the block. No fixed third-party service is involved — the plugin only requests the exact feed URL you configure — but be aware that this causes your server to make an outgoing request to that URL.
Deactivation feedback (Flexa Product Intelligence)
When you go to deactivate Flexa Block on the Plugins screen, a short optional survey asks why. It is served by Flexa’s product intelligence service at https://product-intelligence.flexacommerce.com. It runs only in the admin, on wp-admin/plugins.php, never on the front end, and never blocks or delays deactivation. What is sent, and when:
- On opening the Plugins screen: a request to
/api/v1/config(product slug and tier) to load the survey configuration. The response is cached for 6 hours. - When you deactivate or interact with the survey: the reason you pick and any optional message you type, sent to
/api/v1/deactivations,/api/v1/events,/api/v1/feedback,/api/v1/feature-requestsand/api/v1/recovery-events.
Every request includes an anonymous per-site identifier (a random UUID), the plugin version and tier, and by default your WordPress version, PHP version and locale. No email, site domain, user identity or raw IP is collected. To stop sending environment data, use add_filter( 'flexa-block/deactivation_survey/config', function ( $c ) { return array( 'collect_environment' => false ) + $c; } );. To disable the survey entirely, use add_filter( 'flexa-block/deactivation_survey/enabled', '__return_false' );.
Terms of Service: https://flexacommerce.com/pages/terms
Privacy Policy: https://flexacommerce.com/pages/privacy
Privacy and data flow
The MCP module described above is the one part of this plugin that hands your content to software you choose rather than to us. It is off unless you switch it on. What follows applies only while it is on.
Where the data goes. Nothing is sent anywhere by this plugin. An AI client you connect makes requests to your own site, authenticated as a WordPress user you created for it, and the answers go back to that client. Which client that is, where it runs, and what it does with an answer are decisions you make when you connect it. If the client is a hosted AI service, then the content of the tool calls you allow reaches that service, under that service’s terms and privacy policy, not ours.
What a client can receive. With reading on: your site’s design tokens and settings, the list of page presets available, and the block structure of a post or page it names, including the text stored in those blocks. With drafting on: the schema of a preset, confirmation of a page it created, and the field values of a draft it updates. With editing on: the editable text, link and email fields of the blocks on a page it names. Nothing else is offered. There is no tool for users, orders, comments, options or files.
What bounds it. The account’s role. The tools check WordPress capabilities on every call, so an agent reaches exactly what that user could reach by signing in. Note that MCP Adapter also serves tools registered by WordPress itself and by other active plugins, which the Flexa toggles do not govern; on a WooCommerce site, for example, an Editor account can reach WooCommerce’s own product and order tools. Give the client a dedicated account with the lowest role that fits. The write side also has hourly limits per user: 10 drafted pages, 30 draft updates, 30 edits to existing pages, and 120 calls to each of the two preset tools. Past that, a call is refused until the hour turns over.
What is stored on your site. The activity log on the Flexa Block AI agents screen keeps, for each call, the time, the user ID and login, the tool name, the post ID, the outcome, and an identifier that groups the calls made in one request. It keeps no page content, no values an agent sent, no prompts and no credentials. Rows are kept for 30 days and swept daily, and the most recent 500 are held; both are adjustable with a filter. Uninstalling the plugin deletes the log along with the rest of its settings.
Credits
The photographs and illustrations shown in the plugin screenshots are for demonstration only and are not bundled with the plugin. They come from the following free sources, all of which permit commercial use:
- Photos from Pixabay, used under the Pixabay Content License: https://pixabay.com/service/license-summary/
- Photos from Unsplash, used under the Unsplash License: https://unsplash.com/license
- Photos from Pexels, used under the Pexels License: https://www.pexels.com/license/
- Some images were generated with ChatGPT (OpenAI); under OpenAI’s Terms of Use, ownership of the generated images is assigned to the user.