> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.ollang.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Strapi

> Localize your Strapi CMS content using Ollang MCP for automated translation workflows.

# Ollang MCP + Strapi

<Warning>
  The Strapi MCP Server is a third-party project and is not developed, maintained, or affiliated with Ollang or Strapi. Please exercise caution when connecting to any third-party MCP server and review its source code and permissions before use.
</Warning>

Use the [Strapi MCP Server](https://github.com/misterboe/strapi-mcp-server) with Ollang MCP to automate content localization for your Strapi-powered websites and applications.

## Why Strapi + Ollang?

Strapi is a leading open-source headless CMS. By connecting both MCP servers, your AI assistant can:

* Pull content from Strapi collections and translate it via Ollang
* Create localized versions of blog posts, product pages, and more
* Push translated content back into Strapi as new locale entries
* Manage translation workflows across your entire CMS

## Setup

<Tabs>
  <Tab title="Claude Desktop">
    ```json claude_desktop_config.json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "url": "https://mcp.ollang.com/mcp"
        },
        "strapi": {
          "command": "npx",
          "args": ["-y", "@bschauer/strapi-mcp-server@latest"]
        }
      }
    }
    ```

    Then create the Strapi config file:

    ```json ~/.mcp/strapi-mcp-server.config.json theme={null}
    {
      "myserver": {
        "api_url": "http://localhost:1337",
        "api_key": "your-strapi-jwt-token",
        "version": "5.*"
      }
    }
    ```
  </Tab>

  <Tab title="Claude Code">
    ```json .mcp.json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "type": "sse",
          "url": "https://mcp.ollang.com/mcp"
        },
        "strapi": {
          "type": "stdio",
          "command": "npx",
          "args": ["-y", "@bschauer/strapi-mcp-server@latest"]
        }
      }
    }
    ```
  </Tab>

  <Tab title="Cursor">
    ```json .cursor/mcp.json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "url": "https://mcp.ollang.com/mcp"
        },
        "strapi": {
          "command": "npx",
          "args": ["-y", "@bschauer/strapi-mcp-server@latest"]
        }
      }
    }
    ```
  </Tab>

  <Tab title="Devin">
    Add both servers in **Settings > Integrations > MCP Servers** in the Devin web app:

    ```json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "url": "https://mcp.ollang.com/mcp",
          "transport": "sse"
        },
        "strapi": {
          "command": "npx",
          "args": ["-y", "@bschauer/strapi-mcp-server@latest"]
        }
      }
    }
    ```
  </Tab>

  <Tab title="Replit">
    ```json .replit-mcp.json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "url": "https://mcp.ollang.com/mcp",
          "transport": "sse"
        },
        "strapi": {
          "command": "npx",
          "args": ["-y", "@bschauer/strapi-mcp-server@latest"]
        }
      }
    }
    ```
  </Tab>

  <Tab title="Lovable">
    Add both servers via **Settings > Integrations > MCP Servers** in Lovable, or use a config file:

    ```json lovable.json theme={null}
    {
      "mcp": {
        "servers": {
          "ollang": {
            "url": "https://mcp.ollang.com/mcp",
            "transport": "sse"
          },
          "strapi": {
            "command": "npx",
            "args": ["-y", "@bschauer/strapi-mcp-server@latest"]
          }
        }
      }
    }
    ```
  </Tab>
</Tabs>

<Info>
  Generate a Strapi API token in your Strapi admin panel: **Settings > API Tokens > Create new API Token**. Use "Full access" type for read/write operations.
</Info>

### Alternative: Strapi v5 Plugin

Strapi v5 users can install the official MCP plugin directly:

```bash theme={null}
npm install @sensinum/strapi-plugin-mcp
```

This embeds an MCP server within your Strapi instance, eliminating the need for a separate server.

## Strapi MCP Tools

| Tool                       | Description                                      |
| -------------------------- | ------------------------------------------------ |
| `strapi_get_content_types` | List all content type schemas                    |
| `strapi_get_components`    | Access reusable components                       |
| `strapi_rest`              | Execute CRUD operations (GET, POST, PUT, DELETE) |
| `strapi_upload_media`      | Upload images and media files                    |
| `strapi_list_servers`      | List configured Strapi instances                 |

## Example Workflows

### Translate blog posts

```
Get all blog posts from Strapi where "locale" is "en". For each post,
upload the content to Ollang as a document and create translation orders
for French and German. Once translated, create new Strapi entries
with the translated content and the appropriate locale.
```

### Localize product catalog

```
Fetch all "Product" entries from Strapi. For each product, take the
"description" and "features" fields, translate them to Spanish and
Portuguese via Ollang, and create localized product entries in Strapi.
```

### CMS content audit

```
List all content types in my Strapi instance. For each type, check
which locales exist and identify content that's missing translations.
Create a summary report and offer to translate the missing content
using Ollang.
```
