Skip to main content
Glama
Strapi 5 MCP Server (God Mode)

Strapi 5 MCP Server (God Mode)

by thinhnd028

🚀 Strapi 5 MCP Server (God Mode)

License: MIT Strapi Version MCP Protocol

A zero-dependency Model Context Protocol (MCP) server tailored for Strapi 5. This server empowers AI agents (like Cursor, Claude Desktop, or custom LLM apps) with "God Mode" access to your Strapi CMS—enabling them to understand your schema, query content with deep population, manage media, and even explore plugin architectures.


✨ Features

  • 🔍 Deep Schema Discovery: Directly reads your local src/api/*/content-types/*/schema.json to give AI full context of your data structures.

  • 🛠️ Full CRUD Operations: Create, Read, Update, and Delete entries across Collection and Single Types.

  • 🌊 Deep Population: Built-in support for populate=deep and complex API queries.

  • 🖼️ Media Intelligence: List media files and even globally replace media URLs (perfect for migrations or staging syncs).

  • 🧩 Developer Toolbox: Explore custom plugins and discover available components in the Strapi Design System.

  • ⚡ Zero Dependencies: Lightweight and fast. Runs natively with Node.js 18+ using standard fetch.


Related MCP server: Strapi Content MCP

🚀 Quick Start

You can run the server directly from GitHub without cloning the code:

npx -y github:thinhnd028/strapi-mcp-server

⚙️ Configuration

The server requires the following environment variables to function correctly:

Variable

Description

Default

PROJECT_ROOT

Path to your Strapi backend folder (where src/ lives).

Current working directory

STRAPI_URL

The base URL of your Strapi instance.

http://localhost:1337

STRAPI_TOKEN

A Full Access API Token (needed for CRUD ops).

(Optional if API is public)

Integration with Cursor / Claude Desktop

Add this to your MCP settings (claude_desktop_config.json or Cursor MCP settings):

{
  "mcpServers": {
    "strapi": {
      "command": "npx",
      "args": ["-y", "github:thinhnd028/strapi-mcp-server"],
      "env": {
        "PROJECT_ROOT": "/Users/yourname/projects/my-strapi-app",
        "STRAPI_URL": "http://localhost:1337",
        "STRAPI_TOKEN": "your_long_api_token_here"
      }
    }
  }
}

🧰 Available Tools

📦 Content Management

  • strapi_list_apis: List all available Content Types.

  • strapi_get_schema: Retrieve the internal JSON schema for a specific API.

  • strapi_list_components: List shared components available in the project.

  • strapi_query: Perform complex queries with filters and pagination.

  • strapi_get_entry: Fetch a specific entry by ID (with deep auto-population).

  • strapi_get_page_by_slug: Find entries by slug (ideal for frontend developers).

  • strapi_get_single: Fetch content from Single Types.

  • strapi_create_entry: Create a new entry.

  • strapi_update_entry: Update an existing entry.

  • strapi_delete_entry: Delete an entry.

🖼️ Media & Assets

  • strapi_list_media: List and filter media library assets.

  • strapi_replace_media_urls: Bulk replace media URLs (useful for staging -> production sync).

🛠️ Developer Essentials

  • strapi_list_plugins: Discover custom plugins in src/plugins.

  • strapi_get_plugin_structure: Map out the file structure of a specific plugin.

  • strapi_get_design_system_info: List available modules in @strapi/design-system.


📜 License

Distributed under the MIT License. See LICENSE for more information.


Developed with ❤️ for the Strapi Community.

Available Tools

16 tools
strapi_create_entryD

Create entry.

Inputs: data (required), pluralName (required).

strapi_delete_entryD

Delete entry.

Inputs: id (required), pluralName (required).

strapi_get_design_system_infoC

Check for @strapi/design-system and list available modules.

Inputs: no named parameters.

strapi_get_entryC

Get entry by ID.

Inputs: id (required), pluralName (required), populate.

strapi_get_page_by_slugC

Get entry by slug.

Inputs: slug (required), pluralName (required).

strapi_get_plugin_structureC

Explore the internal file structure of a plugin.

Inputs: pluginName (required).

strapi_get_schemaD

Get schema for API.

Inputs: apiName (required).

strapi_get_singleC

Get Single Type content.

Inputs: singularName (required), populate.

strapi_list_apisB

List Content Types.

Inputs: no named parameters.

strapi_list_componentsC

List shared components.

Inputs: no named parameters.

strapi_list_mediaC

List media.

Inputs: queryParams.

strapi_list_pluginsB

List all custom plugins in src/plugins.

Inputs: no named parameters.

strapi_queryD

Advanced query.

Inputs: pluralName (required), queryParams.

strapi_replace_media_urlsC

Replace media URLs globally.

Inputs: newBaseUrl (required), oldBaseUrl (required).

strapi_update_entryD

Update entry.

Inputs: data (required), name (required), id.

strapi_whoamiC

Check connection.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.5/5.0

    Scored across 16 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: entry CRUD, query, slug lookup, single-type retrieval, media, plugins, and design-system introspection. The main overlap is between strapi_query and strapi_get_entry, but the advanced-query wording helps distinguish them.

    Naming Consistency5/5

    All tools use a consistent strapi_ prefix with predictable verb_noun naming such as strapi_get_entry, strapi_create_entry, and strapi_list_media. strapi_whoami is the only stylistic exception but is a conventional command name.

    Tool Count4/5

    16 tools is slightly above the typical 3-15 range but remains reasonable for a Strapi 'God Mode' server spanning content, media, plugins, and design-system inspection. Each area has a small set of tools rather than excessive fragmentation.

    Completeness3/5

    Core entry CRUD, querying, schema/component listing, media listing, and plugin inspection are covered. However, notable gaps exist: single types only have read access, and media has list/replace but no upload or delete operations, limiting full lifecycle coverage.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables CRUD operations, content management, and media handling for any Strapi content type through standardized tools. Supports internationalization, schema management, and works with Strapi v5's API.
      MIT
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides AI agents with full access to Strapi 5.x CMS for managing content types, entries, media, and schemas. It supports full CRUD operations, relation management, and secure authentication for comprehensive content administration.
      -