Changelog
config-sync 3.3.0
excludedConfigwarnings follow the installed config-sync. Before 3.3.0, an entry for a name with:or/needed both forms (::, and##as in the file names); from 3.3.0 the::form is all it takes, and a##entry alone excludes nothing: DevKit now says what the installed version does.- Pro: an invalid file is listed apart in the comparison with the database
(Invalid in config/sync): not valid JSON, empty, or not a JSON object, with what is
wrong with it — whatever the plugin’s version. config-sync may read such a file as
missing (before 3.3.0 for one that isn’t valid JSON, in every version for one holding
null), and importing its entry then deletes it from the database. DevKit never imports it, and replaces it with the database’s entry only when you export it by name (an “export everything” leaves it alone: it may be an edit in progress).config_sync_diffgives it asinvalid-file.
Links say where they come from
- The links to the DevKit site — from the extension’s Pro messages and offer notice, the
MCP server’s Pro-required answers, the walkthrough, the store pages and the READMEs —
carry a
utm_sourcetag (and the offer’sutm_campaignwhile it runs), so the site’s analytics can tell which ones people follow. Never who you are or anything about your project. - The site passes that tag on to its checkout links (Polar keeps it with the payment session), or the referring site when there is none, so a sale can be traced to where the visit came from.
Black Friday
- From 27 to 30 November 2026 (Paris time), DevKit for Strapi Pro is €14.90 instead of €39.99.
Without a licence, the editor says so once, a few minutes into a session with a Strapi
project open. On those days only, the editor’s Pro messages and the MCP server’s
“Pro required” answers (
offer) mention it. The dates come from the computer’s clock: no network call.
MCP: plans an agent can review
- A
plan_*answer shows each edit on one line with the text it replaces (25: "api::restaurant.restaurant" → "api::restaurant.eatery"), grouped by file, with the renames, new files and deletes, and a summary — paths relative to the project. The exact edits and the files’ fingerprints stay with the server under theplanId. On foodadvisor, renamingapi::restaurant.restaurantanswers 2,247 characters, warnings included, where the raw plan alone took 5,657. - An edit over several lines — a
config/syncfile a refactor rewrites whole — shows the lines it changes (100: "…api::alert.alert…" → "…api::alert.notice…"), and says when it changes the file’s line endings. - A plan too long for one answer still fits: the last files’ edits become counts, then
new files lose their content, then renames past what fits are counted, and the
answer says what it left out;
apply_editsstill applies all of it. apply_editstakes aplanIdonly: it applies a plan DevKit computed this session, never a plan object handed in. Its answer, andapply_rename’s, give paths relative to the project.- Every answer names files relative to the project and gives its
rootonce, when its files all lie in one project (several projects: kept absolute); a route’s URL is never touched. On foodadvisor,find_referencesgoes from 1,502 to 1,077 characters,list_routesfrom 34,132 to 30,450. - A path copied from an answer works as input:
from, andlist_unused’sfile, take a path relative to the project root (with several projects,fromneedsprojectto say which; it is never guessed). list_routes,list_content_types,list_componentsandlist_artifactsanswer an object ({ routes },{ contentTypes },{ components },{ artifacts }) instead of a bare list, aslist_routesalready did withpipeline: true.list_routeswithpipeline: trueis compact: a global middleware Strapi finds is just its name, in Strapi’s order (any other keeps its detail), and a step written in the route’s own declaration doesn’t repeat where that is. On foodadvisor, the pipeline ofGET /restaurantsgoes from 8,387 characters to about 2,550.- Lighter tool definitions, which some clients send with every request: 34,390 characters instead of 49,365 in 0.2.3 (about 8,600 tokens instead of 12,300). The descriptions say what each tool is for in fewer words; the server instructions keep the workflow.
- The two aliases deprecated since the first release,
change_relationandrename_attribute, are gone: useplan_change_relationandplan_rename_attribute. 35 tools.
Config Sync: export or import from the diff (Pro)
- With an entry open from the Database list — its database ↔ config/sync diff, or the one side it has — the editor’s title bar has Export from the Database and Import into the Database for that entry, with the same confirmations as the list. Edit the file in the diff, then import it: unsaved changes are saved first (from the list too), as the import reads the file on disk.
A Strapi newer than DevKit knows is said
- A project on Strapi 6 (installed — hoisted to a monorepo’s root included — else
declared) was read as an earlier Strapi without a word. It still is, and now says so,
with the version it is read as: first among
project_info’s notes (andstrapi.unsupported), inlist_projects, the Health view and the status bar’s tooltip. Config Sync through the project’s Strapi refuses it with its own error, instead of “install the project’s dependencies”.
Projects git ignores are not found twice
- Project discovery skips the folders your
.gitignorefiles ignore: a release build or a backup copy of the app no longer shows every project twice (in the panel, the Config Sync view, the MCP’slist_projects). A folder opened in the workspace, or given toadd_project, is still searched, and so is a folder holding a repository of its own (a clone kept inside another), under its own.gitignoreonly.
Config Sync: excluded as the plugin excludes
- A sync file is shown
excludedwhen config-sync’s import and export skip it: they test the plain name (::). AnexcludedConfigentry written as the file name (##) showed it excluded too, yet it only stops the plugin reading that file: the import and the export still handle the entry. - An entry written in one form only is now said, with the other to add:
##alone for the reason above,::alone because the plugin still reads the file, and lists it in its diff. - An
excludedConfigas long as the plugin’s defaults replaces them all: now said too (it was only said for a shorter list). Whencore-store.plugin_users-permissions_grantis no longer excluded, the warning says why it matters: it holds the login providers’ settings, their OAuth client secrets included, which an export writes into config/sync and git.
A folder deleted at once is gone
- Deleting a folder in one go — an app, a content-type’s folder — left DevKit with what it held until a reload: the editor reports the folder alone, not the files inside. The projects and definitions it held now go with it.
Out of the way where there is no Strapi
- In a workspace without a Strapi project, the extension no longer offers its MCP server to the editor’s agents (its tool definitions would ride along with every request for nothing) and shows no status bar item. Both appear as soon as a Strapi project does (once the first scan of the workspace ends), and go when the last one goes.
Local plugins read where they were left unverified
- A plugin index built by a helper that prefixes a sub-index
(
Object.keys(s).reduce((acc, key) => { acc[`${p}.${key}`] = s[key]; return acc; }, {}), or its spread form) is read exactly: its names are valid, the folder’s guess is unknown. Anything looser stays unread. - A plugin DevKit reads only in part is
verified: 'partial'inproject_info: what it reads is checked, andvalidate_referencesays why a name it can’t see comes backexternal, with the file and line of the code it can’t read. - A local plugin’s routes loaded by its own function are listed:
requireof a path built from__dirname(path.join,path.resolve) behindfs.existsSync, arequirein atry, andcreate_plugin’s own loader. A loader DevKit can’t read is said:list_routesgives it inunreadRoutes(its file, and the line when there is one),project_infoin its notes — never an empty table.
Fewer calls that may reach anything
- The calls whose UID DevKit can’t read keep the start it can
(
strapi.plugin('y').service(name)reachesplugin::y.*only,'api::foo.' + kindreachesapi::foo.*):find_referencesandlist_unusedshow only those that may reach what they answer for. - A file loaded by its path (
require('../../src/api/foo/services/bar')) counts as a caller: from an archived migration,onlyArchivedCallers; from live code,list_unusedsaysrequiredByPath. A test, or an import of types only, doesn’t.
Config Sync
project_infosays whenimportOnBootstrapis on, in its notes and itsconfigSyncblock.- Pro: an export keeps the key order of the file it replaces: the keys and items the file already has stay where they are, new ones come at the end in the database’s order. Exporting a changed entry from another database no longer reorders the whole file: the git diff shows what changed.
Names as Strapi’s loaders register them
- An API’s services, controllers, policies and middlewares are known under the name
Strapi gives them: kebab-cased (
middlewares/hasAccess.jsisapi::foo.has-access,services/foo_bar.jsisapi::foo.foo-bar), the same rule as Strapi’s own, checked against lodash. The raw file name is now unknown, and the suggestion points at the registered name — never the other way round. - A file in a subfolder of an API’s
services/(orcontrollers/,policies/,middlewares/, or ofsrc/policiesandsrc/middlewares) is not an artifact: Strapi never loads it, so a call to it is reported, and it is no longer listed unused. - A local plugin’s services and controllers are named by the keys its server entry
exports (
{ myController: require('./my-controller') }, a spread sub-index), read statically like an installed plugin’s. When the index is built by a helper DevKit can’t follow, what it sees is checked and the rest is never reported; a folder auto-loader keeps the folder convention. Test files (__tests__,*.test.*) are never artifacts. - The editor,
validate_referenceandlist_broken_refsshare one verdict: a component UID in a content-type call is never a broken ref, and a broken service’s method calls are grouped under it.
References found where they were missed
- A route’s middleware or policy in object form,
{ name: 'api::x.y', config }. - A UID passed through a
constin the same file: counted at each call, validated and renamed at the literal. - A UID written as a plain value (a registry map, a
config/pluginsentry): a weak reference — counted, so the target isn’t listed unused, never rewritten by a refactor, and a rename or a move says where they are. - The migrations Strapi runs (
database/migrations); a subfolder’s migrations are archived — listed, but they make nothing used, and nothing they call is broken. - Nested
populateandfilters(populate: { a: { populate: { b } } },populate: ['a.b'],filters: { a: { b: … } },$and/$or,where), each level through the relation’s target — andentityService.findOne/update/delete, whose options are the third argument. coveragelists these forms, and those still not indexed (indexed: false);find_referencesandlist_unusedgive the calls whose UID DevKit can’t read.
Config Sync and refactors
config_sync_statuswarns whenimportOnBootstrapis on: on a database shared between branches, a start overwrites what the other branches set.- Pro:
config_sync_diffgives each difference its likely direction (import, export or unknown) and why, from the file’s git history; the Node version warning is said once per session. - Pro:
create_pluginenables the plugin in an existingconfig/plugins(never one whose entries come from a spread or a condition: it says what to add), and its loader registers content-types and routes, unwraps compiled TypeScript modules, and never loads test files, a README or a sourcemap.extract_to_pluginsays when the routes it moves change URL: a plugin’s routes are served under its name. - Pro:
plan_rename_attributekeeps the value of a shorthand key:filters: { user }becomesfilters: { owner: user }, not a reference to a variable that doesn’t exist. - Pro:
get_model_diagramcan leave out custom fields (hideCustomFields).
Config Sync (Pro): diffs that stay readable on big projects
- The summary of an entry says what changed inside an item, not only that it changed:
a role’s permission is named by its action and subject, and the field added to it
or removed from it is named
(
permissions[plugin::content-manager.explorer.create · api::article.article].properties.fields tags). Before, a permission with one field changed showed up both as “only in the file” and as “only in the database”, named by its action alone. - The documentIds that differ between the files and the database (a database made apart from the files) are counted on one line, after the rest, instead of one line each.
- For your agent:
config_sync_diffwithkeyreturns every difference, and the two sides in full only when they fit in one answer. An admin role with hundreds of permissions used to make a result larger than Claude Code accepts from a tool.typenarrows the list to one type, and a first diff with hundreds of entries lists the first ones with the count of each type.config_sync_statuswithkeyleaves out a file too large to return, and says so.
Installed plugins are verified, not skipped
- DevKit now reads the plugins in
node_modulesthe way Strapi’s loader does: the internal plugins, the dependencies that declare themselves Strapi plugins, the rules ofconfig/plugins, and each plugin’sstrapi-serverentry. It follows their code statically and never executes it. - Refs into a plugin read completely are checked like your own:
plugin::users-permissions.usrgets “did you meanplugin::users-permissions.user”, and completion, hover and go-to-definition work on plugin UIDs, services and methods. A plugin DevKit can’t read completely stays silent, as before. - Strapi’s built-in middlewares are checked in
config/middlewares:strapi::corssgets “did you meanstrapi::cors”. - Checked against real Strapi: on six projects from 4.13 to 5.54, every plugin DevKit reads completely matched exactly what Strapi registers. Plugins whose server depends on the Enterprise edition (content-manager’s history, content-releases, review-workflows) stay unverified.
- Installing a plugin is picked up without a reload, through the files npm, yarn and pnpm rewrite on install.
- Plugins are read in the background: the editor is ready in well under a second,
and refs into plugins are checked a few seconds later, never wrongly reported in
between. A plugin whose files didn’t change isn’t read again, so editing
config/pluginsre-checks a project in a fraction of a second.
New: the DevKit panel
- A DevKit for Strapi container in the activity bar, read from your code without
starting Strapi:
- Health: the whole project — broken references (with the closest real name), policies and middlewares Strapi won’t find at startup, refs DevKit can’t check and why, definitions no Strapi reference uses, plugins not read completely. A badge counts the problems; Check the Whole Project fills the Problems panel for the files that aren’t open.
- Routes: every route (your API, then plugin routes), and under each one what a
request goes through, in Strapi’s order — the
config/middlewaresstack, auth, the route’s policies, its middlewares, the handler — each step with whether Strapi will find it, and a link to its definition. Filters by method, public, guarded, with a problem. - Model: content-types and components with their fields, the fields of other types pointing at each one, the routes exposing it, its usage, the components nothing uses, and the types installed plugins bring (read-only).
- Plugins: local and installed, what each adds, whether its refs are checked and why not, disabled ones, the ones your code rewrites or extends.
- Above each controller action, the routes it handles.
- Ctrl+T finds Strapi names: UIDs, services, controllers and their actions, policies, middlewares, routes.
- The status bar shows the Strapi version and the problem count; Reveal in DevKit Panel opens the current schema or controller there, and the open views follow the editor.
- Pro: refactor from the panel — rename a content-type, component, field or controller action, retarget a relation, move a content-type into a plugin, scaffold a plugin — with the caveats first, then VS Code’s Refactor Preview.
- Pro: the relations diagram — an MCD (entities with their fields, straight links with 1 / n cardinalities) or a graph; components, plugin types, media and the fields Strapi adds to every content-type on demand; export as Markdown (Mermaid), PNG or SVG.
New: Config Sync
- For projects using strapi-plugin-config-sync, read from the files, without starting
Strapi or reading the database: the plugin’s options and where each comes from (a
short
excludedConfigis merged index by index with the plugin’s defaults, as Strapi does — DevKit says which defaults it no longer excludes), and the files of the sync directory with readable names and their status. A file config-sync can’t read is an error in it. - A Config Sync view in the panel, a content-manager view entry per type in
Model, the roles of
config/syncthat allow a route in Routes, the files config-sync can’t read in Health. - MCP:
config_sync_status;project_infosays when a project uses config-sync;list_routeswithpipeline: trueadds the synced roles on the auth step.
New, Pro: Config Sync through your Strapi
- The real diff between
config/syncand the database, from config-sync itself: DevKit loads your project’s own Strapi the way the plugin’s CLI does (no server, no port, no admin account) and asks the plugin — whatever the versions of Strapi and config-sync. A Database section in the Config Sync view; a click opens VS Code’s diff editor, the database on the left. - Export and import entry by entry, with a confirmation saying what each one does (updated, created, deleted); after an import, the entries still different are exported back in the database’s own form, so the diff converges.
- MCP:
config_sync_diff,config_sync_export,config_sync_import, and the loop in the server’s instructions: change the code, diff, export what the change caused, commit it with the code. - Refactors follow: renaming or moving a content-type, a component, a controller or
one of its actions, or renaming a field, also updates the
config/syncfiles it concerns — the roles’ permissions, the admin roles, the content-manager views — in the same plan as the code, and the plan says which. Off per project withstrapiDevkit.configSync.followRefactors(aconfig/syncexported from another environment): plans then leave those files and say which still use the old names. An agent chooses per call withconfigSync. Nothing is imported without you. - In VS Code, only in a trusted workspace, after your agreement; for an agent, through your MCP client’s tool approval. Only on a local development database. Refused before Strapi’s bootstrap (where it writes to the database): a missing SQLite file, a Strapi 4 database under Strapi 5 code, an import in production, an export from an empty database.
- Checked against the plugin itself on Strapi 5.54 (JavaScript and TypeScript, on SQLite and PostgreSQL) and 4.26 (JavaScript, on SQLite).
Routes: what Strapi really does with names
- Policy and middleware names are checked the way Strapi looks them up (read in
Strapi 4.13 and 5.48): a route’s policy by its exact name, then in the route’s own
API or plugin — never in
global::— and a middleware by its full name only. A short name DevKit used to accept now gets “Strapi won’t find … at startup”, with a quick fix to the full name. - Routes keep their
auth(public, custom scope or strategies), percreateCoreRouteraction too (config.find.auth: falsewas lost), and policies or middlewares declared as functions. - The MCP
list_routestool returns the same table, withfullPath,public,auth, the declaration location and plugin routes (admin routes withadmin: true);method,path(a concrete URL too) andhandlerfilters; andpipeline: trueto explain a route. - New MCP tool
get_model_diagram(Pro): the data model as a MermaiderDiagram.
MCP: always answers on the current files
- The MCP server re-indexes what changed on disk before answering (edits made
outside the session, a
git checkout, annpm install), sorefreshis no longer needed to avoid stale answers.server_infoandlist_projectssay how current each project’s index is;refresh({ cold: true })reads everything again. - Refactors that change a UID Strapi also stores in the database (a content-type, a component, a controller or one of its actions) now warn about it: permissions, media links and components point at the old UID until those rows are migrated. The plans edit code and files only.
- New MCP tool
project_info: one project in full — versions, TypeScript or JavaScript, package manager, API prefix, counts, every plugin with whether its refs are verified and, when not, why — plus health (broken refs, refs into unverified plugins) and freshness.
Fixes
-
Renaming a content-type (Pro) left its
info.singularNameas it was: Strapi then refused to start (“The key of the content-type should be the same as its singularName”). The rename now updates it;pluralNameand the table stay, so the REST routes and the data don’t move. -
Renaming a controller action (Pro) failed when a service shared its ref — the standard layout (
createCoreServicenext tocreateCoreController). -
A short route handler pushed into a plugin from
src/extensionswas reported “malformed”. -
Local plugins scaffolded with the Strapi 5 plugin SDK (
server/src) were invisible, so valid refs into them were reported unknown. -
Content-types a local plugin declares in code (
content-types/index.ts) are read. -
A local plugin with its own
package.jsonwas treated as a separate project. -
Route files that export a variable (
export default customRoutes) were missing from the route list. -
Strapi 4 i18n’s
POST …/localizationsroutes are listed.
An urgent fix for standalone MCP users, plus a way to tell what you’re running.
If you run the MCP server with npx, update your config
npxcaches what it downloads and keeps serving that copy — for months, with no version pin involved. A real cache inspected here still held 0.1.0 from launch day, seven weeks and four releases later. Anyone who wired up the standalone server early has been running the first release ever published.- Every documented invocation now uses
devkit-for-strapi-mcp@latest, which resolves the tag from the registry on each start. Verified against a stale cache: the bare name kept serving 0.1.0,@latestreturned the current version. - Advice that led into the trap is gone — the docs used to suggest pinning an exact version to match the installed extension, which is exactly what freezes you out of fixes.
- Already set up? Ask your agent for
server_info(below) to see the version actually running, and clear the npx cache if it’s behind:rm -rf ~/.npm/_npx, orrmdir /s /q "%LOCALAPPDATA%\npm-cache\_npx"on Windows.
New: server_info
- Reports the running version, the licence tier, how many tools are genuinely callable, and the indexed roots. MCP puts the version in the initialize handshake, which clients consume and don’t always display — so neither you nor your agent could answer “which version is this?”, the one thing a bug report needs. Now a tool call answers it.
- It also tells an agent which tools will really run: without a licence the twelve Pro tools are still advertised and only return an upsell when called.
Clearer: this is not Strapi’s MCP server
- Strapi’s own MCP server reached GA in 5.49 and does something different: it acts
on your content (CRUD over entries in a running instance, admin token,
Strapi ≥ 5.47). DevKit acts on your codebase — it reads
schema.jsonand source files, needs no server, token or network, works on v4 as well as v5, and keeps working when the app doesn’t. The docs now say so plainly, including a comparison table. Use Strapi’s MCP to work with your content; use DevKit to work on your code.
Housekeeping
- Bug reports and questions now point at GitHub issues from the Marketplace Q&A tab too, so nothing lands somewhere unwatched.
- Listed under the AI category.
Accuracy and plumbing — no new features. Both fixes were found by running the engine against real public Strapi v5 projects rather than the test fixtures.
Corrections
- The v4-in-v5 warning claimed
strapi.entityService“was removed in Strapi v5”. It is deprecated, not removed — it still runs. Telling someone their working code was removed is the kind of false positive “guarantee, don’t guess” exists to prevent; the wording now matches Strapi’s own docs. - The MCP server announced version
0.1.0in its handshake regardless of what was actually running — it was hard-coded and never bumped. It now reports the real version, injected at build time frompackage.json, so a client can display it and a bug report can name it.
Docs
- Both READMEs now show how to use the bundled MCP server — agent mode, example prompts, and a copy-paste config for Claude Code / Claude Desktop. It was described but never explained, so installers had no path to it.
- Bug reports and questions now go to GitHub issues (the repository is public); anything about a Pro licence stays on email.
- Corrected the documented MCP tool count (30 = 28 active + 2 deprecated
aliases), documented the previously missing
refreshtool, and warned that the server does not watch the filesystem — after agit pullor branch switch the index is stale untilrefreshruns.
Bug-fix release — accuracy hardening (from two internal audits). Versions are now
aligned with the devkit-for-strapi-mcp package (0.1.1/0.1.2 skipped). No new features;
every change makes an existing result more correct.
Fewer false positives (the “guarantee, never guess” rule)
- Core framework namespaces (
admin::,strapi::), component UIDs used in content-type contexts, schema-only content-types, nested controllers/services, andthis.method()self-calls are no longer wrongly flagged or mis-rewritten. - The incremental index no longer leaves stale or phantom references after an edit (5 divergences that could surface false “unknown reference” warnings).
- Multi-project resolution no longer silently falls back to the only project when an explicit selector doesn’t match.
Coverage & speed
- Now indexes
src/extensions/**content-type overrides. - Faster incremental re-indexing after file changes.
First public release.
In your editor — free
- Autocomplete of real Strapi references (UIDs, services, controllers, policies, middlewares, components) inside magic-string call sites.
- Diagnostics for invalid/unknown references with quick fixes, plus warnings
for Strapi v4 patterns (
entityService) used in a v5 project. - Go-to-definition that resolves the correct target by context (service, controller, schema, route handler → action method, plugin chains, …).
- Find All References + CodeLens — a “N references (Strapi)” lens on every
definition, including per-method (counts
strapi.service('x').method()calls and route handlers the TypeScript server can’t resolve). - Hover describing the resolved entity, plus signatures for service methods and docs for built-in Strapi API methods.
For your AI agent (MCP) — free
- A bundled MCP server, auto-registered in VS Code, Cursor, Windsurf and Antigravity, exposing the project’s real values (read & analyse tools) so agents stop hallucinating magic strings.
Pro
- Rename (F2) — renames an entity or a method and propagates to every call-site (and route-handler action) plus the underlying file/folder (content-types also rename their coupled service/controller).
- MCP refactors as reviewable plans (
plan_*) plus a verified, transactional apply. Unlock both surfaces with one licence key.
Multi-project discovery by content; Strapi v4 and v5 support; JavaScript and TypeScript parity.