Mescio for Agents
Mescio for Agents makes your WordPress site AI-ready by silently serving posts, pages and WooCommerce products as clean, structured Markdown to any AI agent or LLM pipeline that requests it — using the standard HTTP Accept: text/markdown content negotiation header. Human visitors using a browser are completely unaffected. Mescio for Agents only activates when an AI agent or crawler explicitly asks for Markdown. Why Markdown? Feeding raw HTML to an AI is expensive and noisy. A heading like ## About Us costs ~3 tokens in Markdown vs 12–15 tokens as HTML — before accounting for wrappers, navigation bars and script tags that carry zero semantic value. This blog post you are reading takes 16,180 tokens in HTML and 3,150 tokens in Markdown. That is an 80% reduction. Markdown has become the lingua franca for AI systems. Mescio for Agents lets your site speak it natively, at zero cost to your human visitors. How it works When an HTTP client sends a request with Accept: text/markdown, Mescio for Agents intercepts the WordPress request lifecycle before any template is rendered, converts the post content to clean Markdown, and returns it with the correct Content-Type: text/markdown header. curl https://yoursite.com/your-post/ \ -H "Accept: text/markdown" Features Zero configuration — works out of the box on any singular post, page or custom post type /llms.txt endpoint — auto-generated index of all your content in the llmstxt.org standard format, so AI agents can discover what’s on your site /llms-full.txt endpoint — full site content in a single Markdown file, ready for RAG pipelines WooCommerce support — product pages include price, SKU, stock status, rating, attributes and gallery; products are grouped by category in llms.txt YAML front matter — every document includes structured metadata (title, description, URL, date, categories, tags, featured image) Multilingual — detects language via WPML, Polylang, TranslatePress or WordPress locale; emits Content-Language and Link: rel=alternate headers REST API endpoint — /wp-json/mescio-for-agents/v1/markdown?id= or ?url= Page builder cleanup — aggressively strips Elementor, Divi, WPBakery and Beaver Builder layout noise Token count header — X-Markdown-Tokens tells AI pipelines how large the document is before processing Content Signals — emits Content-Signal: ai-train=yes, search=yes, ai-input=yes Correct HTTP caching — Vary: Accept ensures CDNs cache HTML and Markdown versions separately Response headers Content-Type: text/markdown; charset=utf-8 Content-Language: it (or detected language) Vary: Accept X-Markdown-Tokens: 725 Content-Signal: ai-train=yes, search=yes, ai-input=yes Link: ; rel="alternate"; hreflang="en" (when translations available) Multilingual plugin support WPML — reads language and available translations automatically Polylang — reads language and links to translated post IDs TranslatePress — reads trp_language post meta Manual — configure primary language and additional languages in Settings → Mescio for Agents REST API GET /wp-json/mescio-for-agents/v1/markdown?id=42 GET /wp-json/mescio-for-agents/v1/markdown?url=https://yoursite.com/my-page/ Developer hooks Filter: mescio_enabled_post_types — add or remove post types dynamically. Filter: mescio_pre_convert_content — modify the HTML before conversion to Markdown. Filter: mescio_post_convert_content — modify the Markdown after conversion. Privacy This plugin does not collect, store or transmit any personal data. It does not set cookies. It does not make external HTTP requests.
Top keywords
- markdown19×3.63%
- post9×1.72%
- mescio8×1.53%
- content7×1.34%
- agents6×1.15%
- ai6×1.15%
- language6×1.15%
- yes6×1.15%
- accept5×0.96%
- html5×0.96%
- mescio for agents5×0.96%
- text5×0.96%
WPRaiz Content API Tool
WPRaiz Content API Tool turns your WordPress site into a powerful content API. Create posts, manage categories, generate AI content, and connect AI agents — all via REST API or Model Context Protocol (MCP). What You Can Do Create & Update Posts — Full control over title, content, status, categories, tags, excerpt, featured images, and custom meta fields via REST API. Bulk Creation — Create up to 50 posts in a single request (Pro). AI Content Generation — Generate full articles from a topic using Claude or OpenAI with your own API keys (Pro). AI Rewrite — Improve SEO, fix grammar, change tone, expand, or summarize existing posts (Pro). Auto-SEO — Automatically generate SEO titles and meta descriptions when not provided. Supports SEOPress, Yoast SEO, and Rank Math. MCP Server — Connect AI agents (Claude Desktop, Cursor, Windsurf) directly to your site via Model Context Protocol. Similar Post Search — Find duplicate or related content using intelligent Levenshtein-based scoring. Webhooks — Get notified when posts are created or bulk operations complete, with HMAC signature verification. JWT Authentication — Secure token-based auth with configurable rate limiting. Free vs Pro Free (this plugin): Create and update single posts via REST API Search similar posts List and manage categories JWT and Basic Auth (Application Passwords) SEO plugin auto-detection and meta writing Featured image upload from URL Rate limiting Legacy v1 endpoint compatibility Pro ($49/year at wpraiz.com.br/pro): Everything in Free, plus: Bulk post creation (up to 50 per batch) AI content generation (BYOK — Claude or OpenAI) AI post rewriting (5 modes) Auto-SEO via AI MCP Server (HTTP + STDIO transports) Webhook notifications with HMAC signing Priority support MCP Server The Model Context Protocol server lets AI agents interact with your WordPress site natively. Available via HTTP (REST API) or STDIO (WP-CLI). Tools: create_post, update_post, search_similar, get_categories, generate_content, rewrite_post, bulk_create Resources: site-info, recent-posts, categories, content-stats, seo-config Prompts: publish_seo_article, content_series, seo_audit, refresh_old_content, internal_linking Add to your claude_desktop_config.json: { "mcpServers": { "wpraiz": { "command": "wp", "args": ["wpraiz-mcp", "serve", "--path=/path/to/wordpress", "--user=1"] } } } REST API Endpoints Base URL: https://yoursite.com/wp-json/wpraiz/v2/ Endpoint Method Auth Tier create-post POST JWT/Basic Free update-post POST JWT/Basic Free create-posts POST JWT/Basic Pro generate-content POST JWT/Basic Pro rewrite-post POST JWT/Basic Pro search-similar GET Public Free categories GET Public Free check-status GET Public Free auth/token POST Credentials Free Authentication JWT Token: 1. POST to auth/token with username and password 2. Use the returned token as Authorization: Bearer Basic Auth: Use WordPress Application Passwords with standard HTTP Basic authentication. Requirements WordPress 5.8+ PHP 7.4+ For AI features: Claude API key or OpenAI API key For MCP STDIO: WP-CLI installed Support Visit wpraiz.com.br or open an issue on GitHub.