🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

devkit-for-strapi-mcp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devkit-for-strapi-mcp

MCP server exposing accurate Strapi project facts (UIDs, schemas, references) to AI coding agents — reads your real schema.json so the model stops guessing.

latest
npmnpm
Version
0.1.3
Version published
Weekly downloads
69
-64.97%
Maintainers
1
Weekly downloads
 
Created
Source

devkit-for-strapi-mcp

An MCP server that gives AI coding agents the truth about your Strapi project. It reads your real schema.json files and exposes the actual UIDs, schemas, and references — so the model stops guessing magic strings like api::article.article, service names, or field names.

Same engine as the DevKit for Strapi VS Code extension, exposed to agents instead of humans. Read-only. Works on Strapi v4 and v5, in JS and TS, with no codegen.

Tools

ToolWhat it answers
list_projectsWhich Strapi projects are in the workspace (name, root, version).
list_content_typesThe real content-type UIDs of a project.
list_componentsThe real component UIDs.
list_artifactsThe real services / controllers / policies / middlewares.
get_schemaA content-type or component's real attributes (fields, relations, components).
resolveWhere a reference is defined (file + kind).
validate_referenceIs this magic string real? → valid / unknown (+ did you mean) / external.
find_referencesEvery call-site that uses a UID / service / handler.

In a multi-project workspace, pass from (a path inside the project you're working in) or project (its name) to disambiguate — the server never guesses between two projects.

Use it

The server indexes the workspace root and discovers the Strapi project(s) inside it (a monorepo with several apps works). It takes the root from explicit path arguments, otherwise the current working directory.

Claude Code / Cursor / Claude Desktop

{
  "mcpServers": {
    "devkit-for-strapi": { "command": "npx", "args": ["-y", "devkit-for-strapi-mcp"] }
  }
}

Run the client from your project directory (or pass the path: "args": ["-y", "devkit-for-strapi-mcp", "/path/to/workspace"]).

VS Code

Install the DevKit for Strapi extension — it bundles this server and registers it automatically (no config). It also passes your workspace folders, so multi-root works out of the box.

License

MIT.

FAQs

Package last updated on 18 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts