Set Drupal's container on the MCP server
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3566245. -->
Reported by: [mglaman](https://www.drupal.org/user/2416470)
Related to !8
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The MCP server accepts PSR-11 containers, which Drupal has! We just need to call <code>->setContainer($this->container)</code> with the injected container.</p>
<p>This allows specifying class names for handlers without closures, assuming they're auto-wired.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue