Skip to main content
Glama
Aditya69505

Strapi MCP Server

by Aditya69505

πŸš€ 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.)


Related MCP server: Strapi MCP Suite

🧩 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.

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aditya69505/MCP-SERVER'

If you have feedback or need assistance with the MCP directory API, please join our Discord server