Strapi MCP Server
A Strapi v5 backend that exposes MCP endpoints for Google Search Console and Meta Ads, enabling AI agents to automate SEO and marketing workflows.
README
π Strapi MCP Server
A production-ready Strapi v5 application that acts as a Model Context Protocol (MCP) server for marketing and SEO integrations. This project provides extensible, AI-compatible endpoints for integrating services like Google Search Console and Meta Ads into automated workflows.
π Overview
This server enables AI agents and external tools to interact with marketing platforms through standardized MCP endpoints. It is designed for scalability, modularity, and real-world automation use cases.
Key Capabilities
- π MCP-compliant API endpoints (
/api/mcp/*) - π§ AI-agent ready tool registry
- π Authentication & session management
- β‘ Rate limiting & streaming support
- π§© Plugin-based architecture
- ποΈ Built-in CMS (Articles, Authors, Categories, etc.)
π§© Core Plugins
1. GSC MCP (Google Search Console)
Provides tools for SEO automation:
- Site management
- Sitemap submission & deletion
- URL inspection
- Indexing status checks
- Health monitoring
2. Meta MCP (Meta Ads: Facebook & Instagram)
Supports marketing automation workflows:
- Campaign insights
- Ads data integration
- Performance tracking
π οΈ Tech Stack
- Strapi v5.42.0
- Node.js (v20 β v24)
- @modelcontextprotocol/sdk v1.29.0
- better-sqlite3 (default database)
- Winston (logging)
- Zod (validation)
βοΈ Getting Started
Prerequisites
- Node.js >= 20 <= 24
- Yarn or NPM
Installation
git clone <your-repo-url>
cd strapi-mcp-server
yarn install
Development
yarn develop
- Admin Panel: http://localhost:1337/admin
- MCP Endpoints: http://localhost:1337/api/mcp/*
Production
yarn build
yarn start
π± Seeding Data
Populate the CMS with sample content:
yarn seed:example
π Project Structure
src/
βββ plugins/
β βββ gsc-mcp/
β β βββ controllers/
β β βββ services/
β β βββ routes/
β β βββ utils/
β βββ meta-mcp/
β βββ controllers/
β βββ services/
β βββ utils/
β
βββ api/
β βββ article/
β βββ author/
β βββ category/
β
config/
βββ plugins.ts
π Configuration
Both MCP plugins are enabled via:
config/plugins.ts
Environment Variables
You must configure credentials for external services:
- Google Search Console API credentials
- Meta Ads API credentials
Example:
GSC_CLIENT_ID=your_key
GSC_CLIENT_SECRET=your_secret
META_ACCESS_TOKEN=your_token
π€ MCP Integration
This server exposes MCP-compatible endpoints that allow AI agents to:
- Discover available tools
- Execute SEO and marketing actions
- Automate workflows programmatically
Example Use Cases
- Automated sitemap submission
- SEO health monitoring bots
- Ads performance reporting
- AI-driven marketing automation
Refer to the MCP SDK documentation for client integration details.
π Available Scripts
| Command | Description |
|---|---|
yarn develop |
Start development server |
yarn build |
Build admin panel |
yarn start |
Start production server |
yarn seed:example |
Seed sample CMS data |
π§ͺ Development Workflow
- Fork the repository
- Install dependencies
- Run the development server
- Add or extend MCP tools inside plugins
- Test endpoints via
/api/mcp/*
π Future Improvements
- Additional marketing integrations
- Advanced analytics tools
- Role-based access control for MCP tools
- Multi-tenant support
π€ Contributing
Contributions are welcome!
- Fork the repo
- Create a feature branch
- Commit your changes
- Open a pull request
π License
MIT License
π‘ Summary
This project bridges AI systems with marketing platforms using the MCP standardβmaking it easy to build intelligent, automated SEO and advertising workflows on top of Strapi.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.