Skip to content

docs: update MCP server docs for 6.7.15 - #2544

Merged
Su (sushmangupta) merged 7 commits into
mainfrom
docs/mcp-server-updates
Oct 14, 2026
Merged

Su (sushmangupta) merged 7 commits into
mainfrom
docs/mcp-server-updates

Conversation

@BrocksiNet

@BrocksiNet Björn Meyer (BrocksiNet) commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Brings the MCP server docs up to date with the MCP changes released in Shopware 6.7.15.0. New behaviour is marked with the version it ships in. The 6.7.16.0 changes are in a separate PR, stacked on this one, because 6.7.16.0 is not released yet.

  • symfony/mcp-bundle 0.13 / mcp/sdk 0.8: both servers are declared under the bundle's servers key. The page size is now the shopware.mcp.pagination_limit parameter. Each server has its own session store, so every client initializes once more after the update, and the Redis setup is rewritten as mcp.servers.<name>.session config, including how to share the session registry. debug:mcp lists tools only (use --native for prompts and resources, --scope per server). A new "Upgrading to 6.7.15.0" section covers the renamed service IDs, the per-server handler tags and the removed scan_dirs. The protocol version is still pinned to the session-based handshake era.
  • Connect-time toolset selection: ?toolsets=order,media / ?toolsets=all on /api/_mcp and /store-api/_mcp, for clients like claude.ai that read tools/list only once.
  • OAuth errors on /api/_mcp: now return HTTP 401 / -32001 instead of 500 / -32000.

Fixes to existing text

  • Administration-login tokens use the logged-in user's allowlist; they are not unrestricted (checked against McpAllowlistProvider in v6.7.15.0).
  • The allowlist rejection messages now match the code.
  • The allowlist table lists bearer tokens from the authorization code (PKCE) grant, which use the approving user's allowlist.
  • The plugin guide documents parameters with @param docblocks, which become the inputSchema descriptions, and says plugin tools need no namespace or directory configuration. The shopware-entity-aggregate reference says a single aggregation object is rejected.
  • The architecture text makes clear the Store API server has existed since 6.7.11.0; only its registration changed in 6.7.15.0.

Related links

Checklist

  • I reviewed affected links, code samples, and cross-references, including PageRef references where relevant.
  • I added or updated redirects in .gitbook.yaml if pages were moved, renamed, or deleted. (No pages moved.)
  • I updated .wordlist.txt (and sorted it) if spellcheck flags new legitimate terms.
  • Any required dependent changes in downstream modules have already been merged and published. (All in 6.7.15.0.)
  • This pull request is ready for review.

Notes

  • Markdown lint (rumdl) and the wordlist sort check pass locally. Spellcheck and link check run in CI.
  • Checked on a trunk lane with mcp-bundle 0.13 and mcp/sdk 0.8.1: the per-server session block in config/packages/mcp.yaml merges with the config Shopware ships, both stores become Psr16SessionStore with separate prefixes, and sessions survive losing the local cache directory. Not tested on a running shop: whether overriding shopware.mcp.pagination_limit in config/services.yaml takes effect. That follows from the core source.

Cover symfony/mcp-bundle 0.13, connect-time toolset selection, 401 on
OAuth errors, the fail-closed MCP allowlist, and entity tool parameter
contracts.
@shopware-dev-docs-connector

shopware-dev-docs-connector Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Developer Docs healthcheck

Status: Completed with success.
Repository: shopware/docs
Commit: aedd783
Preview: https://developer-documentation-4czmz4uvl-shopware-frontends.vercel.app
Workflow run: #5620

Checked against a trunk lane on mcp-bundle 0.13 / mcp/sdk 0.8.1: the
per-server `cache` recipe puts both stores on Psr16SessionStore with
separate prefixes, sessions survive losing the local cache dir, and a
removed Redis key is refused with "Session not found or has expired."

A recipe that is not picked up leaves the file store running silently,
so add the debug:container check that tells the two apart.

The active session registry that app-driven tools/list_changed
broadcasts fan out to lives in cache.system, which is per server.
Document pointing both registries at the shared pool, and the lock
store they depend on.
The registry is written without a TTL and falls back to the pool's
default_lifetime. It is rewritten on every MCP request, so it outlives
its sessions unless default_lifetime is shorter than session.ttl.
The 6.7.16.0 changes (unset allowlist grants nothing, entity tool
parameter descriptions and criteria errors) move to their own PR,
because 6.7.16.0 is not released yet.
@BrocksiNet Björn Meyer (BrocksiNet) changed the title docs: update MCP server docs for 6.7.15 and 6.7.16 docs: update MCP server docs for 6.7.15 Oct 7, 2026
@BrocksiNet
Björn Meyer (BrocksiNet) marked this pull request as ready for review October 7, 2026 07:24
Copilot AI balanced review requested due to automatic review settings October 7, 2026 07:24
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T07:26:39.413437Z 6b76d2b Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6b76d2baea

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".

Comment thread products/tools/mcp-server/store-api.md

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Session migration and service-ID upgrade guidance contain inaccuracies that could mislead users upgrading to 6.7.15.0.

Review effort: Balanced
Findings: 5 Low severity

Open (5)
What changed in this PR

Updates MCP documentation for Shopware 6.7.15.0.

Changes:

  • Documents bundle 0.13 configuration, sessions, CLI, and upgrade steps
  • Adds connect-time toolset selection and OAuth 401 behavior
  • Corrects allowlist and Store API guidance
File Description
.wordlist.txt Adds new terminology
guides/​plugins/​plugins/​mcp-server.md Updates plugin registration guidance
products/​tools/​mcp-server/​configuration.md Documents configuration and migration
products/​tools/​mcp-server/​getting-started.md Adds connection-time toolsets and OAuth behavior
products/​tools/​mcp-server/​index.md Updates version summary
products/​tools/​mcp-server/​intro.md Revises architecture and protocol coverage
products/​tools/​mcp-server/​store-api.md Updates Store API sessions and CLI guidance
products/​tools/​mcp-server/​tools-reference.md Clarifies toolset and aggregation behavior
products/​tools/​mcp-server/​troubleshooting.md Adds new troubleshooting cases

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread guides/plugins/plugins/mcp-server.md
Comment thread products/tools/mcp-server/configuration.md Outdated
Comment thread products/tools/mcp-server/configuration.md Outdated
Comment thread products/tools/mcp-server/troubleshooting.md Outdated
Comment thread products/tools/mcp-server/troubleshooting.md Outdated
Both endpoints lose their sessions on the update, the Store API services
have direct replacements, the Store API session text no longer claims a
shared store, the tool example documents its parameters, and a missing
bearer token is told apart from an expired one.
@sushmangupta
Su (sushmangupta) merged commit 02e91fb into main Oct 14, 2026
9 checks passed
@sushmangupta
Su (sushmangupta) deleted the docs/mcp-server-updates branch October 14, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants