Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Sulu Mcp Server Bundle Laravel Package

alengo/sulu-mcp-server-bundle

Read-only Sulu bundle exposing local template XML via authenticated admin API endpoints for MCP servers. Lists templates by type and returns raw XML. Secured by Sulu admin session plus required Bearer token; disabled if token is empty.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Headless CMS Strategy: Enables Sulu CMS to act as a content repository for decoupled frontends (React, Vue, mobile apps, or static site generators). Aligns with roadmaps for progressive decoupling and composable architectures, where content is managed in Sulu while presentation is handled elsewhere.
  • Build vs. Buy Decision: Eliminates the need to build a custom read-only API for template synchronization. Provides a secure, pre-validated solution with authentication, routing, and XML/JSON conversion, reducing development time and technical debt.
  • Multi-Channel Publishing: Supports omnichannel content delivery by exposing Sulu templates to mobile apps, IoT dashboards, or third-party systems via MCP. Critical for enterprises targeting digital experiences across platforms.
  • Legacy System Integration: Bridges modern Sulu CMS with legacy PHP monoliths or non-Symfony systems without direct database access. Useful for gradual modernization of tech stacks.
  • Developer Tooling: Powers VS Code extensions, CLI tools, or local preview servers with real-time template access, improving developer productivity in Sulu-based projects.
  • Security-Compliant APIs: Meets enterprise security requirements with two-factor authentication (admin session + bearer token), ensuring templates are only accessible to authorized MCP servers.

When to Consider This Package

Adopt this package if:

  • You’re using Sulu CMS (Symfony-based) and need to expose templates to non-PHP systems (e.g., JavaScript apps, mobile, or IoT).
  • Your architecture requires decoupling Sulu’s content management from frontend rendering (headless CMS, static sites, or microservices).
  • You prioritize security and need two-factor authentication (admin session + bearer token) for API access.
  • Your frontend or middleware supports MCP (Model Context Protocol) for template synchronization.
  • You’re on Symfony 7.x + PHP 8.2+ and want to avoid reinventing a secure API for template exposure.
  • You need a low-maintenance solution with minimal configuration (defaults work out-of-the-box).

Look elsewhere if:

  • You require write access to templates (this is read-only).
  • Your stack doesn’t use Sulu CMS or Symfony (e.g., WordPress, Drupal, or custom PHP).
  • You need real-time updates (this is pull-based; consider WebSockets, GraphQL subscriptions, or Sulu’s native WebSocket API).
  • Your authentication model differs (e.g., OAuth2, API keys only, or no admin session requirement).
  • You need custom template transformations (e.g., JSON Schema validation, dynamic field mapping) beyond raw XML/JSON exposure.
  • Your template structure is non-standard (e.g., stored in a database or cloud storage, not filesystem).

How to Pitch It (Stakeholders)

For Executives: "This package enables us to decouple Sulu’s content management from our frontend, unlocking faster development for mobile apps, static sites, and third-party integrations. It’s a secure, pre-built API that eliminates the need for custom development—saving 6–12 weeks of engineering time and reducing technical debt. With two-factor authentication, we can safely expose templates to external systems without compromising security. This aligns with our headless CMS roadmap and supports composable architectures, where content and presentation are independently scalable. Think of it as a turnkey solution for modernizing our digital experiences."

For Engineering (Technical Lead): *"The SuluMcpServerBundle gives us a low-effort, high-security way to expose Sulu templates via MCP. Here’s why it’s a win:

  • Zero custom code: Install, configure a token, and route /admin/api/mcp/templates/*—done.
  • Defense-in-depth security: Admin session plus bearer token (no accidental exposure).
  • Flexible template types: Supports pages, articles, blocks, snippets, and properties out of the box.
  • Symfony-native: Integrates seamlessly with Sulu’s admin API and firewall.
  • Future-proof: Extendable for custom template types via config.

Trade-offs:

  • Read-only (no writes to templates).
  • Requires MCP-compatible clients (e.g., React app, mobile backend).
  • Symfony 7.x + PHP 8.2 dependency (no polyfill support).

Next steps:

  1. Spike: Test integration with our MCP client (e.g., React app or mobile backend) in a staging environment.
  2. Security review: Validate token rotation and auth flow with the security team.
  3. Performance: Benchmark API latency under expected load (e.g., 100 req/sec).
  4. Documentation: Update the internal wiki with setup steps and MCP client examples.

Risk: Minimal—MIT-licensed, but low-starred (early-stage adoption). We can mitigate this by:

  • Adding monitoring (e.g., track API usage in Sentry).
  • Forking if needed to add features (e.g., JSON response format).
  • Fallback plan: Build a minimal custom API if adoption stalls (but this would take 2–3 weeks)."*

For Product Managers: *"This package helps us deliver content faster to new channels (mobile, IoT, static sites) without sacrificing security. Key benefits for the product:

  • Faster time-to-market: No need to wait for custom API development.
  • Consistent templates: Ensures all channels use the same Sulu templates, reducing errors.
  • Scalable architecture: Supports future-proofing as we add more decoupled frontends.
  • Security compliance: Meets enterprise requirements for authenticated API access.

Questions to explore:

  • Which channels (mobile, static site, etc.) will prioritize this first?
  • Should we enforce template versioning (e.g., via API versioning) for backward compatibility?
  • How will we measure success (e.g., reduced build times, fewer template errors)?"*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon
itsemon245/lamet
baks-dev/dashboard
amoifr/pickle-panther-bundle
make-dev/orca
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle