Repository navigation
Description
Context
The MCP Skills extension (io.modelcontextprotocol/skills, beta) lets a server publish skills, including their scripts, next to its tools. Clients discover them on connect, with no folders to copy and no plugin to install (announcement, spec).
The server only distributes the files. Any bundled script runs on the client, and the spec requires explicit per-skill user approval before code that came over MCP runs ("No implicit local execution").
Today @dotcms/mcp-server (core-web/apps/mcp-server) serves only tools (xmcp.config.ts sets prompts: false, resources: false). Users get the skill by copying .claude/skills/dot-ui-vtl-migration by hand (docs) or through the agent-toolkit plugin (dotCMS/agent-toolkit#1).
Goal
Prove that configuring the dotCMS MCP server is enough for a client to get the VTL migration skill and use it. Keep the result as a draft.
Approach
- Upgrade
xmcpfrom 0.6.4 to 1.10.0 or later, the first version that servessrc/skills/through the extension. - Add
core-web/apps/mcp-server/src/skills/dot-ui-vtl-migration/using the MCP-driven content from agent-toolkit:SKILL.md,reference/, andscripts/vtl_migration.py. All instance I/O goes through the MCP tools. The script needs onlypython3and the standard library, with nouv, token or network access. - Record in the PR the decision on the source of truth: build-time copy or vendored copy with a drift check.
Out of scope
- Porting
vtl_migration.pyto a server-side tool, so that no client needs Python (follow-up issue). - Other skills, Tasks, Elicitation and File Uploads.
- Changes to the migration logic, or removing the skill from
.claude/or agent-toolkit. - Publishing to npm.
Acceptance Criteria
-
xmcpis at 1.10.0 or later.pnpm nx build mcp-server,pnpm nx lint mcp-serverandpnpm nx test mcp-serverpass. -
src/smoke/server-boot.spec.tsstill lists exactly the 7 current tools. - The built server declares
capabilities.extensions["io.modelcontextprotocol/skills"]andresources. -
skills/listreturnsskill://dot-ui-vtl-migration/SKILL.md, and its manifest includesscripts/vtl_migration.py. The smoke test asserts this. -
resources/readon every manifest URI returns bytes whose SHA-256 and size match the manifest. The smoke test asserts this. - No served file references
uv,DOTCMS_TOKEN,BASE_URL, REST basic auth or core-local paths (checked by a test or lint). - Manual check, single field, in Claude Code connected to the local build and a dotCMS instance: the skill shows up as coming from the server, and a pasted legacy field comes back as inline
#if( $structures.isNewEditModeEnabled() )/#elseoutput with no script run. - Manual check, whole instance, in Claude Code: a dry run asks for approval before running
vtl_migration.py, runs it withpython3, and does every instance read through the MCP tools. The PR records the result and which steps failed, if any.
How to verify
Run the smoke test on the built bundle (stdio), then do both manual runs and attach their transcripts to the PR.
Risks / blast radius
- A major xmcp upgrade (0.x to 1.x) can change tool discovery, the generated
stdio.jsentry point, the rspackbundlerhook and its aliases, andscripts/check-tools-dir.mjs. That affects everyone running@dotcms/mcp-server. - The whole-instance flow only works in clients that can run code and have
python3. Clients without code execution, such as Claude Desktop or ChatGPT, get the single-field mode only. - The MCP half of the agent-toolkit flow has never run against a live instance (stated in Add the dot-ui-vtl-migration skill, driven by the dotCMS MCP agent-toolkit#1).
- A third copy of the skill would drift unless the source-of-truth decision prevents it.
Related
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNew
Activity
github-actions commentedon Nov 27, 2026
PRs linked to this issue