Strapi MCP Server

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.

Category
Visit Server

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

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

  1. Fork the repository
  2. Install dependencies
  3. Run the development server
  4. Add or extend MCP tools inside plugins
  5. 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!

  1. Fork the repo
  2. Create a feature branch
  3. Commit your changes
  4. 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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

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.

Official
Featured