Strapi

Provides access to Strapi content types and entries through MCP with tools for managing content, schemas, and relations.
  • typescript

21

GitHub Stars

typescript

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "l33tdawg-strapi-mcp": {
      "command": "npx",
      "args": [
        "strapi-mcp"
      ],
      "env": {
        "STRAPI_URL": "http://localhost:1337",
        "STRAPI_DEV_MODE": "true",
        "STRAPI_API_TOKEN": "YOUR_API_TOKEN",
        "STRAPI_ADMIN_EMAIL": "your_admin_email@example.com",
        "STRAPI_ADMIN_PASSWORD": "your_admin_password"
      }
    }
  }
}

This Strapi MCP Server connects your Strapi CMS to the MCP ecosystem, exposing content types and entries as resources you can manage with MCP tools. It provides creation, retrieval, updating, and deletion of content, along with media uploads and relation management, all through a robust, validated configuration and helpful diagnostics.

How to use

You run the Strapi MCP Server locally and connect to it with an MCP client to manage your Strapi content. Start by ensuring your Strapi instance is up and accessible, then configure credentials so the MCP server can authenticate with Strapi. You can run the server directly or integrate it into your development workflow with a client such as Cursor or Claude Desktop.

How to install

Install from npm for a quick start or build from source for development features.

Additional sections

Configuration is centered around connecting to your Strapi instance securely using admin credentials or an API token. The server supports development mode, validation of credentials, and detailed error diagnostics to help you troubleshoot common setup issues. You’ll find tools for content-type and content management, including creating content types, publishing entries, and managing components.

Available tools

list_content_types

List all available Strapi content types.

get_entries

Retrieve entries for a specified content type with optional filtering, pagination, and population of relations.

get_entry

Fetch a single entry by its ID for a content type.

create_entry

Create a new entry for a content type.

update_entry

Update an existing entry for a content type.

delete_entry

Delete an entry for a content type.

upload_media

Upload a media file to Strapi (base64 upload, with size considerations).

upload_media_from_path

Upload a media file from a local file path (larger files supported).

get_content_type_schema

Get the schema (fields and relations) for a content type.

connect_relation

Connect related entries to a content type's relation field.

disconnect_relation

Disconnect related entries from a content type's relation field.

create_content_type

Create a new content type via the Content-Type Builder API (admin privileges required).

publish_entry

Publish a specific entry.

unpublish_entry

Unpublish a specific entry.

list_components

List all available components in Strapi.

get_component_schema

Get the schema for a specific component.

create_component

Create a new component.

update_component

Update an existing component.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational